ARM: Don't reset CPUs that are going to be switched in.

This commit is contained in:
Ali Saidi 2012-03-09 09:59:26 -05:00
parent 3ce2d0fad0
commit df05ffab12

View file

@ -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 @@ initCPU(ThreadContext *tc, int cpuId)
// 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);
}