Page MenuHomeFreeBSD

arm64: Use the _REG macros to read ID registers
ClosedPublic

Authored by andrew on May 13 2024, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 3, 3:02 PM
Unknown Object (File)
Tue, Feb 17, 11:55 PM
Unknown Object (File)
Jan 21 2026, 3:57 AM
Unknown Object (File)
Jan 11 2026, 4:03 PM
Unknown Object (File)
Jan 11 2026, 4:03 PM
Unknown Object (File)
Jan 11 2026, 4:03 PM
Unknown Object (File)
Jan 5 2026, 8:44 PM
Unknown Object (File)
Dec 20 2025, 5:34 AM
Subscribers

Details

Summary

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.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable