aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/idt.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-24 15:08:01 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-24 15:08:01 +0100
commit7e908dabaaf6c67ef5000406a0bb3a6a29beca01 (patch)
treeb0516cc4771ca3a8e202327d2864804afefe4cfc /src/kernel/core/idt.c
parent91c5969cdddf2241418082998e76bdbb836ed03e (diff)
downloadkogata-7e908dabaaf6c67ef5000406a0bb3a6a29beca01.tar.gz
kogata-7e908dabaaf6c67ef5000406a0bb3a6a29beca01.zip
Add PCI IDE driver (only PIO mode, no DMA yet.)
Diffstat (limited to 'src/kernel/core/idt.c')
-rw-r--r--src/kernel/core/idt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/core/idt.c b/src/kernel/core/idt.c
index abab3cc..d34d03f 100644
--- a/src/kernel/core/idt.c
+++ b/src/kernel/core/idt.c
@@ -112,6 +112,7 @@ void idt_irq_handler(registers_t *regs) {
}
outb(0x20, 0x20);
+ if (regs->err_code != 0) dbg_printf("IRQ%d\n", regs->err_code);
if (irq_handlers[regs->err_code] != 0) {
irq_handlers[regs->err_code](regs);
}