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
Differential D43061
arm/SYS.h: align with other arches brooks on Dec 14 2023, 1:22 AM. Authored by Tags None Referenced Files
Subscribers None
Details
Rename SYSTRAP() macro to _SYSCALL() and add _SYSCALL_BODY() which invokes Sponsored by: DARPA
Diff Detail
Event TimelineComment Actions 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. Comment Actions With this change, arm is still the odd one out with all the __CONCAT() use, but it's much more closely aligned than before. |