1/* $NetBSD: netbsd32_syscallargs.h,v 1.126 2016/10/28 23:44:54 christos 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.115 2016/10/19 09:44:01 skrll Exp
8 */
9
10#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
11#define _NETBSD32_SYS_SYSCALLARGS_H_
12
13#define NETBSD32_SYS_MAXSYSARGS 8
14
15#undef syscallarg
16#define syscallarg(x) \
17 union { \
18 register32_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register32_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register32_t) - sizeof (x)]; \
25 x