diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-02-05 21:23:39 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-02-05 21:23:39 -0500 |
commit | eac894df0cf5bd39da606569c053eaa590257ac1 (patch) | |
tree | b7951c000a2bc3ea74694bc3110f5cf840b83b1a /src/pic.c | |
parent | 423a04d6c244e6126b1e49285181e59bd0c196fb (diff) | |
download | seabios-hppa-eac894df0cf5bd39da606569c053eaa590257ac1.zip seabios-hppa-eac894df0cf5bd39da606569c053eaa590257ac1.tar.gz seabios-hppa-eac894df0cf5bd39da606569c053eaa590257ac1.tar.bz2 |
Don't mask irqs in default hardware irq handler.
The latest PCI spec requires option roms to call default bios
handler. So, the bios must not mask irqs.
Also, make the default hw irq handlers less verbose.
Diffstat (limited to 'src/pic.c')
-rw-r--r-- | src/pic.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -34,20 +34,13 @@ pic_setup() void VISIBLE16 handle_hwpic1(struct bregs *regs) { - u8 isr = get_pic1_isr(); - dprintf(DEBUG_ISR_hwpic1, "Got noisy pic1 irq %x\n", isr); - isr &= ~PIC1_IRQ2; // don't ever mask the cascaded irq - if (isr) - mask_pic1(isr); + dprintf(DEBUG_ISR_hwpic1, "handle_hwpic1 irq=%x\n", get_pic1_isr()); eoi_pic1(); } void VISIBLE16 handle_hwpic2(struct bregs *regs) { - u8 isr = get_pic2_isr(); - dprintf(DEBUG_ISR_hwpic2, "Got noisy pic2 irq %x\n", isr); - if (isr) - mask_pic2(isr); + dprintf(DEBUG_ISR_hwpic2, "handle_hwpic2 irq=%x\n", get_pic2_isr()); eoi_pic2(); } |