From fb5bb434a9e8471e2d9e7b2a9fa7f61a2a10b6b2 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 12 Oct 2008 23:25:48 -0700 Subject: X86: Make non-specific EOI commands work. --- src/dev/x86/i8259.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/dev') 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"); -- cgit v1.2.3