Add a _SYSCALL(name) which calls the SYS_name syscall. Use it to add a
_SYSCALL_BODY() macro which invokes the syscall and calls cerror as
required. Use the latter to implement PSEUDO() and RSYSCALL().
Sponsored by: DARPA
Differential D43059
{amd64,i386}/SYS.h: add _SYSCALL and _SYSCALL_BODY brooks on Dec 14 2023, 1:21 AM. Authored by Tags None Referenced Files
Subscribers
Details Add a _SYSCALL(name) which calls the SYS_name syscall. Use it to add a 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. I've done basic smoke testing of amd64 under qemu, i386 might need more testing. |