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)
Wed, Aug 26, 11:46 AM
Unknown Object (File)
Sat, Aug 22, 10:46 PM
Unknown Object (File)
Wed, Aug 19, 3:48 PM
Unknown Object (File)
Tue, Aug 18, 5:01 PM
Unknown Object (File)
Mon, Aug 17, 2:01 PM
Unknown Object (File)
Sun, Aug 16, 9:55 PM
Unknown Object (File)
Sat, Aug 15, 8:56 PM
Unknown Object (File)
Wed, Aug 12, 11:41 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