summaryrefslogtreecommitdiff
path: root/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm')
-rw-r--r--include/asm/interrupt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm/interrupt.h b/include/asm/interrupt.h
index 1187fef..c20751d 100644
--- a/include/asm/interrupt.h
+++ b/include/asm/interrupt.h
@@ -1,5 +1,11 @@
#include <stdint.h>
+#define cli() \
+ __asm__ volatile ("cli")
+
+#define sti() \
+ __asm__ volatile ("sti")
+
#define irq_enable(n) \
__asm__ volatile ( \
"inb $0xA1, %%al\n" \