arm: allow DC instructions by default so SE mode works
authorAli Saidi <Ali.Saidi@ARM.com>
Thu, 17 Apr 2014 21:55:54 +0000 (16:55 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Thu, 17 Apr 2014 21:55:54 +0000 (16:55 -0500)
src/arch/arm/isa.cc

index 5f8378e0924f05fb79deb8f4aab902ba18ef7fb7..38607a9aea35fe1058cbe91edc3625bb37c25b79 100644 (file)
@@ -200,6 +200,8 @@ ISA::clear()
     sctlr.rao2 = 1;
     sctlr.rao3 = 1;
     sctlr.rao4 = 0xf;  // SCTLR[6:3]
+    sctlr.uci = 1;
+    sctlr.dze = 1;
     miscRegs[MISCREG_SCTLR_NS] = sctlr;
     miscRegs[MISCREG_SCTLR_RST] = sctlr_rst;
     miscRegs[MISCREG_HCPTR] = 0;