]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv/SYS.h: implement _SYSCALL_BODY() macro
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 18 Dec 2023 22:28:42 +0000 (22:28 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Mon, 18 Dec 2023 22:28:42 +0000 (22:28 +0000)
commit300bbb3a43e3cc1337b827b72ff5a22c4321a317
tree5072ed6260bf51b5e9b324c9b48826653d1d0ee3
parent604de40a024c760df5db542171d3953493f56bfb
riscv/SYS.h: implement _SYSCALL_BODY() macro

Add _SYSCALL_BODY() macro which invokes the syscall via _SYCALL() and
calls cerror as required.  Use to implement PSEUDO() and RSYSCALL().

Reviewed by: imp, markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D43057
lib/libc/riscv/SYS.h