summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stage3/halt.c2
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)