Page MenuHomeFreeBSD

arm64: Use a bit to hold userspace ID reg exports
ClosedPublic

Authored by andrew on Oct 15 2024, 2:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 28, 3:29 PM
Unknown Object (File)
Sat, Feb 28, 3:48 AM
Unknown Object (File)
Feb 8 2026, 1:27 PM
Unknown Object (File)
Feb 8 2026, 7:12 AM
Unknown Object (File)
Feb 4 2026, 4:01 AM
Unknown Object (File)
Jan 30 2026, 5:37 PM
Unknown Object (File)
Jan 23 2026, 8:35 PM
Unknown Object (File)
Jan 23 2026, 2:05 PM
Subscribers

Details

Summary

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.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable