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
F134640843: D47121.id.diff
Mon, Nov 3, 7:25 PM
F134640635: D47121.diff
Mon, Nov 3, 7:23 PM
F134640298: D47121.id145255.diff
Mon, Nov 3, 7:21 PM
F134640277: D47121.id144906.diff
Mon, Nov 3, 7:21 PM
Unknown Object (File)
Fri, Oct 17, 11:10 PM
Unknown Object (File)
Fri, Oct 17, 11:10 PM
Unknown Object (File)
Fri, Oct 17, 11:10 PM
Unknown Object (File)
Fri, Oct 17, 1:44 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