1 $NetBSD: syscalls.master,v 1.7 2007/02/09 21:55:22 ad Exp $
3 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
5 ; NetBSD COMPAT_MACH PowerPC-only fast traos calls name/number "master" file.
6 ; This is used for the negative mach syscalls.
7 ; (See syscalls.conf to see what it is processed into.)
9 ; Fields: number type [type-dependent ...]
10 ; number system call number, must be in order
11 ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
12 ; the compatibility options defined in syscalls.conf.
16 ; OBSOL obsolete, not included in system
17 ; UNIMPL unimplemented, not included in system
18 ; NODEF included, but don't define the syscall number
19 ; NOARGS included, but don't define the syscall args structure
21 ; The compat options are defined in the syscalls.conf file, and the
22 ; compat option name is prefixed to the syscall name. Other than
23 ; that, they're like NODEF (for 'compat' options), or STD (for
24 ; 'libcompat' options).
26 ; The type-dependent arguments are as follows:
27 ; For STD, NODEF, NOARGS, and compat syscalls:
28 ; { pseudo-proto } [alias]
32 ; #ifdef's, etc. may be included, and are copied to the output files.
33 ; #include's are copied to the syscall names and switch definition files only.
35 #include <sys/param.h>
36 #include <sys/systm.h>
37 #include <sys/signal.h>
38 #include <sys/mount.h>
40 #include <sys/syscallargs.h>
42 #include <compat/mach/mach_types.h>
43 #include <compat/mach/arch/powerpc/fasttraps/mach_fasttraps_syscallargs.h>
47 1 STD { void|mach_sys||cthread_set_self(mach_cproc_t p); }
48 2 STD { mach_cproc_t|mach_sys||cthread_self(void); }
49 3 STD { int|mach_sys||processor_facilities_used(void); }
50 4 STD { void|mach_sys||load_msr(void); }
56 10 UNIMPL special_bluebox