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)
Wed, Jan 21, 3:57 AM
Unknown Object (File)
Sun, Jan 11, 4:03 PM
Unknown Object (File)
Sun, Jan 11, 4:03 PM
Unknown Object (File)
Sun, Jan 11, 4:03 PM
Unknown Object (File)
Mon, Jan 5, 8:44 PM
Unknown Object (File)
Dec 20 2025, 5:34 AM
Unknown Object (File)
Dec 16 2025, 3:06 AM
Unknown Object (File)
Dec 12 2025, 12:09 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