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)
Sun, Oct 12, 4:37 AM
Unknown Object (File)
Sun, Oct 12, 4:37 AM
Unknown Object (File)
Sun, Oct 12, 4:37 AM
Unknown Object (File)
Sat, Oct 11, 6:38 PM
Unknown Object (File)
Sat, Oct 11, 8:08 AM
Unknown Object (File)
Thu, Sep 25, 10:31 PM
Unknown Object (File)
Sep 14 2025, 3:35 AM
Unknown Object (File)
Sep 2 2025, 1:17 PM
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