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
F159643867: D45177.diff
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)
Wed, May 27, 10:46 AM
Unknown Object (File)
Mon, May 25, 8:08 AM
Unknown Object (File)
Mon, May 25, 1:01 AM
Unknown Object (File)
Thu, May 21, 9:53 AM
Unknown Object (File)
May 17 2026, 11:41 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57681
Build 54569: arc lint + arc unit