Page MenuHomeFreeBSD

powerpc/SYS.h: implement _SYSCALL_BODY() macro
ClosedPublic

Authored by brooks on Jan 4 2024, 11:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 9:35 PM
Unknown Object (File)
Sep 29 2024, 6:14 AM
Unknown Object (File)
Sep 27 2024, 5:16 PM
Unknown Object (File)
Sep 26 2024, 9:20 PM
Unknown Object (File)
Sep 20 2024, 2:34 PM
Unknown Object (File)
Sep 18 2024, 3:23 AM
Unknown Object (File)
Sep 4 2024, 7:54 PM
Unknown Object (File)
Sep 2 2024, 4:31 AM
Subscribers

Details

Summary

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

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/libc/powerpc/SYS.h
44

D43056 was missing the semicolon on this line. The compiler assertion this triggered is clearly a bug, but I wasn't able to tidy up a reproducer. (For maximum confusion, the clang reproducer doesn't reproduce the bug and instead seems to try to parse the .S file as assembly without preprocessing which goes as well as you'd expect for source that has processed includes, but not expanded macros...)

This revision is now accepted and ready to land.Jan 6 2024, 7:28 PM