No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / mach / arch / powerpc / ppccalls / mach_ppccalls_syscallargs.h
blobaa01488986c3b9e1c38bc8b46c4de7bec722b54e
1 /* $NetBSD$ */
3 /*
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
8 */
10 #ifndef _MACH_PPCCALLS_SYS_SYSCALLARGS_H_
11 #define _MACH_PPCCALLS_SYS_SYSCALLARGS_H_
13 #define MACH_PPCCALLS_SYS_MAXSYSARGS 8
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
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_ */