From 70eb5a462523994047a439cc4f674a1482f70acd Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 10 Dec 2022 06:05:48 +0200 Subject: [PATCH] "hlt" causes GPF --- libc/src/Runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/Runtime.c b/libc/src/Runtime.c index 3352f28..325878e 100644 --- a/libc/src/Runtime.c +++ b/libc/src/Runtime.c @@ -14,5 +14,5 @@ void _exit(int Code) : "rcx", "r11", "memory"); while (1) - __asm__ __volatile__("hlt"); + ; }