diff options
Diffstat (limited to 'kernel/drivers/interrupts.c')
-rw-r--r-- | kernel/drivers/interrupts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c index 7a57a91..92971e4 100644 --- a/kernel/drivers/interrupts.c +++ b/kernel/drivers/interrupts.c @@ -15,8 +15,7 @@ * IDT */ -// TODO: Why does PROTECTED on idt only work when debug mode is disabled? File size? -static struct idt_entry idt[256] = { 0 }; +PROTECTED static struct idt_entry idt[256] = { 0 }; PROTECTED static struct idt_ptr idt_ptr = { 0 }; CLEAR void idt_set_gate(u8 num, u32 base, u16 sel, u8 flags) |