ARM: Get SCTLR TE bit from reset SCTLR
authorGene Wu <Gene.Wu@arm.com>
Mon, 23 Aug 2010 16:18:41 +0000 (11:18 -0500)
committerGene Wu <Gene.Wu@arm.com>
Mon, 23 Aug 2010 16:18:41 +0000 (11:18 -0500)
src/arch/arm/isa.cc

index df620a8fff8fc85d213ad695cb72b294106a7191..fe4adb6fc7e839a641816a7563248104afe49866 100644 (file)
@@ -55,6 +55,7 @@ ISA::clear()
     updateRegMap(cpsr);
 
     SCTLR sctlr = 0;
+    sctlr.te = (bool)sctlr_rst.te;
     sctlr.nmfi = (bool)sctlr_rst.nmfi;
     sctlr.v = (bool)sctlr_rst.v;
     sctlr.u    = 1;