HomeFreeBSD

arm64: Use a bit to hold userspace ID reg exports

Description

arm64: Use a bit to hold userspace ID reg exports

When exporting ID registers to userspace we should either adjust them
the same way for FreeBSD and Linux binaries, or export the Linux
field values to a safe value, e.g. when a needed syscall is missing.

To allow for this, and to clean up ID register handling in the kernel
move to using a bit per userspace ABI.

Reviewed by: imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D47121

Details

Provenance
andrewAuthored on Oct 18 2024, 9:16 AM
Reviewer
imp
Differential Revision
D47121: arm64: Use a bit to hold userspace ID reg exports
Parents
rGffdf9db281f5: arm64: Add MRS_SAFE to hold a safe ID field value
Branches
Unknown
Tags
Unknown