summaryrefslogtreecommitdiff
path: root/src/sys/include/arch/amd64/mdcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/arch/amd64/mdcpu.h')
-rw-r--r--src/sys/include/arch/amd64/mdcpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/arch/amd64/mdcpu.h b/src/sys/include/arch/amd64/mdcpu.h
index 420bdee..a8e1641 100644
--- a/src/sys/include/arch/amd64/mdcpu.h
+++ b/src/sys/include/arch/amd64/mdcpu.h
@@ -34,6 +34,8 @@
#include <sys/cdefs.h>
#define md_spinwait() __ASMV("pause")
+#define md_intoff() __ASMV("cli")
+#define md_inton() __ASMV("sti")
/*
* Represents the machine dependent information