aboutsummaryrefslogtreecommitdiff
path: root/src/core/asm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/asm.hpp')
-rw-r--r--src/core/asm.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/asm.hpp b/src/core/asm.hpp
index a1d7437..0ffc946 100644
--- a/src/core/asm.hpp
+++ b/src/core/asm.hpp
@@ -1,5 +1,9 @@
#pragma once
+#define cli() asm("cli")
+
+#define sti() asm("sti")
+
#define READ_MSR(reg,high,low) \
asm volatile( \
"mov %2, %%ecx;rdmsr \n\t" \