changeset 5e8d2d7162b0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=5e8d2d7162b0
description:
        ARM: Don't reset CPUs that are going to be switched in.

diffstat:

 src/arch/arm/utility.cc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 52bbd95b31ed -r 5e8d2d7162b0 src/arch/arm/utility.cc
--- a/src/arch/arm/utility.cc   Fri Mar 09 09:59:26 2012 -0500
+++ b/src/arch/arm/utility.cc   Fri Mar 09 09:59:26 2012 -0500
@@ -44,8 +44,10 @@
 #include "arch/arm/utility.hh"
 #include "arch/arm/vtophys.hh"
 #include "config/use_checker.hh"
+#include "cpu/base.hh"
 #include "cpu/thread_context.hh"
 #include "mem/fs_translating_port_proxy.hh"
+#include "params/BaseCPU.hh"
 #include "sim/full_system.hh"
 
 namespace ArmISA {
@@ -56,7 +58,9 @@
     // Reset CP15?? What does that mean -- ali
     
     // FPEXC.EN = 0
-    
+    if (tc->getCpuPtr()->params()->defer_registration)
+       return;
+
     static Fault reset = new Reset;
     reset->invoke(tc);
 }
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to