summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-12 23:25:48 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-12 23:25:48 -0700
commitfb5bb434a9e8471e2d9e7b2a9fa7f61a2a10b6b2 (patch)
treefa79d4b64f1f415307ffb85a229c93dc6c438ea3 /src/dev
parent8e664f395965b7ff5945d7665eda28cf5592a10a (diff)
downloadgem5-fb5bb434a9e8471e2d9e7b2a9fa7f61a2a10b6b2.tar.xz
X86: Make non-specific EOI commands work.
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/x86/i8259.cc7
1 files changed, 6 insertions, 1 deletions
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");