ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

XNU ARM_TTE

T2 apple-silicon register register
Apple XNU Register Group: ARM_TTE (62 defines)
SourceApple XNU ARM64 System Registers (proc_reg.h) (apple_xnu_procreg)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeApple Silicon (XNU)
Apple A-series & M-series (A7–M4+)
License & VersionAPSL-2.0
xnu/main
Upstreamhttps://github.com/apple-oss-distributions/xnu/blob/main/osfmk/arm64/proc_reg.h
Privilegeprivileged
Note: Extracted from Apple XNU kernel headers; implementation-defined fields vary across Apple A/M silicon generations.

Summary

Apple XNU register and bitfield definitions for ARM_TTE (proc_reg.h).

Syntax / Encoding

62 defines

Bitfields (62)

BitsFieldDescription
ARM_TTE_MAXXNU proc_reg.h (line 2077)
ARM_TTE_EMPTYunasigned - invalid entry
ARM_TTE_TYPE_FAULTunasigned - invalid entry
ARM_TTE_VALIDvalid entry
ARM_TTE_TYPE_MASKmask for extracting the type
ARM_TTE_TYPE_TABLEpage table type
ARM_TTE_TYPE_BLOCKblock entry type
ARM_TTE_TYPE_L3BLOCKXNU proc_reg.h (line 2087)
ARM_TTE_ATTRINDXSHIFTXNU proc_reg.h (line 2090)
ARM_TTE_ATTRINDXBITSXNU proc_reg.h (line 2091)
ARM_TTE_ATTRINDXMASKmask memory attributes index
ARM_TTE_ATTRINDXMASK_AIEXNU proc_reg.h (line 2096)
12ARM_TTE_BLOCK_SHIFTentry shift for a 16KB L3 TTE entry
ARM_TTE_BLOCK_L0_SHIFTblock shift for 128TB section
ARM_TTE_BLOCK_L1_MASKmask to extract phys address from L1 block entry
ARM_TTE_BLOCK_L1_SHIFTblock shift for 64GB section
ARM_TTE_BLOCK_L2_MASKmask to extract phys address from Level 2 Translation Block entry
ARM_TTE_BLOCK_L2_SHIFTblock shift for 32MB section
12ARM_TTE_BLOCK_SHIFTentry shift for a 4KB L3 TTE entry
ARM_TTE_BLOCK_L0_SHIFTblock shift for 2048GB section
ARM_TTE_BLOCK_L1_MASKmask to extract phys address from L1 block entry
ARM_TTE_BLOCK_L1_SHIFTblock shift for 1GB section
ARM_TTE_BLOCK_L2_MASKmask to extract phys address from Level 2 Translation Block entry
ARM_TTE_BLOCK_L2_SHIFTblock shift for 2MB section
ARM_TTE_BLOCK_APSHIFTXNU proc_reg.h (line 2119)
ARM_TTE_BLOCK_APMASKXNU proc_reg.h (line 2121)
ARM_TTE_BLOCK_ATTRINDXMASKmask memory attributes index
9:8ARM_TTE_BLOCK_SHMASKmask access shared
ARM_TTE_BLOCK_AFvalue for access
ARM_TTE_BLOCK_AFMASKaccess mask
ARM_TTE_BLOCK_NGvalue for a global mapping
ARM_TTE_BLOCK_NG_MASKnotGlobal mapping mask
ARM_TTE_BLOCK_NSvalue for a secure mapping
ARM_TTE_BLOCK_NS_MASKnotSecure mapping mask
ARM_TTE_BLOCK_PNXvalue for privilege no execute bit
ARM_TTE_BLOCK_PNXMASKprivilege no execute mask
ARM_TTE_BLOCK_NXvalue for no execute
ARM_TTE_BLOCK_NXMASKno execute mask
ARM_TTE_BLOCK_WIREDvalue for software wired bit
ARM_TTE_BLOCK_WIREDMASKsoftware wired mask
ARM_TTE_BLOCK_WRITEABLEvalue for software writeable bit
ARM_TTE_BLOCK_WRITEABLEMASKsoftware writeable mask
ARM_TTE_TABLE_MASKmask for extracting pointer to next table (works at any level)
ARM_TTE_TABLE_APSHIFTXNU proc_reg.h (line 2152)
ARM_TTE_TABLE_AP_MASKXNU proc_reg.h (line 2153)
ARM_TTE_TABLE_AP_NO_EFFECTXNU proc_reg.h (line 2154)
ARM_TTE_TABLE_AP_USER_NAXNU proc_reg.h (line 2155)
ARM_TTE_TABLE_AP_ROXNU proc_reg.h (line 2156)
ARM_TTE_TABLE_AP_KERN_ROXNU proc_reg.h (line 2157)
ARM_TTE_TABLE_NSvalue for a secure mapping
ARM_TTE_TABLE_NS_MASKnotSecure mapping mask
ARM_TTE_TABLE_XNvalue for no execute
ARM_TTE_TABLE_XNMASKno execute mask
ARM_TTE_TABLE_PXNvalue for privilege no execute bit
ARM_TTE_TABLE_PXNMASKprivilege execute mask
ARM_TTE_TABLE_SW_RESERVED_MASKXNU proc_reg.h (line 2170)
ARM_TTE_TABLE_RESERVED_MASKXNU proc_reg.h (line 2175)
ARM_TTE_BOOT_BLOCK_LOWERXNU proc_reg.h (line 2186)
ARM_TTE_BOOT_BLOCK_LOWERXNU proc_reg.h (line 2190)
ARM_TTE_BOOT_BLOCK_UPPERXNU proc_reg.h (line 2194)
ARM_TTE_BOOT_TABLEXNU proc_reg.h (line 2196)
ARM_TTE_PA_MASKXNU proc_reg.h (line 2226)