From 850596bd3374de20dd7b71bac27d351a975f772a Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sun, 5 May 2024 16:51:59 +0200 Subject: Kernel: Clear more interrupts for mouse driver I am not sure why the mouse requires interrupt line 2 to be cleared. --- kernel/cpu/idt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/cpu/idt.h') 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 -- cgit v1.2.3