Provides information about the implemented memory model and memory management support in AArch32 state.
For general information about the interpretation of the ID registers see 'Principles of the ID scheme for fields in ID registers'.
AArch32 System register ID_MMFR0 bits [31:0] are architecturally mapped to AArch64 System register ID_MMFR0_EL1[31:0].
This register is present only when EL1 is capable of using AArch32. Otherwise, direct accesses to ID_MMFR0 are UNDEFINED.
ID_MMFR0 is a 32-bit register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
InnerShr | FCSE | AuxReg | TCM | ShareLvl | OuterShr | PMSA | VMSA |
Innermost Shareability. Indicates the innermost shareability domain implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
InnerShr | Meaning |
---|---|
0b0000 |
Implemented as Non-cacheable. |
0b0001 |
Implemented with hardware coherency support. |
0b1111 |
Shareability ignored. |
All other values are reserved.
In Armv8-A, the permitted values are 0b0000, 0b0001, and 0b1111.
This field is valid only if the implementation supports two levels of shareability, as indicated by ID_MMFR0.ShareLvl having the value 0b0001.
When ID_MMFR0.ShareLvl is zero, this field is UNKNOWN.
Access to this field is RO.
Indicates whether the implementation includes the FCSE.
The value of this field is an IMPLEMENTATION DEFINED choice of:
FCSE | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for FCSE. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
Access to this field is RO.
Auxiliary Registers. Indicates support for Auxiliary registers.
The value of this field is an IMPLEMENTATION DEFINED choice of:
AuxReg | Meaning |
---|---|
0b0000 |
None supported. |
0b0001 |
Support for Auxiliary Control Register only. |
0b0010 |
Support for Auxiliary Fault Status Registers (AIFSR and ADFSR) and Auxiliary Control Register. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0010.
Accesses to unimplemented Auxiliary registers are UNDEFINED.
Access to this field is RO.
Indicates support for TCMs and associated DMAs.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TCM | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support is IMPLEMENTATION DEFINED. |
0b0010 |
Support for TCM only, Armv6 implementation. |
0b0011 |
Support for TCM and DMA, Armv6 implementation. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
Access to this field is RO.
Shareability Levels. Indicates the number of shareability levels implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
ShareLvl | Meaning |
---|---|
0b0000 |
One level of shareability implemented. |
0b0001 |
Two levels of shareability implemented. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0001.
Access to this field is RO.
Outermost Shareability. Indicates the outermost shareability domain implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
OuterShr | Meaning |
---|---|
0b0000 |
Implemented as Non-cacheable. |
0b0001 |
Implemented with hardware coherency support. |
0b1111 |
Shareability ignored. |
All other values are reserved.
In Armv8-A, the permitted values are 0b0000, 0b0001, and 0b1111.
Access to this field is RO.
Indicates support for a PMSA.
The value of this field is an IMPLEMENTATION DEFINED choice of:
PMSA | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for IMPLEMENTATION DEFINED PMSA. |
0b0010 |
Support for PMSAv6, with a Cache Type Register implemented. |
0b0011 |
Support for PMSAv7, with support for memory subsections. Armv7-R profile. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
Access to this field is RO.
Indicates support for a VMSA.
The value of this field is an IMPLEMENTATION DEFINED choice of:
VMSA | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for IMPLEMENTATION DEFINED VMSA. |
0b0010 |
Support for VMSAv6, with Cache and TLB Type Registers implemented. |
0b0011 |
Support for VMSAv7, with support for remapping and the Access flag. ARMv7-A profile. |
0b0100 |
As for 0b0011, and adds support for the PXN bit in the Short-descriptor translation table format descriptors. |
0b0101 |
As for 0b0100, and adds support for the Long-descriptor translation table format. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0101.
Access to this field is RO.
Accesses to this register use the following encodings in the System register encoding space:
MRC{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b000 | 0b0000 | 0b0001 | 0b100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T0 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T0 == '1' then AArch32.TakeHypTrapException(0x03); elsif EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.TID3 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HCR.TID3 == '1' then AArch32.TakeHypTrapException(0x03); else R[t] = ID_MMFR0; elsif PSTATE.EL == EL2 then R[t] = ID_MMFR0; elsif PSTATE.EL == EL3 then R[t] = ID_MMFR0;