[][src]Module ruspiro_arch_aarch64::register::el1::tcr_el1

TCR_EL1 - Translation Control Register EL1

Determines which Translation Base Registers defines the base address register for a translation table walk required for stage 1 translation of a memory access from EL0 or EL1 and holds cacheability and shareability information.

Usage Constraints

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

Modules

A1

ASID definition by TTBR0_EL1 or TTBR1_EL1

AS

ASID size

EPD0

Disable tlb walks using ttbr0_el1

EPD1

disable tlb walks using ttbr1_el1

IPS

Intermediate Physical address size

IRGN0

Inner cacheability attribute for memory associated with tlb walks using ttbr0_el1

IRGN1

Inner cacheability attribute for memory associated with tlb walks using ttbr1_el1

ORGN0

Outer cacheability attribute for memory associated with tlb walks using ttbr0_el1

ORGN1

Outer cacheability attribute for memory associated with tlb walks using ttbr1_el1

SH0

Shareability attribute for memory associated with tlb walks using ttbr0_el1

SH1

Shareability attribute for memory associated with tlb walks using ttbr1_el1

T0SZ

Size offset of the memory reagion addressed by ttbr0_el1 (size = 2^(64-t0sz))

T1SZ

Size offset of the memory reagion addressed by ttbr1_el1 (size = 2^(64-t0sz))

TBI0

Top Byte Ignored for ttbr0_el1

TBI1

Top Byte Ignored for ttbr1_el1

TG0

Granule size for the ttbr0_el2

TG1

Granule size for the ttbr0_el2

Functions

get

Read the raw register contents using the appropriate assembly

read

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

set

Write the raw register contents using the appropriate contents

write

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