From 5642d9588ea466e0986f27cf5c86aa9a3bc105e5 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Sun, 10 Dec 2023 15:56:13 +0100 Subject: call hlt in halt() --- stage3/halt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage3') 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) -- cgit v1.2.3