/*
 * System call numbers.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from; 
 */

#ifdef	sun4
#define	SYS_syscall	0
#else
#define	SYS_syscall	0
#endif
#define	SYS_exit	1
#define	SYS_fork	2
#define	SYS_read	3
#define	SYS_write	4
				/* 5 is old open */
#define	SYS_close	6
#define	SYS_wait4	7
				/* 8 is old creat */
#define	SYS_link	9
#define	SYS_unlink	10
#define	SYS_execv	11
#define	SYS_chdir	12
#define	SYS_fchdir	13
#define	SYS_mknod	14
#define	SYS_chmod	15
#define	SYS_chown	16
#define	SYS_obreak	17
#define	SYS_getfsstat	18
#define	SYS_lseek	19
#define	SYS_getpid	20
#define	SYS_mount	21
#define	SYS_unmount	22
#define	SYS_setuid	23
#define	SYS_getuid	24
#define	SYS_exec_with_loader	25
#ifdef	sun
#define	SYS_ptrace	26
#else
#define	SYS_ptrace	26
#endif
#ifdef	COMPAT_43
#define	SYS_nrecvmsg	27
#define	SYS_nsendmsg	28
#define	SYS_nrecvfrom	29
#define	SYS_naccept	30
#define	SYS_ngetpeername	31
#define	SYS_ngetsockname	32
#else
#define	SYS_recvmsg	27
#define	SYS_sendmsg	28
#define	SYS_recvfrom	29
#define	SYS_accept	30
#define	SYS_getpeername	31
#define	SYS_getsockname	32
#endif
#define	SYS_access	33
#define	SYS_chflags	34
#define	SYS_fchflags	35
#define	SYS_sync	36
#define	SYS_kill	37
				/* 38 is old stat */
#define	SYS_setpgid	39
				/* 40 is old lstat */
#define	SYS_dup	41
#define	SYS_pipe	42
#define	SYS_set_program_attributes	43
#define	SYS_profil	44
#define	SYS_open	45
#if	defined(balance) || defined(mips)
#define	SYS_sigaction	46
#else
#define	SYS_sigaction	46
#endif
#define	SYS_getgid	47
#define	SYS_sigprocmask	48
#define	SYS_getlogin	49
#define	SYS_setlogin	50
#define	SYS_acct	51
#define	SYS_sigpending	52
#ifdef	notyet
#define	SYS_sigaltstack	53
#else
#endif
#if	MACH_AFS
#define	SYS_afs_xioctl	54
#else
#define	SYS_ioctl	54
#endif
#define	SYS_reboot	55
#define	SYS_revoke	56
#define	SYS_symlink	57
#define	SYS_readlink	58
#define	SYS_execve	59
#define	SYS_umask	60
#define	SYS_chroot	61
				/* 62 is old fstat */
#define	SYS_getpgrp	63
#define	SYS_getpagesize	64
#ifdef	notyet
#define	SYS_msync	65
#else
#define	SYS_mremap	65
#endif
#define	SYS_vfork	66
#define	SYS_stat	67
#define	SYS_lstat	68
#define	SYS_sbrk	69
#define	SYS_sstk	70
#define	SYS_mmap	71
#define	SYS_ovadvise	72
#define	SYS_munmap	73
#define	SYS_mprotect	74
#define	SYS_madvise	75
				/* 76 is old vhangup */
#define	SYS_kmodcall	77
#define	SYS_mincore	78
#define	SYS_getgroups	79
#if	MACH_AFS
#define	SYS_afs_xsetgroups	80
#else
#define	SYS_setgroups	80
#endif
				/* 81 is old getpgrp */
#define	SYS_setpgrp	82
#define	SYS_setitimer	83
#ifdef	mips
				/* 84 is old wait */
#else
				/* 84 is old wait */
#endif
#define	SYS_table	85
#define	SYS_getitimer	86
#define	SYS_gethostname	87
#define	SYS_sethostname	88
#define	SYS_getdtablesize	89
#define	SYS_dup2	90
#define	SYS_fstat	91
#define	SYS_fcntl	92
#define	SYS_select	93
#define	SYS_poll	94
#define	SYS_fsync	95
#define	SYS_setpriority	96
#define	SYS_socket	97
#define	SYS_connect	98
#ifdef	COMPAT_43
#define	SYS_accept	99
#else
				/* 99 is old accept */
#endif
#define	SYS_getpriority	100
#ifdef	COMPAT_43
#define	SYS_send	101
#define	SYS_recv	102
#else
				/* 101 is old send */
				/* 102 is old recv */
#endif
#define	SYS_sigreturn	103
#define	SYS_bind	104
#define	SYS_setsockopt	105
#define	SYS_listen	106
#define	SYS_plock	107
#if	defined(balance) || defined(mips)
				/* 108 is old sigvec */
#else
				/* 108 is old sigvec */
#endif
				/* 109 is old sigblock */
				/* 110 is old sigsetmask */
#define	SYS_sigsuspend	111
#define	SYS_sigstack	112
#ifdef	COMPAT_43
#define	SYS_recvmsg	113
#define	SYS_sendmsg	114
#else
				/* 113 is old recvmsg */
				/* 114 is old sendmsg */
#endif
#ifdef	TRACE
#define	SYS_vtrace	115
#else
				/* 115 is obsolete vtrace */
#endif
#define	SYS_gettimeofday	116
#define	SYS_getrusage	117
#define	SYS_getsockopt	118
#if	defined(vax) || defined(i386)
#define	SYS_resuba	119
#else
#endif
#define	SYS_readv	120
#define	SYS_writev	121
#define	SYS_settimeofday	122
#define	SYS_fchown	123
#define	SYS_fchmod	124
#ifdef	COMPAT_43
#define	SYS_recvfrom	125
#else
				/* 125 is old recvfrom */
#endif
#define	SYS_setreuid	126
#define	SYS_setregid	127
#define	SYS_rename	128
#define	SYS_truncate	129
#define	SYS_ftruncate	130
#if	MACH_AFS
#define	SYS_afs_xflock	131
#else
#define	SYS_flock	131
#endif
#define	SYS_setgid	132
#define	SYS_sendto	133
#define	SYS_shutdown	134
#define	SYS_socketpair	135
#define	SYS_mkdir	136
#define	SYS_rmdir	137
#define	SYS_utimes	138
				/* 139 is obsolete 4.2 sigreturn */
#define	SYS_adjtime	140
#ifdef	COMPAT_43
#define	SYS_getpeername	141
#else
				/* 141 is old getpeername */
#endif
#define	SYS_gethostid	142
#define	SYS_sethostid	143
#define	SYS_getrlimit	144
#define	SYS_setrlimit	145
				/* 146 is old killpg */
#define	SYS_setsid	147
#define	SYS_quotactl	148
#define	SYS_oldquota	149
#ifdef	COMPAT_43
#define	SYS_getsockname	150
#else
				/* 150 is old getsockname */
#endif
#define	GENERIC	1
#ifdef	ibmrt
#undef	GENERIC
#define	SYS_exect	151
#define	SYS_getfpemulator	153
#if	MACH_AFS
				/* 154 is old iopen */
				/* 155 is old iread */
				/* 156 is old iwrite */
				/* 157 is old iinc */
				/* 158 is old idec */
				/* 159 is old pioctl */
				/* 160 is old setpag */
				/* 161 is old icreate */
#else
#endif
#define	SYS_getfloatstate	167
#define	SYS_setfloatstate	168
#define	SYS_nfssvc	169
#define	SYS_getdirentries	170
#define	SYS_statfs	171
#define	SYS_fstatfs	172
				/* 173 is obsolete vfsunmount */
#define	SYS_async_daemon	174
#define	SYS_getfh	175
#define	SYS_getdomainname	176
#define	SYS_setdomainname	177
				/* 178 is obsolete quotactl */
				/* 179 is obsolete exportfs */
				/* 180 is obsolete vfsmount */
#endif	/* ibmrt */
#ifdef	sun
#undef	GENERIC
#define	SYS_nfssvc	155
#define	SYS_getdirentries	156
#define	SYS_statfs	157
#define	SYS_fstatfs	158
				/* 159 is obsolete vfsunmount */
#define	SYS_async_daemon	160
#define	SYS_getfh	161
#define	SYS_getdomainname	162
#define	SYS_setdomainname	163
				/* 165 is obsolete quotactl */
				/* 166 is obsolete exportfs */
				/* 167 is obsolete vfsmount */
#if	MACH_AFS
				/* 168 is old pioctl */
				/* 169 is old setpag */
				/* 170 is old icreate */
				/* 171 is old iopen */
				/* 172 is old iread */
				/* 173 is old iwrite */
				/* 174 is old iinc */
				/* 175 is old idec */
				/* 180 is old afs_call */
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#endif	/* sun */
#if	defined(vax) || defined(i386)
#undef	GENERIC
#if	MACH_AFS
				/* 151 is old icreate */
				/* 152 is old iopen */
				/* 153 is old iread */
				/* 154 is old iwrite */
				/* 155 is old iinc */
				/* 156 is old idec */
				/* 157 is old pioctl */
				/* 158 is old setpag */
#else
#endif
#define	SYS_nfssvc	159
#define	SYS_statfs	160
#define	SYS_fstatfs	161
				/* 162 is obsolete vfsunmount */
#define	SYS_async_daemon	163
#define	SYS_getdirentries	164
#define	SYS_getfh	165
				/* 166 is obsolete quotactl */
				/* 167 is obsolete exportfs */
				/* 168 is obsolete vfsmount */
#define	SYS_getdomainname	169
#define	SYS_setdomainname	170
#if	MACH_AFS
				/* 171 is old pioctl */
				/* 172 is old setpag */
				/* 173 is old icreate */
				/* 174 is old iopen */
				/* 175 is old iread */
				/* 176 is old iwrite */
				/* 177 is old iinc */
				/* 178 is old idec */
				/* 179 is old afs_call */
#else
#endif
#define	SYS_clx_sys	180
#endif	/* defined(vax) || defined(i386) */
#if	defined(balance)
#undef	GENERIC
#define	SYS_getdirentries	151
#define	SYS_tmp_ctl	152
#define	SYS_universe	153
#define	SYS_nfssvc	155
#define	SYS_statfs	157
#define	SYS_fstatfs	158
				/* 159 is obsolete vfsunmount */
#define	SYS_async_daemon	160
#define	SYS_getfh	161
#define	SYS_getdomainname	162
#define	SYS_setdomainname	163
				/* 165 is obsolete quotactl */
				/* 166 is obsolete exportfs */
				/* 167 is obsolete vfsmount */
#if	MACH_AFS
				/* 168 is old pioctl */
				/* 169 is old setpag */
				/* 170 is old icreate */
				/* 171 is old iopen */
				/* 172 is old iread */
				/* 173 is old iwrite */
				/* 174 is old iinc */
				/* 175 is old idec */
				/* 180 is old afs_call */
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#endif	/* defined(balance) */
#ifdef	mips
#undef	GENERIC
#define	SYS_sysmips	151
#define	SYS_cacheflush	152
				/* 153 is obsolete cachectl */
				/* 154 is obsolete debug */
#define	SYS_atomic_op	155
				/* 157 is obsolete nfs_mount */
#define	SYS_nfssvc	158
#define	SYS_getdirentries	159
#define	SYS_statfs	160
#define	SYS_fstatfs	161
				/* 162 is obsolete vfsunmount */
#define	SYS_async_daemon	163
#define	SYS_getfh	164
#define	SYS_getdomainname	165
#define	SYS_setdomainname	166
				/* 167 is obsolete old pcfs_mount */
				/* 168 is obsolete quotactl */
#define	SYS_exportfs	169
				/* 170 is obsolete vfsmount */
#define	SYS_mipshwconf	171
#endif	/* mips */
#ifdef	multimax
#undef	GENERIC
#define	SYS_mapfrcounter	151
#define	SYS_nfssvc	155
#define	SYS_getdirentries	156
#define	SYS_statfs	157
#define	SYS_fstatfs	158
#define	SYS_async_daemon	160
#define	SYS_getfh	161
#define	SYS_getdomainname	162
#define	SYS_setdomainname	163
				/* 165 is obsolete quotactl */
				/* 166 is obsolete exportfs */
#if	MACH_AFS
				/* 168 is old pioctl */
				/* 169 is old setpag */
				/* 170 is old icreate */
				/* 171 is old iopen */
				/* 172 is old iread */
				/* 173 is old iwrite */
				/* 174 is old iinc */
				/* 175 is old idec */
				/* 180 is old afs_call */
#else
#endif
#endif	/* multimax */
#ifdef	GENERIC
#define	SYS_nfssvc	155
#define	SYS_getdirentries	156
#define	SYS_statfs	157
#define	SYS_fstatfs	158
				/* 159 is obsolete vfsunmount */
#define	SYS_async_daemon	160
#define	SYS_getfh	161
#define	SYS_getdomainname	162
#define	SYS_setdomainname	163
				/* 165 is obsolete quotactl */
				/* 166 is obsolete exportfs */
				/* 167 is obsolete vfsmount */
#if	MACH_AFS && !defined(PMAX)
				/* 168 is old pioctl */
				/* 169 is old setpag */
				/* 170 is old icreate */
				/* 171 is old iopen */
				/* 172 is old iread */
				/* 173 is old iwrite */
				/* 174 is old iinc */
				/* 175 is old idec */
				/* 180 is old afs_call */
#else	/* MACH_AFS  && !defined(PMAX) */
#ifdef PMAX
#else	/* PMAX */
#endif	/* PMAX */
#endif	/* MACH_AFS && !defined(PMAX) */
#endif	/* GENERIC */
#ifdef	PMAX
#undef GENERIC
#ifdef	notyet
#define	SYS_lockf	182
#else	/* notyet */
#endif	/* notyet */
#define	SYS_getmnt	184
#undef	SYS_mount
#define	SYS_mount	185
#ifdef notyet
#undef	SYS_unmount
#define	SYS_unmount	186
#else	/* notyet */
#endif	/* notyet */
#else	/* PMAX */
#ifdef	ibmrt
#define	SYS_afs_call	181
#else	/* ibmrt */
#endif	/* ibmrt */
#endif	/* PMAX */
#ifdef	PMAX
#if	MACH_AFS
				/* 190 is old iopen */
				/* 191 is old iread */
				/* 192 is old iwrite */
				/* 193 is old iinc */
				/* 194 is old idec */
				/* 195 is old pioctl */
				/* 196 is old setpag */
				/* 197 is old icreate */
				/* 198 is old afs_call */
#else	/* MACH_AFS */
#endif	/* MACH_AFS */
#else	/* PMAX */
#endif	/* PMAX */
#define	SYS_swapon	199
#define	SYS_msgctl	200
#define	SYS_msgget	201
#define	SYS_msgrcv	202
#define	SYS_msgsnd	203
#define	SYS_semctl	204
#define	SYS_semget	205
#define	SYS_semop	206
#define	SYS_uname	207
#define	SYS_lchown	208
#define	SYS_shmat	209
#define	SYS_shmctl	210
#define	SYS_shmdt	211
#define	SYS_shmget	212
#define	SYS_mvalid	213
#define	SYS_getaddressconf	214
#define	SYS_msleep	215
#define	SYS_mwakeup	216
#define	SYS_msync	217
#if	defined(balance) || defined(mips)
#define	SYS_signal	218
#else
#define	SYS_signal	218
#endif
#define	SYS_utc_gettime	219
#define	SYS_utc_adjtime	220
#if	SEC_BASE
#define	SYS_security	222
#else
#endif
#define	SYS_kloadcall	223
#if	MACH_AFS || !defined(KERNEL)
#undef	SYS_pioctl
#undef	SYS_setpag
#undef	SYS_iopen
#undef	SYS_icreate
#undef	SYS_iread
#undef	SYS_iwrite
#undef	SYS_iinc
#undef	SYS_idec
#undef	SYS_afs_call
#define	SYS_pioctl	224
#define	SYS_setpag	225
#define	SYS_iopen	226
#define	SYS_icreate	227
#define	SYS_iread	228
#define	SYS_iwrite	229
#define	SYS_iinc	230
#define	SYS_idec	231
#define	SYS_afs_call	232
#else	/* MACH_AFS || !defined(KERNEL) */
#endif	/* MACH_AFS || !defined(KERNEL) */
#define	SYS_getpgid	233
#define	SYS_getsid	234
#define	SYS_msfs_syscall	240
#define	SYS_uswitch	250
#define	SYS_usleep_thread	251
#define	SYS_getsysinfo	256
#define	SYS_setsysinfo	257
#define	SYS_afs_syscall	258

#define	FIRST	0
#define	LAST	258
