clear bss and move on
[com32] / src / intr.c
index 6feb03d..29ca70e 100644 (file)
@@ -90,6 +90,11 @@ void init_intr(void)
                interrupt(i, 0);
        }
 
+       /* mask all IRQs by default */
+       for(i=0; i<16; i++) {
+               mask_irq(i);
+       }
+
        /* by including intrtab.h here the series of INTR_ENTRY_* macros will be
         * expanded to a series of function prototypes for all interrupt entry
         * points and the corresponding calls to set_intr_entry to set up the IDT