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, Dec 8, 5:52 PM
Unknown Object (File)
Tue, Dec 2, 12:40 PM
Unknown Object (File)
Thu, Nov 27, 3:25 AM
Unknown Object (File)
Thu, Nov 27, 3:16 AM
Unknown Object (File)
Wed, Nov 26, 1:02 AM
Unknown Object (File)
Tue, Nov 25, 6:51 PM
Unknown Object (File)
Tue, Nov 18, 5:44 PM
Unknown Object (File)
Mon, Nov 17, 6:31 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