summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-19 03:47:12 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-19 03:47:12 -0700
commit8761057c7884103a8614ae174fa7e63c9291ba3d (patch)
tree51ad119bbf4941e6c9d2c423e0152d74bfe38fec /src
parent038225a6cae8ce1d8fc5246440b7f697eeb3c90a (diff)
downloadgem5-8761057c7884103a8614ae174fa7e63c9291ba3d.tar.xz
X86: Keep track of the pioAddr for the local APIC.
Diffstat (limited to 'src')
-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;
}