1/* $NetBSD: syscallargs.h,v 1.281 2016/11/02 03:14:19 pgoyette Exp $ */
2
3/*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.286 2016/11/02 00:11:59 pgoyette Exp
8 */
9
10#ifndef _SYS_SYSCALLARGS_H_
11#define _SYS_SYSCALLARGS_H_
12
13#ifndef RUMP_CLIENT
14#include <sys/idtype.h>
15#include <sys/mount.h>
16#include <sys/sched.h>
17#endif
18
19#include <sys/socket.h>
20
21#define SYS_MAXSYSARGS 8
22
23#undef syscallarg
24#define syscallarg(x) \
25 union { \
26 register_t pad; \
27 struct { x datum; } le; \
28 struct { /* LINTED zero array dimension */ \
29 int8_t pad[ /* CONSTCOND */ \
30 (sizeof (register_t) < sizeof (x)) \
31 ? 0 \
32 : sizeof (register_t) - sizeof (x)]; \
33 x