ARM: Handle accesses to TLBTR.

This commit is contained in:
Gabe Black
2010-06-02 12:58:13 -05:00
parent 9fb573d91e
commit eac239b4d6
2 changed files with 7 additions and 2 deletions

View File

@@ -131,6 +131,9 @@ namespace ArmISA
(0 << 0) | //Revision
0;
// Separate Instruction and Data TLBs.
miscRegs[MISCREG_TLBTR] = 1;
//XXX We need to initialize the rest of the state.
}
@@ -269,6 +272,8 @@ namespace ArmISA
case MISCREG_CSSELR:
warn("The csselr register isn't implemented.\n");
break;
case MISCREG_TLBTR:
return;
}
return setMiscRegNoEffect(misc_reg, newVal);
}

View File

@@ -108,10 +108,10 @@ namespace ArmISA
MISCREG_MIDR,
MISCREG_TTBR0,
MISCREG_TTBR1,
MISCREG_TLBTR,
MISCREG_DACR,
MISCREG_CP15_UNIMP_START,
MISCREG_CTR = MISCREG_CP15_UNIMP_START,
MISCREG_TLBTR,
MISCREG_TCMTR,
MISCREG_MPIDR,
MISCREG_ID_PFR0,
@@ -198,7 +198,7 @@ namespace ArmISA
"clidr", "ccsidr", "csselr",
"icialluis", "iciallu", "icimvau",
"bpimva", "bpiallis", "bpiall",
"midr", "ttbr0", "ttbr1", "dacr", "ctr", "tlbtr", "tcmtr", "mpidr",
"midr", "ttbr0", "ttbr1", "tlbtr", "dacr", "ctr", "tcmtr", "mpidr",
"id_pfr0", "id_pfr1", "id_dfr0", "id_afr0",
"id_mmfr0", "id_mmfr1", "id_mmfr2", "id_mmfr3",
"id_isar0", "id_isar1", "id_isar2", "id_isar3", "id_isar4", "id_isar5",