diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-10 15:56:13 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-10 15:56:13 +0100 |
commit | 5642d9588ea466e0986f27cf5c86aa9a3bc105e5 (patch) | |
tree | 21fded4251b555ca1cc50d80daa4066e4fbded6f | |
parent | abef7b4dbf56ae2d4d14553dbdcc75a54ac6061e (diff) | |
download | cuddles-5642d9588ea466e0986f27cf5c86aa9a3bc105e5.tar.xz |
call hlt in halt()
-rw-r--r-- | stage3/halt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage3/halt.c b/stage3/halt.c index 39bc3c9..9e0ecce 100644 --- a/stage3/halt.c +++ b/stage3/halt.c @@ -4,7 +4,7 @@ void halt() { for (;;) - ; + asm volatile("hlt"); } void panic(char *msg) |