From ef4cc242dc8ad04320d19af22931fcbdbf670c13 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 14 Feb 2015 10:55:22 -0500 Subject: Stuff --- kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/irq.c') diff --git a/kernel/irq.c b/kernel/irq.c index c6652e9..c6dbf4c 100644 --- a/kernel/irq.c +++ b/kernel/irq.c @@ -43,6 +43,7 @@ void irq_init(void) idt_set_gate(45, (uint32_t)_irq13, 0x08, 0x8E); idt_set_gate(46, (uint32_t)_irq14, 0x08, 0x8E); idt_set_gate(47, (uint32_t)_irq15, 0x08, 0x8E); + idt_set_gate(128,(uint32_t)_int0x80, 0x08, 0x8E); } void irq_handler(struct regs_t *regs) @@ -57,7 +58,6 @@ void irq_handler(struct regs_t *regs) } else { - printf("WARNING: Unhandled IRQ: 0x%x!\n", regs->int_no); } /* If the IDT entry that was invoked was greater than 40 -- cgit v1.1