[][src]Module ruspiro_register::system::aarch64::mair_el2

This is supported on AArch64 only.

MAIR_EL2 - Memory Attribute Indirection Register EL2

Provides the memory attribute encodings corresponding to the possible AttrIndx values in a Long-descriptor format translation table entry for stage 1 translations at EL2.

Usage Constraints

EL0EL1 (NS)EL1(S)EL2EL3(NS)EL3(S)
---R/WR/WR/W

Modules

MAIR0AArch64
MAIR1AArch64
MAIR2AArch64
MAIR3AArch64
MAIR4AArch64

Functions

getAArch64

Read the raw register contents using the appropriate assembly

readAArch64

Read the contents of a specific RegisterField. The returned value is already shifted to the right to start at bit 0. This means for a field value stored in the register at bit offset 3, the returned value is already shifted by 3 bits to the right. For example: If register raw value is 0b10110, the returned value for a register field specified as bits[4:3] would be 0b01. No further "masking" or "bit-shift" required

setAArch64

Write the raw register contents using the appropriate contents

writeAArch64

Update the contents of a register from the RegisterFieldValue given. This will only change the bits the RegisterField definition specifies.