Made IRQ handlers volatile for SMP support

This commit is contained in:
notsomeidiot123 2024-11-06 15:33:40 -05:00
parent 5ce439a615
commit 8ae88cf3e7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ typedef struct idt_entry{
uint16_t offset_high; uint16_t offset_high;
}__attribute__((packed)) idt_entry_t; }__attribute__((packed)) idt_entry_t;
cpu_registers_t *(*interrupt_handlers[16])(cpu_registers_t *regs) = {0}; cpu_registers_t *(*volatile interrupt_handlers[16])(cpu_registers_t *regs) = {0};
idt_t idt_desc; idt_t idt_desc;
idt_entry_t idt_table[256]; idt_entry_t idt_table[256];