ARM: Don't reset CPUs that are going to be switched in.
This commit is contained in:
parent
3ce2d0fad0
commit
df05ffab12
1 changed files with 5 additions and 1 deletions
|
@ -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,6 +58,8 @@ 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);
|
||||
|
|
Loading…
Reference in a new issue