blob: db1f507b8be0931330b539995d24e33a4475ab6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/*
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically @generated.
*/
#ifndef _TEST_SYSPROTO_H_
#define _TEST_SYSPROTO_H_
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/cpuset.h>
#include <sys/domainset.h>
#include <sys/_ffcounter.h>
#include <sys/_semaphore.h>
#include <sys/ucontext.h>
#include <sys/wait.h>
#include <bsm/audit_kevents.h>
struct proc;
struct thread;
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
0 : sizeof(syscallarg_t) - sizeof(t))
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
#define PADR_(t) PAD_(t)
#else
#define PADL_(t) PAD_(t)
#define PADR_(t) 0
#endif
#ifdef PLATFORM_FOO
struct syscall1_args {
char arg1_l_[PADL_(int)]; int arg1; char arg1_r_[PADR_(int)];
};
#else
#endif
#ifdef PLATFORM_FOO
#else
struct syscall2_args {
syscallarg_t dummy;
};
#endif
#ifdef PLATFORM_FOO
int sys_syscall1(struct thread *, struct syscall1_args *);
#else
#endif
#ifdef PLATFORM_FOO
#else
int sys_syscall2(struct thread *, struct syscall2_args *);
#endif
#define TEST_SYS_AUE_syscall1 AUE_NULL
#define TEST_SYS_AUE_syscall2 AUE_NULL
#undef PAD_
#undef PADL_
#undef PADR_
#endif /* !_TEST_SYSPROTO_H_ */
|