ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

XNU CACHE

T2 apple-silicon register register
Apple XNU Register Group: CACHE (26 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 CACHE (proc_reg.h).

Syntax / Encoding

26 defines

Bitfields (26)

BitsFieldDescription
CACHE_ATTRINDX_WRITEBACKcache enabled, buffer enabled (normal memory)
CACHE_ATTRINDX_INNERWRITEBACKlegacy compatibility only
CACHE_ATTRINDX_WRITECOMBno cache, buffered writes (normal memory)
CACHE_ATTRINDX_WRITETHRUcache enabled, buffer disabled (normal memory)
CACHE_ATTRINDX_DISABLEno cache, no buffer (device memory), XS = 0
CACHE_ATTRINDX_RESERVEDreserved for internal use
CACHE_ATTRINDX_DISABLE_XSno cache, no buffer (device memory), XS = 1
CACHE_ATTRINDX_POSTEDXNU proc_reg.h (line 1715)
CACHE_ATTRINDX_POSTED_REORDEREDno need for device-nGRE on newer SoCs, fallback to nGnRnE
CACHE_ATTRINDX_POSTED_COMBINED_REORDEREDno cache, write gathering, reorderable access, posted writes (device memory), XS=0
CACHE_ATTRINDX_POSTED_COMBINED_REORDERED_XSno cache, write gathering, reorderable access, posted writes (device memory), XS=1
CACHE_ATTRINDX_DEFAULTXNU proc_reg.h (line 1719)
CACHE_ATTRINDX_N_INDICESXNU proc_reg.h (line 1720)
CACHE_ATTRINDX_WRITEBACKcache enabled, buffer enabled (normal memory)
CACHE_ATTRINDX_INNERWRITEBACKlegacy compatibility only
CACHE_ATTRINDX_WRITECOMBno cache, buffered writes (normal memory)
CACHE_ATTRINDX_WRITETHRUcache enabled, buffer disabled (normal memory)
CACHE_ATTRINDX_DISABLEno cache, no buffer (device memory)
CACHE_ATTRINDX_RESERVEDreserved for internal use
CACHE_ATTRINDX_POSTEDno cache, no buffer, posted writes (device memory)
CACHE_ATTRINDX_POSTED_REORDEREDno cache, reorderable access, posted writes (device memory)
CACHE_ATTRINDX_POSTED_COMBINED_REORDEREDno cache, write gathering, reorderable access, posted writes (device memory)
CACHE_ATTRINDX_DEFAULTXNU proc_reg.h (line 1745)
CACHE_ATTRINDX_N_INDICESXNU proc_reg.h (line 1746)
CACHE_ATTRINDX_RTXNU proc_reg.h (line 1751)
CACHE_ATTRINDX_RTXNU proc_reg.h (line 1753)