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, Feb 24, 10:20 AM
Unknown Object (File)
Jan 29 2025, 1:37 AM
Unknown Object (File)
Jan 18 2025, 4:57 AM
Unknown Object (File)
Jan 18 2025, 2:09 AM
Unknown Object (File)
Jan 5 2025, 12:10 PM
Unknown Object (File)
Dec 2 2024, 1:17 PM
Unknown Object (File)
Nov 25 2024, 2:49 PM
Unknown Object (File)
Nov 22 2024, 5:22 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