summaryrefslogtreecommitdiffstats
path: root/sys/alpha/osf1/osf1_proto.h
blob: d84bf9670d23f7583350bd1b9d1dc25acf66251e (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
/*
 * System call prototypes.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * $FreeBSD$
 * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.4 2000/07/29 10:05:24 peter Exp 
 */

#ifndef _OSF1_SYSPROTO_H_
#define	_OSF1_SYSPROTO_H_

#include <sys/signal.h>

#include <sys/acl.h>

struct proc;

#define	PAD_(t)	(sizeof(register_t) <= sizeof(t) ? \
		0 : sizeof(register_t) - sizeof(t))

struct	osf1_wait4_args {
	int	pid;	char pid_[PAD_(int)];
	int *	status;	char status_[PAD_(int *)];
	int	options;	char options_[PAD_(int)];
	struct osf1_rusage *	rusage;	char rusage_[PAD_(struct osf1_rusage *)];
};
struct	osf1_mknod_args {
	char *	path;	char path_[PAD_(char *)];
	int	mode;	char mode_[PAD_(int)];
	int	dev;	char dev_[PAD_(int)];
};
struct	osf1_getfsstat_args {
	struct osf1_statfs *	buf;	char buf_[PAD_(struct osf1_statfs *)];
	long	bufsize;	char bufsize_[PAD_(long)];
	int	flags;	char flags_[PAD_(int)];
};
struct	osf1_lseek_args {
	int	fd;	char fd_[PAD_(int)];
	off_t	offset;	char offset_[PAD_(off_t)];
	int	whence;	char whence_[PAD_(int)];
};
struct	osf1_mount_args {
	int	type;	char type_[PAD_(int)];
	char *	path;	char path_[PAD_(char *)];
	int	flags;	char flags_[PAD_(int)];
	caddr_t	data;	char data_[PAD_(caddr_t)];
};
struct	osf1_unmount_args {
	char *	path;	char path_[PAD_(char *)];
	int	flags;	char flags_[PAD_(int)];
};
struct	osf1_setuid_args {
	uid_t	uid;	char uid_[PAD_(uid_t)];
};
struct	osf1_access_args {
	char *	path;	char path_[PAD_(char *)];
	int	flags;	char flags_[PAD_(int)];
};
struct	osf1_kill_args {
	int	pid;	char pid_[PAD_(int)];
	int	signum;	char signum_[PAD_(int)];
};
struct	osf1_set_program_attributes_args {
	vm_offset_t	text_start;	char text_start_[PAD_(vm_offset_t)];
	vm_offset_t	text_len;	char text_len_[PAD_(vm_offset_t)];
	vm_offset_t	bss_start;	char bss_start_[PAD_(vm_offset_t)];
	vm_offset_t	bss_len;	char bss_len_[PAD_(vm_offset_t)];
};
struct	osf1_open_args {
	char *	path;	char path_[PAD_(char *)];
	int	flags;	char flags_[PAD_(int)];
	int	mode;	char mode_[PAD_(int)];
};
struct	osf1_sigprocmask_args {
	int	how;	char how_[PAD_(int)];
	osf1_sigset_t	mask;	char mask_[PAD_(osf1_sigset_t)];
};
struct	osf1_sigpending_args {
	struct proc *	p;	char p_[PAD_(struct proc *)];
	osf1_sigset_t *	mask;	char mask_[PAD_(osf1_sigset_t *)];
};
struct	osf1_classcntl_args {
	int	opcode;	char opcode_[PAD_(int)];
	int	arg1;	char arg1_[PAD_(int)];
	int	arg2;	char arg2_[PAD_(int)];
	int	arg3;	char arg3_[PAD_(int)];
};
struct	osf1_ioctl_args {
	int	fd;	char fd_[PAD_(int)];
	int	com;	char com_[PAD_(int)];
	caddr_t	data;	char data_[PAD_(caddr_t)];
};
struct	osf1_reboot_args {
	int	opt;	char opt_[PAD_(int)];
};
struct	osf1_execve_args {
	char *	path;	char path_[PAD_(char *)];
	char **	argp;	char argp_[PAD_(char **)];
	char **	envp;	char envp_[PAD_(char **)];
};
struct	osf1_stat_args {
	char *	path;	char path_[PAD_(char *)];
	struct osf1_stat *	ub;	char ub_[PAD_(struct osf1_stat *)];
};
struct	osf1_lstat_args {
	char *	path;	char path_[PAD_(char *)];
	struct osf1_stat *	ub;	char ub_[PAD_(struct osf1_stat *)];
};
struct	osf1_mmap_args {
	caddr_t	addr;	char addr_[PAD_(caddr_t)];
	size_t	len;	char len_[PAD_(size_t)];
	int	prot;	char prot_[PAD_(int)];
	int	flags;	char flags_[PAD_(int)];
	int	fd;	char fd_[PAD_(int)];
	off_t	pos;	char pos_[PAD_(off_t)];
};
struct	osf1_madvise_args {
	register_t dummy;
};
struct	osf1_setpgrp_args {
	int	pid;	char pid_[PAD_(int)];
	int	pgid;	char pgid_[PAD_(int)];
};
struct	osf1_setitimer_args {
	u_int	which;	char which_[PAD_(u_int)];
	struct itimerval *	itv;	char itv_[PAD_(struct itimerval *)];
	struct itimerval *	oitv;	char oitv_[PAD_(struct itimerval *)];
};
struct	osf1_table_args {
	long	id;	char id_[PAD_(long)];
	long	index;	char index_[PAD_(long)];
	void *	addr;	char addr_[PAD_(void *)];
	long	nel;	char nel_[PAD_(long)];
	u_long	lel;	char lel_[PAD_(u_long)];
};
struct	osf1_getitimer_args {
	u_int	which;	char which_[PAD_(u_int)];
	struct itimerval *	itv;	char itv_[PAD_(struct itimerval *)];
};
struct	osf1_fstat_args {
	int	fd;	char fd_[PAD_(int)];
	void *	sb;	char sb_[PAD_(void *)];
};
struct	osf1_fcntl_args {
	int	fd;	char fd_[PAD_(int)];
	int	cmd;	char cmd_[PAD_(int)];
	void *	arg;	char arg_[PAD_(void *)];
};
struct	osf1_select_args {
	u_int	nd;	char nd_[PAD_(u_int)];
	fd_set *	in;	char in_[PAD_(fd_set *)];
	fd_set *	ou;	char ou_[PAD_(fd_set *)];
	fd_set *	ex;	char ex_[PAD_(fd_set *)];
	struct timeval *	tv;	char tv_[PAD_(struct timeval *)];
};
struct	osf1_socket_args {
	int	domain;	char domain_[PAD_(int)];
	int	type;	char type_[PAD_(int)];
	int	protocol;	char protocol_[PAD_(int)];
};
struct	osf1_sigreturn_args {
	struct osigcontext *	sigcntxp;	char sigcntxp_[PAD_(struct osigcontext *)];
};
struct	osf1_sigsuspend_args {
	osf1_sigset_t	ss;	char ss_[PAD_(osf1_sigset_t)];
};
struct	osf1_osigstack_args {
	struct sigstack *	nss;	char nss_[PAD_(struct sigstack *)];
	struct sigstack *	oss;	char oss_[PAD_(struct sigstack *)];
};
struct	osf1_gettimeofday_args {
	struct timeval *	tp;	char tp_[PAD_(struct timeval *)];
	struct timezone *	tzp;	char tzp_[PAD_(struct timezone *)];
};
struct	osf1_getrusage_args {
	long	who;	char who_[PAD_(long)];
	void *	rusage;	char rusage_[PAD_(void *)];
};
struct	osf1_readv_args {
	int	fd;	char fd_[PAD_(int)];
	struct osf1_iovec *	iovp;	char iovp_[PAD_(struct osf1_iovec *)];
	u_int	iovcnt;	char iovcnt_[PAD_(u_int)];
};
struct	osf1_writev_args {
	int	fd;	char fd_[PAD_(int)];
	struct osf1_iovec *	iovp;	char iovp_[PAD_(struct osf1_iovec *)];
	u_int	iovcnt;	char iovcnt_[PAD_(u_int)];
};
struct	osf1_truncate_args {
	char *	path;	char path_[PAD_(char *)];
	off_t	length;	char length_[PAD_(off_t)];
};
struct	osf1_ftruncate_args {
	int	fd;	char fd_[PAD_(int)];
	off_t	length;	char length_[PAD_(off_t)];
};
struct	osf1_setgid_args {
	gid_t	gid;	char gid_[PAD_(gid_t)];
};
struct	osf1_sendto_args {
	int	s;	char s_[PAD_(int)];
	caddr_t	buf;	char buf_[PAD_(caddr_t)];
	size_t	len;	char len_[PAD_(size_t)];
	int	flags;	char flags_[PAD_(int)];
	struct sockaddr *	to;	char to_[PAD_(struct sockaddr *)];
	int	tolen;	char tolen_[PAD_(int)];
};
struct	osf1_getrlimit_args {
	u_int	which;	char which_[PAD_(u_int)];
	struct rlimit *	rlp;	char rlp_[PAD_(struct rlimit *)];
};
struct	osf1_setrlimit_args {
	u_int	which;	char which_[PAD_(u_int)];
	struct rlimit *	rlp;	char rlp_[PAD_(struct rlimit *)];
};
struct	osf1_sigaction_args {
	long	signum;	char signum_[PAD_(long)];
	struct osf1_sigaction *	nsa;	char nsa_[PAD_(struct osf1_sigaction *)];
	struct osf1_sigaction *	osa;	char osa_[PAD_(struct osf1_sigaction *)];
	void *	sigtramp;	char sigtramp_[PAD_(void *)];
};
struct	osf1_statfs_args {
	char *	path;	char path_[PAD_(char *)];
	struct osf1_statfs *	buf;	char buf_[PAD_(struct osf1_statfs *)];
	int	len;	char len_[PAD_(int)];
};
struct	osf1_fstatfs_args {
	int	fd;	char fd_[PAD_(int)];
	struct osf1_statfs *	buf;	char buf_[PAD_(struct osf1_statfs *)];
	int	len;	char len_[PAD_(int)];
};
struct	osf1_msync_args {
	caddr_t	addr;	char addr_[PAD_(caddr_t)];
	size_t	len;	char len_[PAD_(size_t)];
	int	flags;	char flags_[PAD_(int)];
};
struct	osf1_signal_args {
	int	signum;	char signum_[PAD_(int)];
	void *	handler;	char handler_[PAD_(void *)];
};
struct	osf1_sigaltstack_args {
	struct osf1_sigaltstack *	nss;	char nss_[PAD_(struct osf1_sigaltstack *)];
	struct osf1_sigaltstack *	oss;	char oss_[PAD_(struct osf1_sigaltstack *)];
};
struct	osf1_sysinfo_args {
	int	cmd;	char cmd_[PAD_(int)];
	char *	buf;	char buf_[PAD_(char *)];
	long	count;	char count_[PAD_(long)];
};
struct	osf1_proplist_syscall_args {
	register_t dummy;
};
struct	osf1_ntpadjtime_args {
	void *	tp;	char tp_[PAD_(void *)];
};
struct	osf1_ntpgettime_args {
	void *	tp;	char tp_[PAD_(void *)];
};
struct	osf1_pathconf_args {
	char *	path;	char path_[PAD_(char *)];
	int	name;	char name_[PAD_(int)];
};
struct	osf1_fpathconf_args {
	int	fd;	char fd_[PAD_(int)];
	int	name;	char name_[PAD_(int)];
};
struct	osf1_uswitch_args {
	long	cmd;	char cmd_[PAD_(long)];
	long	mask;	char mask_[PAD_(long)];
};
struct	osf1_usleep_thread_args {
	struct timeval *	sleep;	char sleep_[PAD_(struct timeval *)];
	struct timeval *	slept;	char slept_[PAD_(struct timeval *)];
};
struct	osf1_getsysinfo_args {
	u_long	op;	char op_[PAD_(u_long)];
	caddr_t	buffer;	char buffer_[PAD_(caddr_t)];
	u_long	nbytes;	char nbytes_[PAD_(u_long)];
	caddr_t	arg;	char arg_[PAD_(caddr_t)];
	u_long	flag;	char flag_[PAD_(u_long)];
};
struct	osf1_setsysinfo_args {
	u_long	op;	char op_[PAD_(u_long)];
	caddr_t	buffer;	char buffer_[PAD_(caddr_t)];
	u_long	nbytes;	char nbytes_[PAD_(u_long)];
	caddr_t	arg;	char arg_[PAD_(caddr_t)];
	u_long	flag;	char flag_[PAD_(u_long)];
};
int	osf1_wait4 __P((struct proc *, struct osf1_wait4_args *));
int	osf1_mknod __P((struct proc *, struct osf1_mknod_args *));
int	osf1_getfsstat __P((struct proc *, struct osf1_getfsstat_args *));
int	osf1_lseek __P((struct proc *, struct osf1_lseek_args *));
int	osf1_mount __P((struct proc *, struct osf1_mount_args *));
int	osf1_unmount __P((struct proc *, struct osf1_unmount_args *));
int	osf1_setuid __P((struct proc *, struct osf1_setuid_args *));
int	osf1_access __P((struct proc *, struct osf1_access_args *));
int	osf1_kill __P((struct proc *, struct osf1_kill_args *));
int	osf1_set_program_attributes __P((struct proc *, struct osf1_set_program_attributes_args *));
int	osf1_open __P((struct proc *, struct osf1_open_args *));
int	osf1_sigprocmask __P((struct proc *, struct osf1_sigprocmask_args *));
int	osf1_sigpending __P((struct proc *, struct osf1_sigpending_args *));
int	osf1_classcntl __P((struct proc *, struct osf1_classcntl_args *));
int	osf1_ioctl __P((struct proc *, struct osf1_ioctl_args *));
int	osf1_reboot __P((struct proc *, struct osf1_reboot_args *));
int	osf1_execve __P((struct proc *, struct osf1_execve_args *));
int	osf1_stat __P((struct proc *, struct osf1_stat_args *));
int	osf1_lstat __P((struct proc *, struct osf1_lstat_args *));
int	osf1_mmap __P((struct proc *, struct osf1_mmap_args *));
int	osf1_madvise __P((struct proc *, struct osf1_madvise_args *));
int	osf1_setpgrp __P((struct proc *, struct osf1_setpgrp_args *));
int	osf1_setitimer __P((struct proc *, struct osf1_setitimer_args *));
int	osf1_table __P((struct proc *, struct osf1_table_args *));
int	osf1_getitimer __P((struct proc *, struct osf1_getitimer_args *));
int	osf1_fstat __P((struct proc *, struct osf1_fstat_args *));
int	osf1_fcntl __P((struct proc *, struct osf1_fcntl_args *));
int	osf1_select __P((struct proc *, struct osf1_select_args *));
int	osf1_socket __P((struct proc *, struct osf1_socket_args *));
int	osf1_sigreturn __P((struct proc *, struct osf1_sigreturn_args *));
int	osf1_sigsuspend __P((struct proc *, struct osf1_sigsuspend_args *));
int	osf1_osigstack __P((struct proc *, struct osf1_osigstack_args *));
int	osf1_gettimeofday __P((struct proc *, struct osf1_gettimeofday_args *));
int	osf1_getrusage __P((struct proc *, struct osf1_getrusage_args *));
int	osf1_readv __P((struct proc *, struct osf1_readv_args *));
int	osf1_writev __P((struct proc *, struct osf1_writev_args *));
int	osf1_truncate __P((struct proc *, struct osf1_truncate_args *));
int	osf1_ftruncate __P((struct proc *, struct osf1_ftruncate_args *));
int	osf1_setgid __P((struct proc *, struct osf1_setgid_args *));
int	osf1_sendto __P((struct proc *, struct osf1_sendto_args *));
int	osf1_getrlimit __P((struct proc *, struct osf1_getrlimit_args *));
int	osf1_setrlimit __P((struct proc *, struct osf1_setrlimit_args *));
int	osf1_sigaction __P((struct proc *, struct osf1_sigaction_args *));
int	osf1_statfs __P((struct proc *, struct osf1_statfs_args *));
int	osf1_fstatfs __P((struct proc *, struct osf1_fstatfs_args *));
int	osf1_msync __P((struct proc *, struct osf1_msync_args *));
int	osf1_signal __P((struct proc *, struct osf1_signal_args *));
int	osf1_sigaltstack __P((struct proc *, struct osf1_sigaltstack_args *));
int	osf1_sysinfo __P((struct proc *, struct osf1_sysinfo_args *));
int	osf1_proplist_syscall __P((struct proc *, struct osf1_proplist_syscall_args *));
int	osf1_ntpadjtime __P((struct proc *, struct osf1_ntpadjtime_args *));
int	osf1_ntpgettime __P((struct proc *, struct osf1_ntpgettime_args *));
int	osf1_pathconf __P((struct proc *, struct osf1_pathconf_args *));
int	osf1_fpathconf __P((struct proc *, struct osf1_fpathconf_args *));
int	osf1_uswitch __P((struct proc *, struct osf1_uswitch_args *));
int	osf1_usleep_thread __P((struct proc *, struct osf1_usleep_thread_args *));
int	osf1_getsysinfo __P((struct proc *, struct osf1_getsysinfo_args *));
int	osf1_setsysinfo __P((struct proc *, struct osf1_setsysinfo_args *));

#ifdef COMPAT_43


#endif /* COMPAT_43 */

#undef PAD_

#endif /* !_OSF1_SYSPROTO_H_ */
OpenPOWER on IntegriCloud