Bit8u read_pic1(ioport_t port) { port -= 0xa0; if(port) return((unsigned char)get_pic1_imr()); if(pic1_isr_requested) return((unsigned char)get_pic1_isr()); return((unsigned char)get_pic1_irr()); }
// Handler for otherwise unused hardware irqs. void VISIBLE16 handle_hwpic1(struct bregs *regs) { dprintf(DEBUG_ISR_hwpic1, "handle_hwpic1 irq=%x\n", get_pic1_isr()); eoi_pic1(); }