Enable a default hw irq handler.
[seabios.git] / src / pic.c
index f895798a827dfc46c275752ddbe04160a9de6889..e350d280f8cce132fe33fffb027487a29a66ad89 100644 (file)
--- a/src/pic.c
+++ b/src/pic.c
@@ -49,7 +49,7 @@ handle_hwirq(struct bregs *regs)
         mask_pic2(isr2);
         eoi_pic2();
     } else {
-        if (! (isr1 & 0x2)) // don't ever mask the cascaded irq
+        if (! (isr1 & PIC1_IRQ2)) // don't ever mask the cascaded irq
             mask_pic1(isr1);
         eoi_pic1();
     }