ARM: Handle accesses to TLBTR.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user