HomeFreeBSD

arm64: Use the pointer auth register defines

Description

arm64: Use the pointer auth register defines

When building with gcc it complains the pointer authentication
registers aren't valid with the architecture level we are targeting.
Fix this by using the alternative spelling of these registers accesses
through MRS_REG_ALT_NAME.

Reviewed by: jhb
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45263

(cherry picked from commit 73c200447361a649e00cdb1693a0ae7f3291914e)

Details

Provenance
andrewAuthored on May 22 2024, 8:19 AM
Reviewer
jhb
Differential Revision
D45263: arm64: Use the pointer auth register defines
Parents
rG2d72da2720db: arm64: Add the pointer auth registers to armreg.h
Branches
Unknown
Tags
Unknown