summaryrefslogtreecommitdiff
path: root/kernel/cpu/idt.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-05-05 16:51:59 +0200
committerAnton Kling <anton@kling.gg>2024-05-05 16:51:59 +0200
commit850596bd3374de20dd7b71bac27d351a975f772a (patch)
tree47ec2edf0fbce6a0f7c140a3358f908c053b35dc /kernel/cpu/idt.h
parentc99d6608825c02783a58cddd930794cd0d35ab03 (diff)
Kernel: Clear more interrupts for mouse driver
I am not sure why the mouse requires interrupt line 2 to be cleared.
Diffstat (limited to 'kernel/cpu/idt.h')
-rw-r--r--kernel/cpu/idt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cpu/idt.h b/kernel/cpu/idt.h
index d866659..06e63ba 100644
--- a/kernel/cpu/idt.h
+++ b/kernel/cpu/idt.h
@@ -326,4 +326,6 @@ __attribute__((no_caller_saved_registers)) void EOI(unsigned char irq);
typedef void (*interrupt_handler)(reg_t *);
void install_handler(interrupt_handler handler_function, u16 type_attribute,
u8 entry);
+void irq_set_mask(u8 irq_line);
+void irq_clear_mask(u8 irq_line);
#endif