summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch/amd64/cdefs.h')
-rw-r--r--sys/include/arch/amd64/cdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/cdefs.h b/sys/include/arch/amd64/cdefs.h
index 256fd8b..bab0c89 100644
--- a/sys/include/arch/amd64/cdefs.h
+++ b/sys/include/arch/amd64/cdefs.h
@@ -41,5 +41,6 @@
#define md_pause() __ASMV("rep; nop") /* (F3 90) PAUSE */
#define md_intoff() __ASMV("cli") /* Clear interrupts */
#define md_inton() __ASMV("sti") /* Enable interrupts */
+#define md_hlt() __ASMV("hlt") /* Halt the processor */
#endif /* !_AMD64_CDEFS_H_ */