From: Gabe Black Date: Wed, 2 Jun 2010 17:58:08 +0000 (-0500) Subject: ARM: Actually write the value of sctlr in ISA.clear(). X-Git-Tag: stable_2012_02_02~1223 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=660270746b666774d7673ead9cdda243ac2bda3f;p=gem5.git ARM: Actually write the value of sctlr in ISA.clear(). --- diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index 080298158..67ee56537 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -104,6 +104,7 @@ namespace ArmISA sctlr.rao2 = 1; sctlr.rao3 = 1; sctlr.rao4 = 1; + miscRegs[MISCREG_SCTLR] = sctlr; //XXX We need to initialize the rest of the state. }