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)
Tue, Apr 30, 5:02 PM
Unknown Object (File)
Mon, Apr 8, 10:29 PM
Unknown Object (File)
Mar 25 2024, 10:35 PM
Unknown Object (File)
Mar 5 2024, 5:38 AM
Unknown Object (File)
Mar 2 2024, 8:10 AM
Unknown Object (File)
Jan 11 2024, 11:34 PM
Unknown Object (File)
Jan 11 2024, 11:31 PM
Unknown Object (File)
Jan 11 2024, 12:11 PM
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