fix: irqs are handled correctly with regs->int_no (and the keyboard handler works)
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
#include "interrupts.h"
|
||||
#include "kprintf.h"
|
||||
|
||||
void clock_handler(struct registers *regs)
|
||||
{
|
||||
(void)regs;
|
||||
kprintf("test\n");
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
|
||||
void load_drivers(void)
|
||||
{
|
||||
register_interrupt_handler(1, keyboard_handler);
|
||||
register_interrupt_handler(0, clock_handler);
|
||||
register_interrupt_handler(1, keyboard_handler);
|
||||
}
|
||||
|
Reference in New Issue
Block a user