Page MenuHomeFreeBSD

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

Authored by brooks on Jan 4 2024, 11:38 PM.
Tags
None
Referenced Files
F109416209: D43323.diff
Tue, Feb 4, 7:04 PM
Unknown Object (File)
Tue, Jan 28, 5:22 PM
Unknown Object (File)
Tue, Jan 28, 2:21 AM
Unknown Object (File)
Dec 11 2024, 12:52 PM
Unknown Object (File)
Nov 29 2024, 10:23 PM
Unknown Object (File)
Nov 21 2024, 6:33 AM
Unknown Object (File)
Oct 27 2024, 9:35 PM
Unknown Object (File)
Sep 29 2024, 6:14 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 Passed
Unit
No Test Coverage
Build Status
Buildable 55251
Build 52140: arc lint + arc unit

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