ARM: We don't currently support ThumbEE exceptions, so don't report that we do
authorAli Saidi <Ali.Saidi@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000 (11:18 -0500)
committerAli Saidi <Ali.Saidi@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000 (11:18 -0500)
src/arch/arm/isa.cc

index 3a52919d46a7245be9e80205ea17ab325f85922f..df620a8fff8fc85d213ad695cb72b294106a7191 100644 (file)
@@ -211,7 +211,9 @@ ISA::readMiscReg(int misc_reg, ThreadContext *tc)
                 "always reads as 0.\n");
         break;
       case MISCREG_ID_PFR0:
-        return 0x1031; // ThumbEE | !Jazelle | Thumb | ARM
+        warn("Returning thumbEE disabled for now since we don't support CP14"
+             "config registers and jumping to ThumbEE vectors\n");
+        return 0x0031; // !ThumbEE | !Jazelle | Thumb | ARM
       case MISCREG_ID_MMFR0:
         return 0x03; //VMSAz7
       case MISCREG_CTR: