diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-02-14 10:55:22 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-02-14 10:55:22 -0500 |
| commit | ef4cc242dc8ad04320d19af22931fcbdbf670c13 (patch) | |
| tree | 50af19ff8e207870e2fdbad6d2a9ea669c901da8 /kernel/irq.c | |
| parent | ca1c4f58224404d4361e8ca16837e48c88c0ee38 (diff) | |
| download | kappa-ef4cc242dc8ad04320d19af22931fcbdbf670c13.zip kappa-ef4cc242dc8ad04320d19af22931fcbdbf670c13.tar.gz kappa-ef4cc242dc8ad04320d19af22931fcbdbf670c13.tar.bz2 kappa-ef4cc242dc8ad04320d19af22931fcbdbf670c13.tar.xz | |
Stuff
Diffstat (limited to 'kernel/irq.c')
| -rw-r--r-- | kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |