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
F160711398: D45177.diff
Sat, Jun 27, 1:47 AM
Unknown Object (File)
Sun, Jun 21, 10:10 PM
Unknown Object (File)
Tue, Jun 16, 2:06 PM
Unknown Object (File)
Mon, Jun 15, 12:16 AM
Unknown Object (File)
Sat, Jun 13, 12:37 PM
Unknown Object (File)
May 27 2026, 10:46 AM
Unknown Object (File)
May 25 2026, 8:08 AM
Unknown Object (File)
May 25 2026, 1:01 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