changeset dc1bc37bfb00 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=dc1bc37bfb00
description:
        SE/FS: Get rid of the last use of FULL_SYSTEM in x86.

diffstat:

 src/arch/x86/interrupts.cc |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 89e0822462a1 -r dc1bc37bfb00 src/arch/x86/interrupts.cc
--- a/src/arch/x86/interrupts.cc        Tue Nov 01 04:01:14 2011 -0700
+++ b/src/arch/x86/interrupts.cc        Tue Nov 01 04:01:15 2011 -0700
@@ -40,7 +40,6 @@
 #include "arch/x86/regs/apic.hh"
 #include "arch/x86/interrupts.hh"
 #include "arch/x86/intmessage.hh"
-#include "config/full_system.hh"
 #include "cpu/base.hh"
 #include "debug/LocalApic.hh"
 #include "dev/x86/i82094aa.hh"
@@ -48,6 +47,7 @@
 #include "dev/x86/south_bridge.hh"
 #include "mem/packet_access.hh"
 #include "sim/system.hh"
+#include "sim/full_system.hh"
 
 int
 divideFromConf(uint32_t conf)
@@ -275,9 +275,8 @@
             startupVector = vector;
         }
     }
-#if FULL_SYSTEM //XXX CPU has no wakeup method in SE mode.
-    cpu->wakeup();
-#endif
+    if (FullSystem)
+        cpu->wakeup();
 }
 
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to