Page MenuHomeFreeBSD

arm/SYS.h: align with other arches
ClosedPublic

Authored by brooks on Dec 14 2023, 1:22 AM.
Tags
None
Referenced Files
F102704557: D43061.diff
Sat, Nov 16, 2:44 AM
Unknown Object (File)
Sun, Nov 3, 4:33 PM
Unknown Object (File)
Sat, Nov 2, 6:00 PM
Unknown Object (File)
Sat, Nov 2, 6:00 PM
Unknown Object (File)
Sat, Nov 2, 5:41 PM
Unknown Object (File)
Wed, Oct 30, 2:27 AM
Unknown Object (File)
Sep 26 2024, 1:50 PM
Unknown Object (File)
Sep 18 2024, 11:32 AM
Subscribers
None

Details

Summary

Rename SYSTRAP() macro to _SYSCALL() and add _SYSCALL_BODY() which invokes
the syscall via _SYCALL() and then calls cerror as required. Use to
implement PSEUDO() and RSYSCALL() removing _SYSCALL_NOERROR().

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 54946
Build 51835: arc lint + arc unit

Event Timeline

This is part of a set of changes I've posted at https://github.com/brooksdavis/freebsd/tree/SYS.h-unification. This compiles but I've not been able to test it.

With this change, arm is still the odd one out with all the __CONCAT() use, but it's much more closely aligned than before.

This revision is now accepted and ready to land.Dec 14 2023, 1:32 AM

I've done basic smoke testing of this patch in a jail on an aarch64 system

This revision was automatically updated to reflect the committed changes.