summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-13 23:34:42 -0400
committerIan Moffett <ian@osmora.org>2025-09-13 23:34:42 -0400
commit6ce4db70dc1f35c6c4cef698541249eab54419fc (patch)
tree54c6e7e98d0011ffe5df1e0c15daf876452057d0 /src/sys
parente0b7100f22587a923d91754ae4a81c24872b28f2 (diff)
os/amd64: Add md_halt() to halt core
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/include/arch/amd64/mdcpu.h1
1 files changed, 1 insertions, 0 deletions
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