summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/interrupts.cc6
1 files 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<Addr> range = RangeEx(x86LocalAPICAddress(id, 0),
+ x86LocalAPICAddress(id, 0) + PageBytes);
+ range_list.push_back(range);
+ pioAddr = range.start;
}