projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038225a
)
X86: Keep track of the pioAddr for the local APIC.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 19 Apr 2009 10:47:12 +0000
(
03:47
-0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sun, 19 Apr 2009 10:47:12 +0000
(
03:47
-0700)
src/arch/x86/interrupts.cc
patch
|
blob
|
history
diff --git
a/src/arch/x86/interrupts.cc
b/src/arch/x86/interrupts.cc
index 7f47b39c13b021731da54186b49d4bcf181e81bd..a0ce30ad7caf6a83dc6620eb07f99ddd6ea2784e 100644
(file)
--- 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;
}