HomeFreeBSD

arm64: Use the _REG macros to read ID registers

Description

arm64: Use the _REG macros to read ID registers

To build with old toolchains use the *_REG macros to access the ID
registers. These become a name in the form S?_?_C?_C?_? where the '?'
values encode the op and CR values needed to access the register.

For consistency use these macros for all ID registers, even if most
toolchains understand them.

Reviewed by: Zachary Leaf <zachary.leaf@arm.com>
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45177

Details

Provenance
andrewAuthored on May 13 2024, 2:48 PM
Differential Revision
D45177: arm64: Use the _REG macros to read ID registers
Parents
rGd6d860c7ff5c: arm64: Add MRS_REG_ALT_NAME ID register macros
Branches
Unknown
Tags
Unknown