diff options
Diffstat (limited to 'src/kernel/arch/i386/interrupts')
-rw-r--r-- | src/kernel/arch/i386/interrupts/irq.c | 5 | ||||
-rw-r--r-- | src/kernel/arch/i386/interrupts/irq.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/kernel/arch/i386/interrupts/irq.c b/src/kernel/arch/i386/interrupts/irq.c index 7b8c166..5918169 100644 --- a/src/kernel/arch/i386/interrupts/irq.c +++ b/src/kernel/arch/i386/interrupts/irq.c @@ -31,8 +31,3 @@ void irq_eoi(uint8_t line) { if (line >= 8) port_out8(PIC2, 0x20); } - -void irq_interrupt_flag(bool flag) { - if (flag) asm("sti" : : : "memory"); - else asm("cli" : : : "memory"); -} diff --git a/src/kernel/arch/i386/interrupts/irq.h b/src/kernel/arch/i386/interrupts/irq.h index 73d4af2..f523154 100644 --- a/src/kernel/arch/i386/interrupts/irq.h +++ b/src/kernel/arch/i386/interrupts/irq.h @@ -4,5 +4,3 @@ void irq_init(void); void irq_eoi(uint8_t line); - -void irq_interrupt_flag(bool flag); |