From: Gabe Black Date: Sun, 19 Apr 2009 10:47:12 +0000 (-0700) Subject: X86: Keep track of the pioAddr for the local APIC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8761057c7884103a8614ae174fa7e63c9291ba3d;p=gem5.git X86: Keep track of the pioAddr for the local APIC. --- 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; }