From: Gabe Black Date: Mon, 13 Oct 2008 06:25:48 +0000 (-0700) Subject: X86: Make non-specific EOI commands work. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb5bb434a9e8471e2d9e7b2a9fa7f61a2a10b6b2;p=gem5.git X86: Make non-specific EOI commands work. --- diff --git a/src/dev/x86/i8259.cc b/src/dev/x86/i8259.cc index 3b0053ee9..dfaea571b 100644 --- a/src/dev/x86/i8259.cc +++ b/src/dev/x86/i8259.cc @@ -101,7 +101,12 @@ X86ISA::I8259::write(PacketPtr pkt) "Subcommand: Rotate in auto-EOI mode (clear).\n"); break; 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; case 0x2: DPRINTF(I8259, "Subcommand: No operation.\n");