OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [include/] [sys/] [syscallargs.h] - Blame information for rev 1254

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
//==========================================================================
2
//
3
//      include/sys/syscallargs.h
4
//
5
//      
6
//
7
//==========================================================================
8
//####BSDCOPYRIGHTBEGIN####
9
//
10
// -------------------------------------------
11
//
12
// Portions of this software may have been derived from OpenBSD or other sources,
13
// and are covered by the appropriate copyright disclaimers included herein.
14
//
15
// -------------------------------------------
16
//
17
//####BSDCOPYRIGHTEND####
18
//==========================================================================
19
//#####DESCRIPTIONBEGIN####
20
//
21
// Author(s):    gthomas
22
// Contributors: gthomas
23
// Date:         2000-01-10
24
// Purpose:      
25
// Description:  
26
//              
27
//
28
//####DESCRIPTIONEND####
29
//
30
//==========================================================================
31
 
32
 
33
/*      $OpenBSD: syscallargs.h,v 1.41 1999/08/08 00:32:22 niklas Exp $ */
34
 
35
/*
36
 * System call argument lists.
37
 *
38
 * DO NOT EDIT-- this file is automatically generated.
39
 * created from;        OpenBSD: syscalls.master,v 1.37 1999/06/07 07:17:42 deraadt Exp
40
 */
41
 
42
#ifndef _SYS_SYSCALLARGS_H_
43
#define _SYS_SYSCALLARGS_H_
44
 
45
#define syscallarg(x)   union { x datum; register_t pad; }
46
 
47
#ifdef __ECOS
48
#define SYSCALLARG(a,t) a.t.datum
49
#endif
50
 
51
#ifndef __ECOS
52
struct sys_exit_args {
53
        syscallarg(int) rval;
54
};
55
#endif
56
 
57
struct sys_read_args {
58
        syscallarg(int) fd;
59
        syscallarg(void *) buf;
60
        syscallarg(size_t) nbyte;
61
};
62
extern int sys_read(struct sys_read_args *, register_t *);
63
 
64
struct sys_write_args {
65
        syscallarg(int) fd;
66
        syscallarg(const void *) buf;
67
        syscallarg(size_t) nbyte;
68
};
69
extern int sys_write(struct sys_write_args *, register_t *);
70
 
71
struct sys_open_args {
72
        syscallarg(const char *) path;
73
        syscallarg(int) flags;
74
        syscallarg(int) mode;
75
};
76
 
77
struct sys_close_args {
78
        syscallarg(int) fd;
79
};
80
 
81
#ifndef __ECOS
82
struct sys_wait4_args {
83
        syscallarg(int) pid;
84
        syscallarg(int *) status;
85
        syscallarg(int) options;
86
        syscallarg(struct rusage *) rusage;
87
};
88
 
89
struct compat_43_sys_creat_args {
90
        syscallarg(const char *) path;
91
        syscallarg(int) mode;
92
};
93
 
94
struct sys_link_args {
95
        syscallarg(const char *) path;
96
        syscallarg(const char *) link;
97
};
98
 
99
struct sys_unlink_args {
100
        syscallarg(const char *) path;
101
};
102
 
103
struct sys_chdir_args {
104
        syscallarg(const char *) path;
105
};
106
 
107
struct sys_fchdir_args {
108
        syscallarg(int) fd;
109
};
110
 
111
struct sys_mknod_args {
112
        syscallarg(const char *) path;
113
        syscallarg(int) mode;
114
        syscallarg(dev_t) dev;
115
};
116
 
117
struct sys_chmod_args {
118
        syscallarg(const char *) path;
119
        syscallarg(int) mode;
120
};
121
 
122
struct sys_chown_args {
123
        syscallarg(const char *) path;
124
        syscallarg(uid_t) uid;
125
        syscallarg(gid_t) gid;
126
};
127
 
128
struct sys_obreak_args {
129
        syscallarg(char *) nsize;
130
};
131
 
132
struct sys_ogetfsstat_args {
133
        syscallarg(struct statfs *) buf;
134
        syscallarg(long) bufsize;
135
        syscallarg(int) flags;
136
};
137
 
138
struct compat_43_sys_lseek_args {
139
        syscallarg(int) fd;
140
        syscallarg(long) offset;
141
        syscallarg(int) whence;
142
};
143
 
144
struct sys_mount_args {
145
        syscallarg(const char *) type;
146
        syscallarg(const char *) path;
147
        syscallarg(int) flags;
148
        syscallarg(void *) data;
149
};
150
 
151
struct sys_unmount_args {
152
        syscallarg(const char *) path;
153
        syscallarg(int) flags;
154
};
155
 
156
struct sys_setuid_args {
157
        syscallarg(uid_t) uid;
158
};
159
 
160
struct sys_ptrace_args {
161
        syscallarg(int) req;
162
        syscallarg(pid_t) pid;
163
        syscallarg(caddr_t) addr;
164
        syscallarg(int) data;
165
};
166
 
167
struct sys_recvmsg_args {
168
        syscallarg(int) s;
169
        syscallarg(struct msghdr *) msg;
170
        syscallarg(int) flags;
171
};
172
 
173
struct sys_sendmsg_args {
174
        syscallarg(int) s;
175
        syscallarg(const struct msghdr *) msg;
176
        syscallarg(int) flags;
177
};
178
#endif
179
 
180
struct sys_recvfrom_args {
181
        syscallarg(int) s;
182
        syscallarg(void *) buf;
183
        syscallarg(size_t) len;
184
        syscallarg(int) flags;
185
        syscallarg(struct sockaddr *) from;
186
        syscallarg(socklen_t *) fromlenaddr;
187
};
188
extern int sys_recvfrom(struct sys_recvfrom_args *, register_t *);
189
 
190
struct sys_accept_args {
191
        syscallarg(int) s;
192
        syscallarg(struct sockaddr *) name;
193
        syscallarg(socklen_t *) anamelen;
194
};
195
extern int sys_accept(struct sys_accept_args *, register_t *);
196
 
197
struct sys_getpeername_args {
198
        syscallarg(int) fdes;
199
        syscallarg(struct sockaddr *) asa;
200
        syscallarg(int *) alen;
201
};
202
extern int sys_getpeername(struct sys_getpeername_args *, register_t *);
203
 
204
struct sys_getsockname_args {
205
        syscallarg(int) fdes;
206
        syscallarg(struct sockaddr *) asa;
207
        syscallarg(socklen_t *) alen;
208
};
209
extern int sys_getsockname(struct sys_getsockname_args *, register_t *);
210
 
211
struct sys_access_args {
212
        syscallarg(const char *) path;
213
        syscallarg(int) flags;
214
};
215
 
216
#ifndef __ECOS
217
struct sys_chflags_args {
218
        syscallarg(const char *) path;
219
        syscallarg(u_int) flags;
220
};
221
 
222
struct sys_fchflags_args {
223
        syscallarg(int) fd;
224
        syscallarg(u_int) flags;
225
};
226
 
227
struct sys_kill_args {
228
        syscallarg(int) pid;
229
        syscallarg(int) signum;
230
};
231
 
232
struct compat_43_sys_stat_args {
233
        syscallarg(const char *) path;
234
        syscallarg(struct ostat *) ub;
235
};
236
 
237
struct compat_43_sys_lstat_args {
238
        syscallarg(char *) path;
239
        syscallarg(struct ostat *) ub;
240
};
241
 
242
struct sys_dup_args {
243
        syscallarg(int) fd;
244
};
245
 
246
struct sys_profil_args {
247
        syscallarg(caddr_t) samples;
248
        syscallarg(size_t) size;
249
        syscallarg(u_long) offset;
250
        syscallarg(u_int) scale;
251
};
252
 
253
struct sys_ktrace_args {
254
        syscallarg(const char *) fname;
255
        syscallarg(int) ops;
256
        syscallarg(int) facs;
257
        syscallarg(pid_t) pid;
258
};
259
 
260
struct sys_sigaction_args {
261
        syscallarg(int) signum;
262
        syscallarg(const struct sigaction *) nsa;
263
        syscallarg(struct sigaction *) osa;
264
};
265
 
266
struct sys_sigprocmask_args {
267
        syscallarg(int) how;
268
        syscallarg(sigset_t) mask;
269
};
270
 
271
struct sys_getlogin_args {
272
        syscallarg(char *) namebuf;
273
        syscallarg(u_int) namelen;
274
};
275
 
276
struct sys_setlogin_args {
277
        syscallarg(const char *) namebuf;
278
};
279
 
280
struct sys_acct_args {
281
        syscallarg(const char *) path;
282
};
283
 
284
struct sys_sigaltstack_args {
285
        syscallarg(const struct sigaltstack *) nss;
286
        syscallarg(struct sigaltstack *) oss;
287
};
288
#endif
289
 
290
struct sys_ioctl_args {
291
        syscallarg(int) fd;
292
        syscallarg(u_long) com;
293
        syscallarg(void *) data;
294
};
295
extern int sys_ioctl(struct sys_ioctl_args *, register_t *);
296
 
297
#ifndef __ECOS
298
struct sys_reboot_args {
299
        syscallarg(int) opt;
300
};
301
 
302
struct sys_revoke_args {
303
        syscallarg(const char *) path;
304
};
305
 
306
struct sys_symlink_args {
307
        syscallarg(const char *) path;
308
        syscallarg(const char *) link;
309
};
310
 
311
struct sys_readlink_args {
312
        syscallarg(const char *) path;
313
        syscallarg(char *) buf;
314
        syscallarg(size_t) count;
315
};
316
 
317
struct sys_execve_args {
318
        syscallarg(const char *) path;
319
        syscallarg(char *const *) argp;
320
        syscallarg(char *const *) envp;
321
};
322
 
323
struct sys_umask_args {
324
        syscallarg(int) newmask;
325
};
326
 
327
struct sys_chroot_args {
328
        syscallarg(const char *) path;
329
};
330
 
331
struct compat_43_sys_fstat_args {
332
        syscallarg(int) fd;
333
        syscallarg(struct ostat *) sb;
334
};
335
 
336
struct compat_43_sys_getkerninfo_args {
337
        syscallarg(int) op;
338
        syscallarg(char *) where;
339
        syscallarg(int *) size;
340
        syscallarg(int) arg;
341
};
342
 
343
struct sys_omsync_args {
344
        syscallarg(caddr_t) addr;
345
        syscallarg(size_t) len;
346
};
347
 
348
struct sys_sbrk_args {
349
        syscallarg(int) incr;
350
};
351
 
352
struct sys_sstk_args {
353
        syscallarg(int) incr;
354
};
355
 
356
struct compat_43_sys_mmap_args {
357
        syscallarg(caddr_t) addr;
358
        syscallarg(size_t) len;
359
        syscallarg(int) prot;
360
        syscallarg(int) flags;
361
        syscallarg(int) fd;
362
        syscallarg(long) pos;
363
};
364
 
365
struct sys_ovadvise_args {
366
        syscallarg(int) anom;
367
};
368
 
369
struct sys_munmap_args {
370
        syscallarg(void *) addr;
371
        syscallarg(size_t) len;
372
};
373
 
374
struct sys_mprotect_args {
375
        syscallarg(void *) addr;
376
        syscallarg(size_t) len;
377
        syscallarg(int) prot;
378
};
379
 
380
struct sys_madvise_args {
381
        syscallarg(void *) addr;
382
        syscallarg(size_t) len;
383
        syscallarg(int) behav;
384
};
385
 
386
struct sys_mincore_args {
387
        syscallarg(void *) addr;
388
        syscallarg(size_t) len;
389
        syscallarg(char *) vec;
390
};
391
 
392
struct sys_getgroups_args {
393
        syscallarg(int) gidsetsize;
394
        syscallarg(gid_t *) gidset;
395
};
396
 
397
struct sys_setgroups_args {
398
        syscallarg(int) gidsetsize;
399
        syscallarg(const gid_t *) gidset;
400
};
401
 
402
struct sys_setpgid_args {
403
        syscallarg(pid_t) pid;
404
        syscallarg(int) pgid;
405
};
406
 
407
struct sys_setitimer_args {
408
        syscallarg(int) which;
409
        syscallarg(const struct itimerval *) itv;
410
        syscallarg(struct itimerval *) oitv;
411
};
412
 
413
struct sys_swapon_args {
414
        syscallarg(const char *) name;
415
};
416
 
417
struct sys_getitimer_args {
418
        syscallarg(int) which;
419
        syscallarg(struct itimerval *) itv;
420
};
421
 
422
struct compat_43_sys_gethostname_args {
423
        syscallarg(char *) hostname;
424
        syscallarg(u_int) len;
425
};
426
 
427
struct compat_43_sys_sethostname_args {
428
        syscallarg(char *) hostname;
429
        syscallarg(u_int) len;
430
};
431
 
432
struct sys_dup2_args {
433
        syscallarg(int) from;
434
        syscallarg(int) to;
435
};
436
 
437
struct sys_fcntl_args {
438
        syscallarg(int) fd;
439
        syscallarg(int) cmd;
440
        syscallarg(void *) arg;
441
};
442
#endif
443
 
444
struct sys_select_args {
445
        syscallarg(int) nd;
446
        syscallarg(fd_set *) in;
447
        syscallarg(fd_set *) ou;
448
        syscallarg(fd_set *) ex;
449
        syscallarg(struct timeval *) tv;
450
};
451
extern int sys_select(struct sys_select_args *, register_t *);
452
 
453
#ifndef __ECOS
454
struct sys_fsync_args {
455
        syscallarg(int) fd;
456
};
457
 
458
struct sys_setpriority_args {
459
        syscallarg(int) which;
460
        syscallarg(int) who;
461
        syscallarg(int) prio;
462
};
463
#endif
464
 
465
struct sys_socket_args {
466
        syscallarg(int) domain;
467
        syscallarg(int) type;
468
        syscallarg(int) protocol;
469
};
470
extern int sys_socket(struct sys_socket_args *, register_t *);
471
 
472
struct sys_connect_args {
473
        syscallarg(int) s;
474
        syscallarg(const struct sockaddr *) name;
475
        syscallarg(socklen_t) namelen;
476
};
477
extern int sys_connect(struct sys_connect_args *, register_t *);
478
 
479
#ifndef __ECOS
480
struct compat_43_sys_accept_args {
481
        syscallarg(int) s;
482
        syscallarg(caddr_t) name;
483
        syscallarg(int *) anamelen;
484
};
485
 
486
struct sys_getpriority_args {
487
        syscallarg(int) which;
488
        syscallarg(int) who;
489
};
490
 
491
struct compat_43_sys_send_args {
492
        syscallarg(int) s;
493
        syscallarg(caddr_t) buf;
494
        syscallarg(int) len;
495
        syscallarg(int) flags;
496
};
497
 
498
struct compat_43_sys_recv_args {
499
        syscallarg(int) s;
500
        syscallarg(caddr_t) buf;
501
        syscallarg(int) len;
502
        syscallarg(int) flags;
503
};
504
 
505
struct sys_sigreturn_args {
506
        syscallarg(struct sigcontext *) sigcntxp;
507
};
508
#endif
509
 
510
struct sys_bind_args {
511
        syscallarg(int) s;
512
        syscallarg(const struct sockaddr *) name;
513
        syscallarg(socklen_t) namelen;
514
};
515
extern int sys_bind(struct sys_bind_args *, register_t *);
516
 
517
struct sys_setsockopt_args {
518
        syscallarg(int) s;
519
        syscallarg(int) level;
520
        syscallarg(int) name;
521
        syscallarg(const void *) val;
522
        syscallarg(socklen_t) valsize;
523
};
524
extern int sys_setsockopt(struct sys_setsockopt_args *, register_t *);
525
 
526
struct sys_listen_args {
527
        syscallarg(int) s;
528
        syscallarg(int) backlog;
529
};
530
extern int sys_listen(struct sys_listen_args *, register_t *);
531
 
532
#ifndef __ECOS
533
struct compat_43_sys_sigvec_args {
534
        syscallarg(int) signum;
535
        syscallarg(struct sigvec *) nsv;
536
        syscallarg(struct sigvec *) osv;
537
};
538
 
539
struct compat_43_sys_sigblock_args {
540
        syscallarg(int) mask;
541
};
542
 
543
struct compat_43_sys_sigsetmask_args {
544
        syscallarg(int) mask;
545
};
546
 
547
struct sys_sigsuspend_args {
548
        syscallarg(int) mask;
549
};
550
 
551
struct compat_43_sys_sigstack_args {
552
        syscallarg(struct sigstack *) nss;
553
        syscallarg(struct sigstack *) oss;
554
};
555
 
556
struct compat_43_sys_recvmsg_args {
557
        syscallarg(int) s;
558
        syscallarg(struct omsghdr *) msg;
559
        syscallarg(int) flags;
560
};
561
 
562
struct compat_43_sys_sendmsg_args {
563
        syscallarg(int) s;
564
        syscallarg(caddr_t) msg;
565
        syscallarg(int) flags;
566
};
567
 
568
struct sys_vtrace_args {
569
        syscallarg(int) request;
570
        syscallarg(int) value;
571
};
572
 
573
struct sys_gettimeofday_args {
574
        syscallarg(struct timeval *) tp;
575
        syscallarg(struct timezone *) tzp;
576
};
577
 
578
struct sys_getrusage_args {
579
        syscallarg(int) who;
580
        syscallarg(struct rusage *) rusage;
581
};
582
#endif
583
 
584
struct sys_getsockopt_args {
585
        syscallarg(int) s;
586
        syscallarg(int) level;
587
        syscallarg(int) name;
588
        syscallarg(void *) val;
589
        syscallarg(socklen_t *) avalsize;
590
};
591
extern int sys_getsockopt(struct sys_getsockopt_args *, register_t *);
592
 
593
struct sys_readv_args {
594
        syscallarg(int) fd;
595
        syscallarg(const struct iovec *) iovp;
596
        syscallarg(int) iovcnt;
597
};
598
 
599
struct sys_writev_args {
600
        syscallarg(int) fd;
601
        syscallarg(const struct iovec *) iovp;
602
        syscallarg(int) iovcnt;
603
};
604
 
605
#ifndef __ECOS
606
struct sys_settimeofday_args {
607
        syscallarg(const struct timeval *) tv;
608
        syscallarg(const struct timezone *) tzp;
609
};
610
 
611
struct sys_fchown_args {
612
        syscallarg(int) fd;
613
        syscallarg(uid_t) uid;
614
        syscallarg(gid_t) gid;
615
};
616
 
617
struct sys_fchmod_args {
618
        syscallarg(int) fd;
619
        syscallarg(int) mode;
620
};
621
 
622
struct compat_43_sys_recvfrom_args {
623
        syscallarg(int) s;
624
        syscallarg(caddr_t) buf;
625
        syscallarg(size_t) len;
626
        syscallarg(int) flags;
627
        syscallarg(caddr_t) from;
628
        syscallarg(int *) fromlenaddr;
629
};
630
 
631
struct compat_43_sys_setreuid_args {
632
        syscallarg(int) ruid;
633
        syscallarg(int) euid;
634
};
635
 
636
struct compat_43_sys_setregid_args {
637
        syscallarg(int) rgid;
638
        syscallarg(int) egid;
639
};
640
 
641
struct sys_rename_args {
642
        syscallarg(const char *) from;
643
        syscallarg(const char *) to;
644
};
645
 
646
struct compat_43_sys_truncate_args {
647
        syscallarg(const char *) path;
648
        syscallarg(long) length;
649
};
650
 
651
struct compat_43_sys_ftruncate_args {
652
        syscallarg(int) fd;
653
        syscallarg(long) length;
654
};
655
 
656
struct sys_flock_args {
657
        syscallarg(int) fd;
658
        syscallarg(int) how;
659
};
660
 
661
struct sys_mkfifo_args {
662
        syscallarg(const char *) path;
663
        syscallarg(int) mode;
664
};
665
#endif
666
 
667
struct sys_sendto_args {
668
        syscallarg(int) s;
669
        syscallarg(const void *) buf;
670
        syscallarg(size_t) len;
671
        syscallarg(int) flags;
672
        syscallarg(const struct sockaddr *) to;
673
        syscallarg(socklen_t) tolen;
674
};
675
extern int sys_sendto(struct sys_sendto_args *, register_t *);
676
 
677
struct sys_shutdown_args {
678
        syscallarg(int) s;
679
        syscallarg(int) how;
680
};
681
extern int sys_shutdown(struct sys_shutdown_args *, register_t *);
682
 
683
struct sys_socketpair_args {
684
        syscallarg(int) domain;
685
        syscallarg(int) type;
686
        syscallarg(int) protocol;
687
        syscallarg(int *) rsv;
688
};
689
 
690
#ifndef __ECOS
691
struct sys_mkdir_args {
692
        syscallarg(const char *) path;
693
        syscallarg(int) mode;
694
};
695
 
696
struct sys_rmdir_args {
697
        syscallarg(const char *) path;
698
};
699
 
700
struct sys_utimes_args {
701
        syscallarg(const char *) path;
702
        syscallarg(const struct timeval *) tptr;
703
};
704
 
705
struct sys_adjtime_args {
706
        syscallarg(const struct timeval *) delta;
707
        syscallarg(struct timeval *) olddelta;
708
};
709
 
710
struct compat_43_sys_getpeername_args {
711
        syscallarg(int) fdes;
712
        syscallarg(caddr_t) asa;
713
        syscallarg(socklen_t *) alen;
714
};
715
 
716
struct compat_43_sys_sethostid_args {
717
        syscallarg(int32_t) hostid;
718
};
719
 
720
struct compat_43_sys_getrlimit_args {
721
        syscallarg(int) which;
722
        syscallarg(struct ogetrlimit *) rlp;
723
};
724
 
725
struct compat_43_sys_setrlimit_args {
726
        syscallarg(int) which;
727
        syscallarg(struct ogetrlimit *) rlp;
728
};
729
 
730
struct compat_43_sys_killpg_args {
731
        syscallarg(int) pgid;
732
        syscallarg(int) signum;
733
};
734
 
735
struct sys_quotactl_args {
736
        syscallarg(const char *) path;
737
        syscallarg(int) cmd;
738
        syscallarg(int) uid;
739
        syscallarg(char *) arg;
740
};
741
 
742
struct compat_43_sys_getsockname_args {
743
        syscallarg(int) fdec;
744
        syscallarg(caddr_t) asa;
745
        syscallarg(int *) alen;
746
};
747
 
748
struct sys_nfssvc_args {
749
        syscallarg(int) flag;
750
        syscallarg(void *) argp;
751
};
752
 
753
struct compat_43_sys_getdirentries_args {
754
        syscallarg(int) fd;
755
        syscallarg(char *) buf;
756
        syscallarg(int) count;
757
        syscallarg(long *) basep;
758
};
759
 
760
struct sys_ostatfs_args {
761
        syscallarg(const char *) path;
762
        syscallarg(struct ostatfs *) buf;
763
};
764
 
765
struct sys_ofstatfs_args {
766
        syscallarg(int) fd;
767
        syscallarg(struct ostatfs *) buf;
768
};
769
 
770
struct sys_getfh_args {
771
        syscallarg(const char *) fname;
772
        syscallarg(fhandle_t *) fhp;
773
};
774
 
775
struct compat_09_sys_getdomainname_args {
776
        syscallarg(char *) domainname;
777
        syscallarg(int) len;
778
};
779
 
780
struct compat_09_sys_setdomainname_args {
781
        syscallarg(char *) domainname;
782
        syscallarg(int) len;
783
};
784
 
785
struct compat_09_sys_uname_args {
786
        syscallarg(struct outsname *) name;
787
};
788
 
789
struct sys_sysarch_args {
790
        syscallarg(int) op;
791
        syscallarg(char *) parms;
792
};
793
 
794
struct compat_10_sys_semsys_args {
795
        syscallarg(int) which;
796
        syscallarg(int) a2;
797
        syscallarg(int) a3;
798
        syscallarg(int) a4;
799
        syscallarg(int) a5;
800
};
801
 
802
struct compat_10_sys_msgsys_args {
803
        syscallarg(int) which;
804
        syscallarg(int) a2;
805
        syscallarg(int) a3;
806
        syscallarg(int) a4;
807
        syscallarg(int) a5;
808
        syscallarg(int) a6;
809
};
810
 
811
struct compat_10_sys_shmsys_args {
812
        syscallarg(int) which;
813
        syscallarg(int) a2;
814
        syscallarg(int) a3;
815
        syscallarg(int) a4;
816
};
817
 
818
struct sys_ntp_gettime_args {
819
        syscallarg(struct ntptimeval *) ntvp;
820
};
821
 
822
struct sys_ntp_adjtime_args {
823
        syscallarg(struct timex *) tp;
824
};
825
 
826
struct sys_setgid_args {
827
        syscallarg(gid_t) gid;
828
};
829
 
830
struct sys_setegid_args {
831
        syscallarg(gid_t) egid;
832
};
833
 
834
struct sys_seteuid_args {
835
        syscallarg(uid_t) euid;
836
};
837
 
838
struct lfs_bmapv_args {
839
        syscallarg(fsid_t *) fsidp;
840
        syscallarg(struct block_info *) blkiov;
841
        syscallarg(int) blkcnt;
842
};
843
 
844
struct lfs_markv_args {
845
        syscallarg(fsid_t *) fsidp;
846
        syscallarg(struct block_info *) blkiov;
847
        syscallarg(int) blkcnt;
848
};
849
 
850
struct lfs_segclean_args {
851
        syscallarg(fsid_t *) fsidp;
852
        syscallarg(u_long) segment;
853
};
854
 
855
struct lfs_segwait_args {
856
        syscallarg(fsid_t *) fsidp;
857
        syscallarg(struct timeval *) tv;
858
};
859
 
860
struct sys_stat_args {
861
        syscallarg(const char *) path;
862
        syscallarg(struct stat *) ub;
863
};
864
 
865
struct sys_fstat_args {
866
        syscallarg(int) fd;
867
        syscallarg(struct stat *) sb;
868
};
869
 
870
struct sys_lstat_args {
871
        syscallarg(const char *) path;
872
        syscallarg(struct stat *) ub;
873
};
874
 
875
struct sys_pathconf_args {
876
        syscallarg(const char *) path;
877
        syscallarg(int) name;
878
};
879
 
880
struct sys_fpathconf_args {
881
        syscallarg(int) fd;
882
        syscallarg(int) name;
883
};
884
 
885
struct sys_swapctl_args {
886
        syscallarg(int) cmd;
887
        syscallarg(const void *) arg;
888
        syscallarg(int) misc;
889
};
890
 
891
struct sys_getrlimit_args {
892
        syscallarg(int) which;
893
        syscallarg(struct rlimit *) rlp;
894
};
895
 
896
struct sys_setrlimit_args {
897
        syscallarg(int) which;
898
        syscallarg(const struct rlimit *) rlp;
899
};
900
 
901
struct sys_getdirentries_args {
902
        syscallarg(int) fd;
903
        syscallarg(char *) buf;
904
        syscallarg(int) count;
905
        syscallarg(long *) basep;
906
};
907
 
908
struct sys_mmap_args {
909
        syscallarg(void *) addr;
910
        syscallarg(size_t) len;
911
        syscallarg(int) prot;
912
        syscallarg(int) flags;
913
        syscallarg(int) fd;
914
        syscallarg(long) pad;
915
        syscallarg(off_t) pos;
916
};
917
 
918
struct sys_lseek_args {
919
        syscallarg(int) fd;
920
        syscallarg(int) pad;
921
        syscallarg(off_t) offset;
922
        syscallarg(int) whence;
923
};
924
 
925
struct sys_truncate_args {
926
        syscallarg(const char *) path;
927
        syscallarg(int) pad;
928
        syscallarg(off_t) length;
929
};
930
 
931
struct sys_ftruncate_args {
932
        syscallarg(int) fd;
933
        syscallarg(int) pad;
934
        syscallarg(off_t) length;
935
};
936
 
937
struct sys___sysctl_args {
938
        syscallarg(int *) name;
939
        syscallarg(u_int) namelen;
940
        syscallarg(void *) old;
941
        syscallarg(size_t *) oldlenp;
942
        syscallarg(void *) new;
943
        syscallarg(size_t) newlen;
944
};
945
 
946
struct sys_mlock_args {
947
        syscallarg(const void *) addr;
948
        syscallarg(size_t) len;
949
};
950
 
951
struct sys_munlock_args {
952
        syscallarg(const void *) addr;
953
        syscallarg(size_t) len;
954
};
955
 
956
struct sys_undelete_args {
957
        syscallarg(const char *) path;
958
};
959
 
960
struct sys_futimes_args {
961
        syscallarg(int) fd;
962
        syscallarg(const struct timeval *) tptr;
963
};
964
 
965
struct sys_getpgid_args {
966
        syscallarg(pid_t) pid;
967
};
968
 
969
struct sys_xfspioctl_args {
970
        syscallarg(int) operation;
971
        syscallarg(char *) a_pathP;
972
        syscallarg(int) a_opcode;
973
        syscallarg(struct ViceIoctl *) a_paramsP;
974
        syscallarg(int) a_followSymlinks;
975
};
976
 
977
struct sys___osemctl_args {
978
        syscallarg(int) semid;
979
        syscallarg(int) semnum;
980
        syscallarg(int) cmd;
981
        syscallarg(union semun *) arg;
982
};
983
 
984
struct sys_semget_args {
985
        syscallarg(key_t) key;
986
        syscallarg(int) nsems;
987
        syscallarg(int) semflg;
988
};
989
 
990
struct sys_semop_args {
991
        syscallarg(int) semid;
992
        syscallarg(struct sembuf *) sops;
993
        syscallarg(u_int) nsops;
994
};
995
 
996
struct sys_semconfig_args {
997
        syscallarg(int) flag;
998
};
999
 
1000
struct sys_omsgctl_args {
1001
        syscallarg(int) msqid;
1002
        syscallarg(int) cmd;
1003
        syscallarg(struct omsqid_ds *) buf;
1004
};
1005
 
1006
struct sys_msgget_args {
1007
        syscallarg(key_t) key;
1008
        syscallarg(int) msgflg;
1009
};
1010
 
1011
struct sys_msgsnd_args {
1012
        syscallarg(int) msqid;
1013
        syscallarg(const void *) msgp;
1014
        syscallarg(size_t) msgsz;
1015
        syscallarg(int) msgflg;
1016
};
1017
 
1018
struct sys_msgrcv_args {
1019
        syscallarg(int) msqid;
1020
        syscallarg(void *) msgp;
1021
        syscallarg(size_t) msgsz;
1022
        syscallarg(long) msgtyp;
1023
        syscallarg(int) msgflg;
1024
};
1025
 
1026
struct sys_shmat_args {
1027
        syscallarg(int) shmid;
1028
        syscallarg(const void *) shmaddr;
1029
        syscallarg(int) shmflg;
1030
};
1031
 
1032
struct sys_oshmctl_args {
1033
        syscallarg(int) shmid;
1034
        syscallarg(int) cmd;
1035
        syscallarg(struct oshmid_ds *) buf;
1036
};
1037
 
1038
struct sys_shmdt_args {
1039
        syscallarg(const void *) shmaddr;
1040
};
1041
 
1042
struct sys_shmget_args {
1043
        syscallarg(key_t) key;
1044
        syscallarg(int) size;
1045
        syscallarg(int) shmflg;
1046
};
1047
 
1048
struct sys_clock_gettime_args {
1049
        syscallarg(clockid_t) clock_id;
1050
        syscallarg(struct timespec *) tp;
1051
};
1052
 
1053
struct sys_clock_settime_args {
1054
        syscallarg(clockid_t) clock_id;
1055
        syscallarg(const struct timespec *) tp;
1056
};
1057
 
1058
struct sys_clock_getres_args {
1059
        syscallarg(clockid_t) clock_id;
1060
        syscallarg(struct timespec *) tp;
1061
};
1062
 
1063
struct sys_nanosleep_args {
1064
        syscallarg(const struct timespec *) rqtp;
1065
        syscallarg(struct timespec *) rmtp;
1066
};
1067
 
1068
struct sys_minherit_args {
1069
        syscallarg(void *) addr;
1070
        syscallarg(size_t) len;
1071
        syscallarg(int) inherit;
1072
};
1073
 
1074
struct sys_rfork_args {
1075
        syscallarg(int) flags;
1076
};
1077
 
1078
struct sys_poll_args {
1079
        syscallarg(struct pollfd *) fds;
1080
        syscallarg(unsigned long) nfds;
1081
        syscallarg(int) timeout;
1082
};
1083
 
1084
struct sys_lchown_args {
1085
        syscallarg(const char *) path;
1086
        syscallarg(uid_t) uid;
1087
        syscallarg(gid_t) gid;
1088
};
1089
 
1090
struct sys_getsid_args {
1091
        syscallarg(pid_t) pid;
1092
};
1093
 
1094
struct sys_msync_args {
1095
        syscallarg(void *) addr;
1096
        syscallarg(size_t) len;
1097
        syscallarg(int) flags;
1098
};
1099
 
1100
struct sys___semctl_args {
1101
        syscallarg(int) semid;
1102
        syscallarg(int) semnum;
1103
        syscallarg(int) cmd;
1104
        syscallarg(union semun *) arg;
1105
};
1106
 
1107
struct sys_shmctl_args {
1108
        syscallarg(int) shmid;
1109
        syscallarg(int) cmd;
1110
        syscallarg(struct shmid_ds *) buf;
1111
};
1112
 
1113
struct sys_msgctl_args {
1114
        syscallarg(int) msqid;
1115
        syscallarg(int) cmd;
1116
        syscallarg(struct msqid_ds *) buf;
1117
};
1118
 
1119
struct sys_getfsstat_args {
1120
        syscallarg(struct statfs *) buf;
1121
        syscallarg(size_t) bufsize;
1122
        syscallarg(int) flags;
1123
};
1124
 
1125
struct sys_statfs_args {
1126
        syscallarg(const char *) path;
1127
        syscallarg(struct statfs *) buf;
1128
};
1129
 
1130
struct sys_fstatfs_args {
1131
        syscallarg(int) fd;
1132
        syscallarg(struct statfs *) buf;
1133
};
1134
 
1135
struct sys_pipe_args {
1136
        syscallarg(int *) fdp;
1137
};
1138
 
1139
/*
1140
 * System call prototypes.
1141
 */
1142
 
1143
int     sys_exit        __P((struct proc *, void *, register_t *));
1144
int     sys_fork        __P((struct proc *, void *, register_t *));
1145
int     sys_read        __P((struct proc *, void *, register_t *));
1146
int     sys_write       __P((struct proc *, void *, register_t *));
1147
int     sys_open        __P((struct proc *, void *, register_t *));
1148
int     sys_close       __P((struct proc *, void *, register_t *));
1149
int     sys_wait4       __P((struct proc *, void *, register_t *));
1150
int     compat_43_sys_creat     __P((struct proc *, void *, register_t *));
1151
int     sys_link        __P((struct proc *, void *, register_t *));
1152
int     sys_unlink      __P((struct proc *, void *, register_t *));
1153
int     sys_chdir       __P((struct proc *, void *, register_t *));
1154
int     sys_fchdir      __P((struct proc *, void *, register_t *));
1155
int     sys_mknod       __P((struct proc *, void *, register_t *));
1156
int     sys_chmod       __P((struct proc *, void *, register_t *));
1157
int     sys_chown       __P((struct proc *, void *, register_t *));
1158
int     sys_obreak      __P((struct proc *, void *, register_t *));
1159
int     sys_ogetfsstat  __P((struct proc *, void *, register_t *));
1160
int     compat_43_sys_lseek     __P((struct proc *, void *, register_t *));
1161
int     sys_getpid      __P((struct proc *, void *, register_t *));
1162
int     sys_mount       __P((struct proc *, void *, register_t *));
1163
int     sys_unmount     __P((struct proc *, void *, register_t *));
1164
int     sys_setuid      __P((struct proc *, void *, register_t *));
1165
int     sys_getuid      __P((struct proc *, void *, register_t *));
1166
int     sys_geteuid     __P((struct proc *, void *, register_t *));
1167
int     sys_ptrace      __P((struct proc *, void *, register_t *));
1168
int     sys_recvmsg     __P((struct proc *, void *, register_t *));
1169
int     sys_sendmsg     __P((struct proc *, void *, register_t *));
1170
int     sys_recvfrom    __P((struct proc *, void *, register_t *));
1171
int     sys_accept      __P((struct proc *, void *, register_t *));
1172
int     sys_getpeername __P((struct proc *, void *, register_t *));
1173
int     sys_getsockname __P((struct proc *, void *, register_t *));
1174
int     sys_access      __P((struct proc *, void *, register_t *));
1175
int     sys_chflags     __P((struct proc *, void *, register_t *));
1176
int     sys_fchflags    __P((struct proc *, void *, register_t *));
1177
int     sys_sync        __P((struct proc *, void *, register_t *));
1178
int     sys_kill        __P((struct proc *, void *, register_t *));
1179
int     compat_43_sys_stat      __P((struct proc *, void *, register_t *));
1180
int     sys_getppid     __P((struct proc *, void *, register_t *));
1181
int     compat_43_sys_lstat     __P((struct proc *, void *, register_t *));
1182
int     sys_dup __P((struct proc *, void *, register_t *));
1183
int     sys_opipe       __P((struct proc *, void *, register_t *));
1184
int     sys_getegid     __P((struct proc *, void *, register_t *));
1185
int     sys_profil      __P((struct proc *, void *, register_t *));
1186
#ifdef KTRACE
1187
int     sys_ktrace      __P((struct proc *, void *, register_t *));
1188
#else
1189
#endif
1190
int     sys_sigaction   __P((struct proc *, void *, register_t *));
1191
int     sys_getgid      __P((struct proc *, void *, register_t *));
1192
int     sys_sigprocmask __P((struct proc *, void *, register_t *));
1193
int     sys_getlogin    __P((struct proc *, void *, register_t *));
1194
int     sys_setlogin    __P((struct proc *, void *, register_t *));
1195
int     sys_acct        __P((struct proc *, void *, register_t *));
1196
int     sys_sigpending  __P((struct proc *, void *, register_t *));
1197
int     sys_sigaltstack __P((struct proc *, void *, register_t *));
1198
int     sys_ioctl       __P((struct proc *, void *, register_t *));
1199
int     sys_reboot      __P((struct proc *, void *, register_t *));
1200
int     sys_revoke      __P((struct proc *, void *, register_t *));
1201
int     sys_symlink     __P((struct proc *, void *, register_t *));
1202
int     sys_readlink    __P((struct proc *, void *, register_t *));
1203
int     sys_execve      __P((struct proc *, void *, register_t *));
1204
int     sys_umask       __P((struct proc *, void *, register_t *));
1205
int     sys_chroot      __P((struct proc *, void *, register_t *));
1206
int     compat_43_sys_fstat     __P((struct proc *, void *, register_t *));
1207
int     compat_43_sys_getkerninfo       __P((struct proc *, void *, register_t *));
1208
int     compat_43_sys_getpagesize       __P((struct proc *, void *, register_t *));
1209
int     sys_omsync      __P((struct proc *, void *, register_t *));
1210
int     sys_vfork       __P((struct proc *, void *, register_t *));
1211
int     sys_sbrk        __P((struct proc *, void *, register_t *));
1212
int     sys_sstk        __P((struct proc *, void *, register_t *));
1213
int     compat_43_sys_mmap      __P((struct proc *, void *, register_t *));
1214
int     sys_ovadvise    __P((struct proc *, void *, register_t *));
1215
int     sys_munmap      __P((struct proc *, void *, register_t *));
1216
int     sys_mprotect    __P((struct proc *, void *, register_t *));
1217
int     sys_madvise     __P((struct proc *, void *, register_t *));
1218
int     sys_mincore     __P((struct proc *, void *, register_t *));
1219
int     sys_getgroups   __P((struct proc *, void *, register_t *));
1220
int     sys_setgroups   __P((struct proc *, void *, register_t *));
1221
int     sys_getpgrp     __P((struct proc *, void *, register_t *));
1222
int     sys_setpgid     __P((struct proc *, void *, register_t *));
1223
int     sys_setitimer   __P((struct proc *, void *, register_t *));
1224
int     compat_43_sys_wait      __P((struct proc *, void *, register_t *));
1225
int     sys_swapon      __P((struct proc *, void *, register_t *));
1226
int     sys_getitimer   __P((struct proc *, void *, register_t *));
1227
int     compat_43_sys_gethostname       __P((struct proc *, void *, register_t *));
1228
int     compat_43_sys_sethostname       __P((struct proc *, void *, register_t *));
1229
int     compat_43_sys_getdtablesize     __P((struct proc *, void *, register_t *));
1230
int     sys_dup2        __P((struct proc *, void *, register_t *));
1231
int     sys_fcntl       __P((struct proc *, void *, register_t *));
1232
int     sys_select      __P((struct proc *, void *, register_t *));
1233
int     sys_fsync       __P((struct proc *, void *, register_t *));
1234
int     sys_setpriority __P((struct proc *, void *, register_t *));
1235
int     sys_socket      __P((struct proc *, void *, register_t *));
1236
int     sys_connect     __P((struct proc *, void *, register_t *));
1237
int     compat_43_sys_accept    __P((struct proc *, void *, register_t *));
1238
int     sys_getpriority __P((struct proc *, void *, register_t *));
1239
int     compat_43_sys_send      __P((struct proc *, void *, register_t *));
1240
int     compat_43_sys_recv      __P((struct proc *, void *, register_t *));
1241
int     sys_sigreturn   __P((struct proc *, void *, register_t *));
1242
int     sys_bind        __P((struct proc *, void *, register_t *));
1243
int     sys_setsockopt  __P((struct proc *, void *, register_t *));
1244
int     sys_listen      __P((struct proc *, void *, register_t *));
1245
int     compat_43_sys_sigvec    __P((struct proc *, void *, register_t *));
1246
int     compat_43_sys_sigblock  __P((struct proc *, void *, register_t *));
1247
int     compat_43_sys_sigsetmask        __P((struct proc *, void *, register_t *));
1248
int     sys_sigsuspend  __P((struct proc *, void *, register_t *));
1249
int     compat_43_sys_sigstack  __P((struct proc *, void *, register_t *));
1250
int     compat_43_sys_recvmsg   __P((struct proc *, void *, register_t *));
1251
int     compat_43_sys_sendmsg   __P((struct proc *, void *, register_t *));
1252
#ifdef TRACE
1253
int     sys_vtrace      __P((struct proc *, void *, register_t *));
1254
#else
1255
#endif
1256
int     sys_gettimeofday        __P((struct proc *, void *, register_t *));
1257
int     sys_getrusage   __P((struct proc *, void *, register_t *));
1258
int     sys_getsockopt  __P((struct proc *, void *, register_t *));
1259
int     sys_readv       __P((struct proc *, void *, register_t *));
1260
int     sys_writev      __P((struct proc *, void *, register_t *));
1261
int     sys_settimeofday        __P((struct proc *, void *, register_t *));
1262
int     sys_fchown      __P((struct proc *, void *, register_t *));
1263
int     sys_fchmod      __P((struct proc *, void *, register_t *));
1264
int     compat_43_sys_recvfrom  __P((struct proc *, void *, register_t *));
1265
int     compat_43_sys_setreuid  __P((struct proc *, void *, register_t *));
1266
int     compat_43_sys_setregid  __P((struct proc *, void *, register_t *));
1267
int     sys_rename      __P((struct proc *, void *, register_t *));
1268
int     compat_43_sys_truncate  __P((struct proc *, void *, register_t *));
1269
int     compat_43_sys_ftruncate __P((struct proc *, void *, register_t *));
1270
int     sys_flock       __P((struct proc *, void *, register_t *));
1271
int     sys_mkfifo      __P((struct proc *, void *, register_t *));
1272
int     sys_sendto      __P((struct proc *, void *, register_t *));
1273
int     sys_shutdown    __P((struct proc *, void *, register_t *));
1274
int     sys_socketpair  __P((struct proc *, void *, register_t *));
1275
int     sys_mkdir       __P((struct proc *, void *, register_t *));
1276
int     sys_rmdir       __P((struct proc *, void *, register_t *));
1277
int     sys_utimes      __P((struct proc *, void *, register_t *));
1278
int     sys_adjtime     __P((struct proc *, void *, register_t *));
1279
int     compat_43_sys_getpeername       __P((struct proc *, void *, register_t *));
1280
int     compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
1281
int     compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
1282
int     compat_43_sys_getrlimit __P((struct proc *, void *, register_t *));
1283
int     compat_43_sys_setrlimit __P((struct proc *, void *, register_t *));
1284
int     compat_43_sys_killpg    __P((struct proc *, void *, register_t *));
1285
int     sys_setsid      __P((struct proc *, void *, register_t *));
1286
int     sys_quotactl    __P((struct proc *, void *, register_t *));
1287
int     compat_43_sys_quota     __P((struct proc *, void *, register_t *));
1288
int     compat_43_sys_getsockname       __P((struct proc *, void *, register_t *));
1289
#if defined(NFSCLIENT) || defined(NFSSERVER)
1290
int     sys_nfssvc      __P((struct proc *, void *, register_t *));
1291
#else
1292
#endif
1293
int     compat_43_sys_getdirentries     __P((struct proc *, void *, register_t *));
1294
int     sys_ostatfs     __P((struct proc *, void *, register_t *));
1295
int     sys_ofstatfs    __P((struct proc *, void *, register_t *));
1296
#if defined(NFSCLIENT) || defined(NFSSERVER)
1297
int     sys_getfh       __P((struct proc *, void *, register_t *));
1298
#else
1299
#endif
1300
int     compat_09_sys_getdomainname     __P((struct proc *, void *, register_t *));
1301
int     compat_09_sys_setdomainname     __P((struct proc *, void *, register_t *));
1302
int     compat_09_sys_uname     __P((struct proc *, void *, register_t *));
1303
int     sys_sysarch     __P((struct proc *, void *, register_t *));
1304
#if defined(SYSVSEM) && !defined(alpha)
1305
int     compat_10_sys_semsys    __P((struct proc *, void *, register_t *));
1306
#else
1307
#endif
1308
#if defined(SYSVMSG) && !defined(alpha)
1309
int     compat_10_sys_msgsys    __P((struct proc *, void *, register_t *));
1310
#else
1311
#endif
1312
#if defined(SYSVSHM) && !defined(alpha)
1313
int     compat_10_sys_shmsys    __P((struct proc *, void *, register_t *));
1314
#else
1315
#endif
1316
#ifdef NTP
1317
int     sys_ntp_gettime __P((struct proc *, void *, register_t *));
1318
int     sys_ntp_adjtime __P((struct proc *, void *, register_t *));
1319
#else
1320
#endif
1321
int     sys_setgid      __P((struct proc *, void *, register_t *));
1322
int     sys_setegid     __P((struct proc *, void *, register_t *));
1323
int     sys_seteuid     __P((struct proc *, void *, register_t *));
1324
#ifdef LFS
1325
int     lfs_bmapv       __P((struct proc *, void *, register_t *));
1326
int     lfs_markv       __P((struct proc *, void *, register_t *));
1327
int     lfs_segclean    __P((struct proc *, void *, register_t *));
1328
int     lfs_segwait     __P((struct proc *, void *, register_t *));
1329
#else
1330
#endif
1331
int     sys_stat        __P((struct proc *, void *, register_t *));
1332
int     sys_fstat       __P((struct proc *, void *, register_t *));
1333
int     sys_lstat       __P((struct proc *, void *, register_t *));
1334
int     sys_pathconf    __P((struct proc *, void *, register_t *));
1335
int     sys_fpathconf   __P((struct proc *, void *, register_t *));
1336
int     sys_swapctl     __P((struct proc *, void *, register_t *));
1337
int     sys_getrlimit   __P((struct proc *, void *, register_t *));
1338
int     sys_setrlimit   __P((struct proc *, void *, register_t *));
1339
int     sys_getdirentries       __P((struct proc *, void *, register_t *));
1340
int     sys_mmap        __P((struct proc *, void *, register_t *));
1341
int     sys_lseek       __P((struct proc *, void *, register_t *));
1342
int     sys_truncate    __P((struct proc *, void *, register_t *));
1343
int     sys_ftruncate   __P((struct proc *, void *, register_t *));
1344
int     sys___sysctl    __P((struct proc *, void *, register_t *));
1345
int     sys_mlock       __P((struct proc *, void *, register_t *));
1346
int     sys_munlock     __P((struct proc *, void *, register_t *));
1347
int     sys_undelete    __P((struct proc *, void *, register_t *));
1348
int     sys_futimes     __P((struct proc *, void *, register_t *));
1349
int     sys_getpgid     __P((struct proc *, void *, register_t *));
1350
int     sys_xfspioctl   __P((struct proc *, void *, register_t *));
1351
#ifdef LKM
1352
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1353
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1354
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1355
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1356
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1357
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1358
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1359
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1360
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1361
int     sys_lkmnosys    __P((struct proc *, void *, register_t *));
1362
#else   /* !LKM */
1363
#endif  /* !LKM */
1364
#ifdef SYSVSEM
1365
int     sys___osemctl   __P((struct proc *, void *, register_t *));
1366
int     sys_semget      __P((struct proc *, void *, register_t *));
1367
int     sys_semop       __P((struct proc *, void *, register_t *));
1368
int     sys_semconfig   __P((struct proc *, void *, register_t *));
1369
#else
1370
#endif
1371
#ifdef SYSVMSG
1372
int     sys_omsgctl     __P((struct proc *, void *, register_t *));
1373
int     sys_msgget      __P((struct proc *, void *, register_t *));
1374
int     sys_msgsnd      __P((struct proc *, void *, register_t *));
1375
int     sys_msgrcv      __P((struct proc *, void *, register_t *));
1376
#else
1377
#endif
1378
#ifdef SYSVSHM
1379
int     sys_shmat       __P((struct proc *, void *, register_t *));
1380
int     sys_oshmctl     __P((struct proc *, void *, register_t *));
1381
int     sys_shmdt       __P((struct proc *, void *, register_t *));
1382
int     sys_shmget      __P((struct proc *, void *, register_t *));
1383
#else
1384
#endif
1385
int     sys_clock_gettime       __P((struct proc *, void *, register_t *));
1386
int     sys_clock_settime       __P((struct proc *, void *, register_t *));
1387
int     sys_clock_getres        __P((struct proc *, void *, register_t *));
1388
int     sys_nanosleep   __P((struct proc *, void *, register_t *));
1389
int     sys_minherit    __P((struct proc *, void *, register_t *));
1390
int     sys_rfork       __P((struct proc *, void *, register_t *));
1391
int     sys_poll        __P((struct proc *, void *, register_t *));
1392
int     sys_issetugid   __P((struct proc *, void *, register_t *));
1393
int     sys_lchown      __P((struct proc *, void *, register_t *));
1394
int     sys_getsid      __P((struct proc *, void *, register_t *));
1395
int     sys_msync       __P((struct proc *, void *, register_t *));
1396
#ifdef SYSVSEM
1397
int     sys___semctl    __P((struct proc *, void *, register_t *));
1398
#else
1399
#endif
1400
#ifdef SYSVSHM
1401
int     sys_shmctl      __P((struct proc *, void *, register_t *));
1402
#else
1403
#endif
1404
#ifdef SYSVMSG
1405
int     sys_msgctl      __P((struct proc *, void *, register_t *));
1406
#else
1407
#endif
1408
int     sys_getfsstat   __P((struct proc *, void *, register_t *));
1409
int     sys_statfs      __P((struct proc *, void *, register_t *));
1410
int     sys_fstatfs     __P((struct proc *, void *, register_t *));
1411
int     sys_pipe        __P((struct proc *, void *, register_t *));
1412
#endif
1413
 
1414
#endif // _SYS_SYSCALLARGS_H_

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.