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 17, 9:27 AM
Unknown Object (File)
Tue, Mar 17, 9:18 AM
Unknown Object (File)
Tue, Mar 3, 3:02 PM
Unknown Object (File)
Feb 17 2026, 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
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