4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.5 2007/02/09 21:55:22 ad Exp
10 #ifndef _MACH_PPCCALLS_SYS_SYSCALLARGS_H_
11 #define _MACH_PPCCALLS_SYS_SYSCALLARGS_H_
13 #define MACH_PPCCALLS_SYS_MAXSYSARGS 8
16 #define syscallarg(x) \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \
24 : sizeof (register_t) - sizeof (x)]; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= MACH_PPCCALLS_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
35 * System call prototypes.
38 #endif /* _MACH_PPCCALLS_SYS_SYSCALLARGS_H_ */