X86: Make non-specific EOI commands work.

This commit is contained in:
Gabe Black 2008-10-12 23:25:48 -07:00
parent 8e664f3959
commit fb5bb434a9

View file

@ -101,7 +101,12 @@ X86ISA::I8259::write(PacketPtr pkt)
"Subcommand: Rotate in auto-EOI mode (clear).\n"); "Subcommand: Rotate in auto-EOI mode (clear).\n");
break; break;
case 0x1: case 0x1:
DPRINTF(I8259, "Subcommand: Nonspecific EOI.\n"); {
int line = findMsbSet(ISR);
DPRINTF(I8259, "Subcommand: Nonspecific EOI on line %d.\n",
line);
handleEOI(line);
}
break; break;
case 0x2: case 0x2:
DPRINTF(I8259, "Subcommand: No operation.\n"); DPRINTF(I8259, "Subcommand: No operation.\n");