From 6ce4db70dc1f35c6c4cef698541249eab54419fc Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 13 Sep 2025 23:34:42 -0400 Subject: os/amd64: Add md_halt() to halt core Signed-off-by: Ian Moffett --- src/sys/include/arch/amd64/mdcpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/include/arch/amd64/mdcpu.h') diff --git a/src/sys/include/arch/amd64/mdcpu.h b/src/sys/include/arch/amd64/mdcpu.h index a8e1641..c38aae2 100644 --- a/src/sys/include/arch/amd64/mdcpu.h +++ b/src/sys/include/arch/amd64/mdcpu.h @@ -36,6 +36,7 @@ #define md_spinwait() __ASMV("pause") #define md_intoff() __ASMV("cli") #define md_inton() __ASMV("sti") +#define md_halt() __ASMV("hlt") /* * Represents the machine dependent information -- cgit v1.2.3