aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/idt.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/idt.h')
-rw-r--r--kernel/include/idt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/include/idt.h b/kernel/include/idt.h
index b697dc3..9415c8e 100644
--- a/kernel/include/idt.h
+++ b/kernel/include/idt.h
@@ -58,6 +58,8 @@
#define EX_INTEL_RESERVED_13 30 // No
#define EX_INTEL_RESERVED_14 31 // No
+#define EFLAGS_IF (0x1 << 9)
+
struct registers {
uint32_t ds; // Data segment selector
uint32_t edi, esi, ebp, useless_esp, ebx, edx, ecx, eax; // Pushed by pusha.