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
F174127515: D47121.id145255.diff
Wed, Sep 30, 7:27 PM
F174113738: D47121.diff
Wed, Sep 30, 5:36 PM
Unknown Object (File)
Tue, Sep 22, 6:28 AM
Unknown Object (File)
Sat, Sep 19, 9:10 PM
Unknown Object (File)
Sat, Sep 19, 8:52 PM
Unknown Object (File)
Sat, Sep 19, 6:58 PM
Unknown Object (File)
Sun, Sep 13, 1:13 AM
Unknown Object (File)
Sun, Sep 6, 6:11 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