summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/trap.c b/trap.c
index b2b2ebb..6651f8e 100644
--- a/trap.c
+++ b/trap.c
@@ -59,6 +59,9 @@ trap(struct trapframe *tf)
ideintr();
lapiceoi();
break;
+ case T_IRQ0 + IRQ_IDE+1:
+ // Bochs generates spurious IDE1 interrupts.
+ break;
case T_IRQ0 + IRQ_KBD:
kbdintr();
lapiceoi();