changeset 385c8482bf14 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=385c8482bf14
description:
        X86: Keep track of the pioAddr for the local APIC.

diffstat:

1 file changed, 4 insertions(+), 2 deletions(-)
src/arch/x86/interrupts.cc |    6 ++++--

diffs (16 lines):

diff -r 3d524dc980a8 -r 385c8482bf14 src/arch/x86/interrupts.cc
--- a/src/arch/x86/interrupts.cc        Sun Apr 19 03:42:41 2009 -0700
+++ b/src/arch/x86/interrupts.cc        Sun Apr 19 03:47:12 2009 -0700
@@ -338,8 +338,10 @@
 {
     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;
 }
 
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to