From c35da8e495e9f2697a252e8e828e6d7760a8a2db Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 12 Oct 2008 13:51:48 -0700 Subject: X86: Actually use the extra vector bits we get from ICW2. --- src/dev/x86/i8259.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dev/x86/i8259.cc') diff --git a/src/dev/x86/i8259.cc b/src/dev/x86/i8259.cc index dbc8ab768..a67baa8e2 100644 --- a/src/dev/x86/i8259.cc +++ b/src/dev/x86/i8259.cc @@ -128,8 +128,9 @@ X86ISA::I8259::write(PacketPtr pkt) break; case 0x1: DPRINTF(I8259, "Received initialization command word 2.\n"); + vectorOffset = val & ~mask(3); DPRINTF(I8259, "Responsible for vectors %#x-%#x.\n", - val & ~mask(3), val | mask(3)); + vectorOffset, vectorOffset | mask(3)); if (cascadeMode) { initControlWord++; } else { -- cgit v1.2.3