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)
Mon, Jun 8, 6:22 AM
Unknown Object (File)
May 13 2026, 2:33 PM
Unknown Object (File)
May 12 2026, 6:40 PM
Unknown Object (File)
May 12 2026, 9:55 AM
Unknown Object (File)
Apr 30 2026, 3:41 PM
Unknown Object (File)
Apr 28 2026, 12:07 AM
Unknown Object (File)
Apr 27 2026, 12:37 PM
Unknown Object (File)
Apr 24 2026, 6:52 AM
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