From 8761057c7884103a8614ae174fa7e63c9291ba3d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 03:47:12 -0700 Subject: [PATCH] X86: Keep track of the pioAddr for the local APIC. --- src/arch/x86/interrupts.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc index 7f47b39c1..a0ce30ad7 100644 --- a/src/arch/x86/interrupts.cc +++ b/src/arch/x86/interrupts.cc @@ -338,8 +338,10 @@ X86ISA::Interrupts::addressRanges(AddrRangeList &range_list) { uint8_t id = (regs[APIC_ID] >> 24); range_list.clear(); - range_list.push_back(RangeEx(x86LocalAPICAddress(id, 0), - x86LocalAPICAddress(id, 0) + PageBytes)); + Range range = RangeEx(x86LocalAPICAddress(id, 0), + x86LocalAPICAddress(id, 0) + PageBytes); + range_list.push_back(range); + pioAddr = range.start; } -- 2.30.2