summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/hpux/hppa/hpux_syscall.h400
-rw-r--r--sys/compat/hpux/hppa/hpux_syscallargs.h484
-rw-r--r--sys/compat/hpux/hppa/hpux_syscalls.c573
-rw-r--r--sys/compat/hpux/hppa/hpux_sysent.c1127
4 files changed, 2584 insertions, 0 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h
new file mode 100644
index 00000000000..2e36d94b3a6
--- /dev/null
+++ b/sys/compat/hpux/hppa/hpux_syscall.h
@@ -0,0 +1,400 @@
+/* $OpenBSD: hpux_syscall.h,v 1.1 2004/07/09 22:20:29 mickey Exp $ */
+
+/*
+ * System call numbers.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from OpenBSD: syscalls.master,v 1.1 2004/07/09 21:48:21 mickey Exp
+ */
+
+/* syscall: "syscall" ret: "int" args: */
+#define HPUX_SYS_syscall 0
+
+/* syscall: "exit" ret: "int" args: "int" */
+#define HPUX_SYS_exit 1
+
+/* syscall: "fork" ret: "int" args: */
+#define HPUX_SYS_fork 2
+
+/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
+#define HPUX_SYS_read 3
+
+/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
+#define HPUX_SYS_write 4
+
+/* syscall: "open" ret: "int" args: "char *" "int" "int" */
+#define HPUX_SYS_open 5
+
+/* syscall: "close" ret: "int" args: "int" */
+#define HPUX_SYS_close 6
+
+/* syscall: "wait" ret: "int" args: "int *" */
+#define HPUX_SYS_wait 7
+
+/* syscall: "creat" ret: "int" args: "char *" "int" */
+#define HPUX_SYS_creat 8
+
+/* syscall: "link" ret: "int" args: "char *" "char *" */
+#define HPUX_SYS_link 9
+
+/* syscall: "unlink" ret: "int" args: "char *" */
+#define HPUX_SYS_unlink 10
+
+/* syscall: "execv" ret: "int" args: "char *" "char **" */
+#define HPUX_SYS_execv 11
+
+/* syscall: "chdir" ret: "int" args: "char *" */
+#define HPUX_SYS_chdir 12
+
+/* syscall: "time_6x" ret: "int" args: "time_t *" */
+#define HPUX_SYS_time_6x 13
+
+/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
+#define HPUX_SYS_mknod 14
+
+/* syscall: "chmod" ret: "int" args: "char *" "int" */
+#define HPUX_SYS_chmod 15
+
+/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
+#define HPUX_SYS_chown 16
+
+/* syscall: "obreak" ret: "int" args: "char *" */
+#define HPUX_SYS_obreak 17
+
+/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
+#define HPUX_SYS_lseek 19
+
+/* syscall: "getpid" ret: "pid_t" args: */
+#define HPUX_SYS_getpid 20
+
+/* syscall: "setuid" ret: "int" args: "uid_t" */
+#define HPUX_SYS_setuid 23
+
+/* syscall: "getuid" ret: "uid_t" args: */
+#define HPUX_SYS_getuid 24
+
+/* syscall: "stime_6x" ret: "int" args: "int" */
+#define HPUX_SYS_stime_6x 25
+
+/* syscall: "ptrace" ret: "int" args: "int" "int" "int *" "int" */
+#define HPUX_SYS_ptrace 26
+
+/* syscall: "alarm_6x" ret: "int" args: "int" */
+#define HPUX_SYS_alarm_6x 27
+
+/* syscall: "pause_6x" ret: "int" args: */
+#define HPUX_SYS_pause_6x 29
+
+/* syscall: "utime_6x" ret: "int" args: "char *" "time_t *" */
+#define HPUX_SYS_utime_6x 30
+
+/* syscall: "access" ret: "int" args: "char *" "int" */
+#define HPUX_SYS_access 33
+
+/* syscall: "nice_6x" ret: "int" args: "int" */
+#define HPUX_SYS_nice_6x 34
+
+/* syscall: "ftime_6x" ret: "int" args: "struct hpux_timeb *" */
+#define HPUX_SYS_ftime_6x 35
+
+/* syscall: "sync" ret: "int" args: */
+#define HPUX_SYS_sync 36
+
+/* syscall: "kill" ret: "int" args: "pid_t" "int" */
+#define HPUX_SYS_kill 37
+
+/* syscall: "stat" ret: "int" args: "char *" "struct hpux_stat *" */
+#define HPUX_SYS_stat 38
+
+/* syscall: "setpgrp_6x" ret: "int" args: */
+#define HPUX_SYS_setpgrp_6x 39
+
+/* syscall: "lstat" ret: "int" args: "char *" "struct hpux_stat *" */
+#define HPUX_SYS_lstat 40
+
+/* syscall: "dup" ret: "int" args: "int" */
+#define HPUX_SYS_dup 41
+
+/* syscall: "opipe" ret: "int" args: */
+#define HPUX_SYS_opipe 42
+
+/* syscall: "times_6x" ret: "int" args: "struct tms *" */
+#define HPUX_SYS_times_6x 43
+
+/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
+#define HPUX_SYS_profil 44
+
+/* syscall: "setgid" ret: "int" args: "gid_t" */
+#define HPUX_SYS_setgid 46
+
+/* syscall: "getgid" ret: "gid_t" args: */
+#define HPUX_SYS_getgid 47
+
+/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
+#define HPUX_SYS_ioctl 54
+
+/* syscall: "symlink" ret: "int" args: "char *" "char *" */
+#define HPUX_SYS_symlink 56
+
+/* syscall: "utssys" ret: "int" args: "struct hpux_utsname *" "int" "int" */
+#define HPUX_SYS_utssys 57
+
+/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
+#define HPUX_SYS_readlink 58
+
+/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
+#define HPUX_SYS_execve 59
+
+/* syscall: "umask" ret: "int" args: "int" */
+#define HPUX_SYS_umask 60
+
+/* syscall: "chroot" ret: "int" args: "char *" */
+#define HPUX_SYS_chroot 61
+
+/* syscall: "fcntl" ret: "int" args: "int" "int" "int" */
+#define HPUX_SYS_fcntl 62
+
+/* syscall: "ulimit" ret: "int" args: "int" "int" */
+#define HPUX_SYS_ulimit 63
+
+/* syscall: "vfork" ret: "int" args: */
+#define HPUX_SYS_vfork 66
+
+/* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
+#define HPUX_SYS_mmap 71
+
+/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
+#define HPUX_SYS_munmap 73
+
+/* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */
+#define HPUX_SYS_mprotect 74
+
+/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
+#define HPUX_SYS_getgroups 79
+
+/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
+#define HPUX_SYS_setgroups 80
+
+/* syscall: "getpgrp2" ret: "int" args: "pid_t" */
+#define HPUX_SYS_getpgrp2 81
+
+/* syscall: "setpgrp2" ret: "int" args: "pid_t" "pid_t" */
+#define HPUX_SYS_setpgrp2 82
+
+/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
+#define HPUX_SYS_setitimer 83
+
+/* syscall: "wait3" ret: "int" args: "int *" "int" "int" */
+#define HPUX_SYS_wait3 84
+
+/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
+#define HPUX_SYS_getitimer 86
+
+/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
+#define HPUX_SYS_dup2 90
+
+/* syscall: "fstat" ret: "int" args: "int" "struct hpux_stat *" */
+#define HPUX_SYS_fstat 92
+
+/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
+#define HPUX_SYS_select 93
+
+/* syscall: "fsync" ret: "int" args: "int" */
+#define HPUX_SYS_fsync 95
+
+/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
+#define HPUX_SYS_sigvec 108
+
+/* syscall: "sigblock" ret: "int" args: "int" */
+#define HPUX_SYS_sigblock 109
+
+/* syscall: "sigsetmask" ret: "int" args: "int" */
+#define HPUX_SYS_sigsetmask 110
+
+/* syscall: "sigpause" ret: "int" args: "int" */
+#define HPUX_SYS_sigpause 111
+
+/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
+#define HPUX_SYS_sigstack 112
+
+/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
+#define HPUX_SYS_gettimeofday 116
+
+/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
+#define HPUX_SYS_readv 120
+
+/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
+#define HPUX_SYS_writev 121
+
+/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
+#define HPUX_SYS_settimeofday 122
+
+/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
+#define HPUX_SYS_fchown 123
+
+/* syscall: "fchmod" ret: "int" args: "int" "int" */
+#define HPUX_SYS_fchmod 124
+
+/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
+#define HPUX_SYS_setresuid 126
+
+/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
+#define HPUX_SYS_setresgid 127
+
+/* syscall: "rename" ret: "int" args: "char *" "char *" */
+#define HPUX_SYS_rename 128
+
+/* syscall: "truncate" ret: "int" args: "char *" "long" */
+#define HPUX_SYS_truncate 129
+
+/* syscall: "ftruncate" ret: "int" args: "int" "long" */
+#define HPUX_SYS_ftruncate 130
+
+/* syscall: "sysconf" ret: "int" args: "int" */
+#define HPUX_SYS_sysconf 132
+
+/* syscall: "mkdir" ret: "int" args: "char *" "int" */
+#define HPUX_SYS_mkdir 136
+
+/* syscall: "rmdir" ret: "int" args: "char *" */
+#define HPUX_SYS_rmdir 137
+
+/* syscall: "getrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
+#define HPUX_SYS_getrlimit 144
+
+/* syscall: "setrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
+#define HPUX_SYS_setrlimit 145
+
+/* syscall: "rtprio" ret: "int" args: "pid_t" "int" */
+#define HPUX_SYS_rtprio 152
+
+/* syscall: "lockf" ret: "int" args: "int" "int" "long" */
+#define HPUX_SYS_lockf 155
+
+/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
+#define HPUX_SYS_semget 156
+
+/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
+#define HPUX_SYS___semctl 157
+
+/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "u_int" */
+#define HPUX_SYS_semop 158
+
+/* syscall: "msgget" ret: "int" args: "key_t" "int" */
+#define HPUX_SYS_msgget 159
+
+/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
+#define HPUX_SYS_msgctl 160
+
+/* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */
+#define HPUX_SYS_msgsnd 161
+
+/* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
+#define HPUX_SYS_msgrcv 162
+
+/* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
+#define HPUX_SYS_shmget 163
+
+/* syscall: "shmctl" ret: "int" args: "int" "int" "caddr_t" */
+#define HPUX_SYS_shmctl 164
+
+/* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
+#define HPUX_SYS_shmat 165
+
+/* syscall: "shmdt" ret: "int" args: "void *" */
+#define HPUX_SYS_shmdt 166
+
+/* syscall: "getcontext" ret: "int" args: "char *" "int" */
+#define HPUX_SYS_getcontext 174
+
+/* syscall: "sigprocmask" ret: "int" args: "int" "hpux_sigset_t *" "hpux_sigset_t *" */
+#define HPUX_SYS_sigprocmask 185
+
+/* syscall: "sigpending" ret: "int" args: "hpux_sigset_t *" */
+#define HPUX_SYS_sigpending 186
+
+/* syscall: "sigsuspend" ret: "int" args: "hpux_sigset_t *" */
+#define HPUX_SYS_sigsuspend 187
+
+/* syscall: "sigaction" ret: "int" args: "int" "struct hpux_sigaction *" "struct hpux_sigaction *" */
+#define HPUX_SYS_sigaction 188
+
+/* syscall: "waitpid" ret: "int" args: "pid_t" "int *" "int" "struct rusage *" */
+#define HPUX_SYS_waitpid 200
+
+/* syscall: "hpux_sigsetreturn" ret: "void" args: "int" */
+#define HPUX_SYS_hpux_sigsetreturn 224
+
+/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
+#define HPUX_SYS_poll 269
+
+/* syscall: "fchdir" ret: "int" args: "int" */
+#define HPUX_SYS_fchdir 272
+
+/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
+#define HPUX_SYS_accept 275
+
+/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
+#define HPUX_SYS_bind 276
+
+/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
+#define HPUX_SYS_connect 277
+
+/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
+#define HPUX_SYS_getpeername 278
+
+/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
+#define HPUX_SYS_getsockname 279
+
+/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
+#define HPUX_SYS_getsockopt 280
+
+/* syscall: "listen" ret: "int" args: "int" "int" */
+#define HPUX_SYS_listen 281
+
+/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
+#define HPUX_SYS_recv 282
+
+/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
+#define HPUX_SYS_recvfrom 283
+
+/* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
+#define HPUX_SYS_recvmsg 284
+
+/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
+#define HPUX_SYS_send 285
+
+/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
+#define HPUX_SYS_sendmsg 286
+
+/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
+#define HPUX_SYS_sendto 287
+
+/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */
+#define HPUX_SYS_setsockopt 288
+
+/* syscall: "shutdown" ret: "int" args: "int" "int" */
+#define HPUX_SYS_shutdown 289
+
+/* syscall: "socket" ret: "int" args: "int" "int" "int" */
+#define HPUX_SYS_socket 290
+
+/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
+#define HPUX_SYS_socketpair 291
+
+/* syscall: "nsemctl" ret: "int" args: "int" "int" "int" "union semun *" */
+#define HPUX_SYS_nsemctl 312
+
+/* syscall: "nmsgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
+#define HPUX_SYS_nmsgctl 313
+
+/* syscall: "nshmctl" ret: "int" args: "int" "int" "caddr_t" */
+#define HPUX_SYS_nshmctl 314
+
+/* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
+#define HPUX_SYS_lchown 332
+
+/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
+#define HPUX_SYS_nanosleep 353
+
+#define HPUX_SYS_MAXSYSCALL 526
diff --git a/sys/compat/hpux/hppa/hpux_syscallargs.h b/sys/compat/hpux/hppa/hpux_syscallargs.h
new file mode 100644
index 00000000000..89c1ca13232
--- /dev/null
+++ b/sys/compat/hpux/hppa/hpux_syscallargs.h
@@ -0,0 +1,484 @@
+/* $OpenBSD: hpux_syscallargs.h,v 1.1 2004/07/09 22:20:29 mickey Exp $ */
+
+/*
+ * System call argument lists.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from OpenBSD: syscalls.master,v 1.1 2004/07/09 21:48:21 mickey Exp
+ */
+
+#ifdef syscallarg
+#undef syscallarg
+#endif
+
+#define syscallarg(x) \
+ union { \
+ register_t pad; \
+ struct { x datum; } le; \
+ struct { \
+ int8_t pad[ (sizeof (register_t) < sizeof (x)) \
+ ? 0 \
+ : sizeof (register_t) - sizeof (x)]; \
+ x datum; \
+ } be; \
+ }
+
+struct hpux_sys_read_args {
+ syscallarg(int) fd;
+ syscallarg(char *) buf;
+ syscallarg(u_int) nbyte;
+};
+
+struct hpux_sys_write_args {
+ syscallarg(int) fd;
+ syscallarg(char *) buf;
+ syscallarg(u_int) nbyte;
+};
+
+struct hpux_sys_open_args {
+ syscallarg(char *) path;
+ syscallarg(int) flags;
+ syscallarg(int) mode;
+};
+
+struct hpux_sys_wait_args {
+ syscallarg(int *) status;
+};
+
+struct hpux_sys_creat_args {
+ syscallarg(char *) path;
+ syscallarg(int) mode;
+};
+
+struct hpux_sys_unlink_args {
+ syscallarg(char *) path;
+};
+
+struct hpux_sys_execv_args {
+ syscallarg(char *) path;
+ syscallarg(char **) argp;
+};
+
+struct hpux_sys_chdir_args {
+ syscallarg(char *) path;
+};
+
+struct hpux_sys_time_6x_args {
+ syscallarg(time_t *) t;
+};
+
+struct hpux_sys_mknod_args {
+ syscallarg(char *) path;
+ syscallarg(int) mode;
+ syscallarg(int) dev;
+};
+
+struct hpux_sys_chmod_args {
+ syscallarg(char *) path;
+ syscallarg(int) mode;
+};
+
+struct hpux_sys_chown_args {
+ syscallarg(char *) path;
+ syscallarg(int) uid;
+ syscallarg(int) gid;
+};
+
+struct hpux_sys_stime_6x_args {
+ syscallarg(int) time;
+};
+
+struct hpux_sys_ptrace_args {
+ syscallarg(int) req;
+ syscallarg(int) pid;
+ syscallarg(int *) addr;
+ syscallarg(int) data;
+};
+
+struct hpux_sys_alarm_6x_args {
+ syscallarg(int) deltat;
+};
+
+struct hpux_sys_utime_6x_args {
+ syscallarg(char *) fname;
+ syscallarg(time_t *) tptr;
+};
+
+struct hpux_sys_access_args {
+ syscallarg(char *) path;
+ syscallarg(int) flags;
+};
+
+struct hpux_sys_nice_6x_args {
+ syscallarg(int) nval;
+};
+
+struct hpux_sys_ftime_6x_args {
+ syscallarg(struct hpux_timeb *) tp;
+};
+
+struct hpux_sys_kill_args {
+ syscallarg(pid_t) pid;
+ syscallarg(int) signo;
+};
+
+struct hpux_sys_stat_args {
+ syscallarg(char *) path;
+ syscallarg(struct hpux_stat *) sb;
+};
+
+struct hpux_sys_lstat_args {
+ syscallarg(char *) path;
+ syscallarg(struct hpux_stat *) sb;
+};
+
+struct hpux_sys_times_6x_args {
+ syscallarg(struct tms *) tms;
+};
+
+struct hpux_sys_ioctl_args {
+ syscallarg(int) fd;
+ syscallarg(int) com;
+ syscallarg(caddr_t) data;
+};
+
+struct hpux_sys_symlink_args {
+ syscallarg(char *) path;
+ syscallarg(char *) link;
+};
+
+struct hpux_sys_utssys_args {
+ syscallarg(struct hpux_utsname *) uts;
+ syscallarg(int) dev;
+ syscallarg(int) request;
+};
+
+struct hpux_sys_readlink_args {
+ syscallarg(char *) path;
+ syscallarg(char *) buf;
+ syscallarg(int) count;
+};
+
+struct hpux_sys_execve_args {
+ syscallarg(char *) path;
+ syscallarg(char **) argp;
+ syscallarg(char **) envp;
+};
+
+struct hpux_sys_fcntl_args {
+ syscallarg(int) fd;
+ syscallarg(int) cmd;
+ syscallarg(int) arg;
+};
+
+struct hpux_sys_ulimit_args {
+ syscallarg(int) cmd;
+ syscallarg(int) newlimit;
+};
+
+struct hpux_sys_mmap_args {
+ syscallarg(caddr_t) addr;
+ syscallarg(size_t) len;
+ syscallarg(int) prot;
+ syscallarg(int) flags;
+ syscallarg(int) fd;
+ syscallarg(long) pos;
+};
+
+struct hpux_sys_getpgrp2_args {
+ syscallarg(pid_t) pid;
+};
+
+struct hpux_sys_setpgrp2_args {
+ syscallarg(pid_t) pid;
+ syscallarg(pid_t) pgid;
+};
+
+struct hpux_sys_wait3_args {
+ syscallarg(int *) status;
+ syscallarg(int) options;
+ syscallarg(int) rusage;
+};
+
+struct hpux_sys_fstat_args {
+ syscallarg(int) fd;
+ syscallarg(struct hpux_stat *) sb;
+};
+
+struct hpux_sys_sigvec_args {
+ syscallarg(int) signo;
+ syscallarg(struct sigvec *) nsv;
+ syscallarg(struct sigvec *) osv;
+};
+
+struct hpux_sys_sigblock_args {
+ syscallarg(int) mask;
+};
+
+struct hpux_sys_sigsetmask_args {
+ syscallarg(int) mask;
+};
+
+struct hpux_sys_sigpause_args {
+ syscallarg(int) mask;
+};
+
+struct hpux_sys_readv_args {
+ syscallarg(int) fd;
+ syscallarg(struct iovec *) iovp;
+ syscallarg(u_int) iovcnt;
+};
+
+struct hpux_sys_writev_args {
+ syscallarg(int) fd;
+ syscallarg(struct iovec *) iovp;
+ syscallarg(u_int) iovcnt;
+};
+
+struct hpux_sys_rename_args {
+ syscallarg(char *) from;
+ syscallarg(char *) to;
+};
+
+struct hpux_sys_truncate_args {
+ syscallarg(char *) path;
+ syscallarg(long) length;
+};
+
+struct hpux_sys_sysconf_args {
+ syscallarg(int) name;
+};
+
+struct hpux_sys_mkdir_args {
+ syscallarg(char *) path;
+ syscallarg(int) mode;
+};
+
+struct hpux_sys_rmdir_args {
+ syscallarg(char *) path;
+};
+
+struct hpux_sys_getrlimit_args {
+ syscallarg(u_int) which;
+ syscallarg(struct ogetrlimit *) rlp;
+};
+
+struct hpux_sys_setrlimit_args {
+ syscallarg(u_int) which;
+ syscallarg(struct ogetrlimit *) rlp;
+};
+
+struct hpux_sys_rtprio_args {
+ syscallarg(pid_t) pid;
+ syscallarg(int) prio;
+};
+
+struct hpux_sys_lockf_args {
+ syscallarg(int) fd;
+ syscallarg(int) func;
+ syscallarg(long) size;
+};
+
+struct hpux_sys_shmctl_args {
+ syscallarg(int) shmid;
+ syscallarg(int) cmd;
+ syscallarg(caddr_t) buf;
+};
+
+struct hpux_sys_getcontext_args {
+ syscallarg(char *) buf;
+ syscallarg(int) len;
+};
+
+struct hpux_sys_sigprocmask_args {
+ syscallarg(int) how;
+ syscallarg(hpux_sigset_t *) set;
+ syscallarg(hpux_sigset_t *) oset;
+};
+
+struct hpux_sys_sigpending_args {
+ syscallarg(hpux_sigset_t *) set;
+};
+
+struct hpux_sys_sigsuspend_args {
+ syscallarg(hpux_sigset_t *) set;
+};
+
+struct hpux_sys_sigaction_args {
+ syscallarg(int) signo;
+ syscallarg(struct hpux_sigaction *) nsa;
+ syscallarg(struct hpux_sigaction *) osa;
+};
+
+struct hpux_sys_waitpid_args {
+ syscallarg(pid_t) pid;
+ syscallarg(int *) status;
+ syscallarg(int) options;
+ syscallarg(struct rusage *) rusage;
+};
+
+struct hpux_sigsetreturn_args {
+ syscallarg(int) cookie;
+};
+
+struct hpux_sys_nshmctl_args {
+ syscallarg(int) shmid;
+ syscallarg(int) cmd;
+ syscallarg(caddr_t) buf;
+};
+
+/*
+ * System call prototypes.
+ */
+
+int sys_nosys(struct proc *, void *, register_t *);
+int sys_exit(struct proc *, void *, register_t *);
+int hpux_sys_fork(struct proc *, void *, register_t *);
+int hpux_sys_read(struct proc *, void *, register_t *);
+int hpux_sys_write(struct proc *, void *, register_t *);
+int hpux_sys_open(struct proc *, void *, register_t *);
+int sys_close(struct proc *, void *, register_t *);
+int hpux_sys_wait(struct proc *, void *, register_t *);
+int hpux_sys_creat(struct proc *, void *, register_t *);
+int sys_link(struct proc *, void *, register_t *);
+int hpux_sys_unlink(struct proc *, void *, register_t *);
+int hpux_sys_execv(struct proc *, void *, register_t *);
+int hpux_sys_chdir(struct proc *, void *, register_t *);
+int hpux_sys_time_6x(struct proc *, void *, register_t *);
+int hpux_sys_mknod(struct proc *, void *, register_t *);
+int hpux_sys_chmod(struct proc *, void *, register_t *);
+int hpux_sys_chown(struct proc *, void *, register_t *);
+int sys_obreak(struct proc *, void *, register_t *);
+int compat_43_sys_lseek(struct proc *, void *, register_t *);
+int sys_getpid(struct proc *, void *, register_t *);
+int sys_setuid(struct proc *, void *, register_t *);
+int sys_getuid(struct proc *, void *, register_t *);
+int hpux_sys_stime_6x(struct proc *, void *, register_t *);
+#ifdef PTRACE
+int hpux_sys_ptrace(struct proc *, void *, register_t *);
+#else
+#endif
+int hpux_sys_alarm_6x(struct proc *, void *, register_t *);
+int hpux_sys_pause_6x(struct proc *, void *, register_t *);
+int hpux_sys_utime_6x(struct proc *, void *, register_t *);
+int hpux_sys_access(struct proc *, void *, register_t *);
+int hpux_sys_nice_6x(struct proc *, void *, register_t *);
+int hpux_sys_ftime_6x(struct proc *, void *, register_t *);
+int sys_sync(struct proc *, void *, register_t *);
+int hpux_sys_kill(struct proc *, void *, register_t *);
+int hpux_sys_stat(struct proc *, void *, register_t *);
+int hpux_sys_setpgrp_6x(struct proc *, void *, register_t *);
+int hpux_sys_lstat(struct proc *, void *, register_t *);
+int sys_dup(struct proc *, void *, register_t *);
+int sys_opipe(struct proc *, void *, register_t *);
+int hpux_sys_times_6x(struct proc *, void *, register_t *);
+int sys_profil(struct proc *, void *, register_t *);
+int sys_setgid(struct proc *, void *, register_t *);
+int sys_getgid(struct proc *, void *, register_t *);
+int hpux_sys_ioctl(struct proc *, void *, register_t *);
+int hpux_sys_symlink(struct proc *, void *, register_t *);
+int hpux_sys_utssys(struct proc *, void *, register_t *);
+int hpux_sys_readlink(struct proc *, void *, register_t *);
+int hpux_sys_execve(struct proc *, void *, register_t *);
+int sys_umask(struct proc *, void *, register_t *);
+int sys_chroot(struct proc *, void *, register_t *);
+int hpux_sys_fcntl(struct proc *, void *, register_t *);
+int hpux_sys_ulimit(struct proc *, void *, register_t *);
+int hpux_sys_vfork(struct proc *, void *, register_t *);
+int hpux_sys_mmap(struct proc *, void *, register_t *);
+int sys_munmap(struct proc *, void *, register_t *);
+int sys_mprotect(struct proc *, void *, register_t *);
+int sys_getgroups(struct proc *, void *, register_t *);
+int sys_setgroups(struct proc *, void *, register_t *);
+int hpux_sys_getpgrp2(struct proc *, void *, register_t *);
+int hpux_sys_setpgrp2(struct proc *, void *, register_t *);
+int sys_setitimer(struct proc *, void *, register_t *);
+int hpux_sys_wait3(struct proc *, void *, register_t *);
+int sys_getitimer(struct proc *, void *, register_t *);
+int sys_dup2(struct proc *, void *, register_t *);
+int hpux_sys_fstat(struct proc *, void *, register_t *);
+int sys_select(struct proc *, void *, register_t *);
+int sys_fsync(struct proc *, void *, register_t *);
+int hpux_sys_sigvec(struct proc *, void *, register_t *);
+int hpux_sys_sigblock(struct proc *, void *, register_t *);
+int hpux_sys_sigsetmask(struct proc *, void *, register_t *);
+int hpux_sys_sigpause(struct proc *, void *, register_t *);
+int compat_43_sys_sigstack(struct proc *, void *, register_t *);
+int sys_gettimeofday(struct proc *, void *, register_t *);
+int hpux_sys_readv(struct proc *, void *, register_t *);
+int hpux_sys_writev(struct proc *, void *, register_t *);
+int sys_settimeofday(struct proc *, void *, register_t *);
+int sys_fchown(struct proc *, void *, register_t *);
+int sys_fchmod(struct proc *, void *, register_t *);
+int sys_setresuid(struct proc *, void *, register_t *);
+int sys_setresgid(struct proc *, void *, register_t *);
+int hpux_sys_rename(struct proc *, void *, register_t *);
+int hpux_sys_truncate(struct proc *, void *, register_t *);
+int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
+int hpux_sys_sysconf(struct proc *, void *, register_t *);
+int hpux_sys_mkdir(struct proc *, void *, register_t *);
+int hpux_sys_rmdir(struct proc *, void *, register_t *);
+int hpux_sys_getrlimit(struct proc *, void *, register_t *);
+int hpux_sys_setrlimit(struct proc *, void *, register_t *);
+int hpux_sys_rtprio(struct proc *, void *, register_t *);
+int hpux_sys_lockf(struct proc *, void *, register_t *);
+#ifdef SYSVSEM
+int sys_semget(struct proc *, void *, register_t *);
+int sys___semctl(struct proc *, void *, register_t *);
+int sys_semop(struct proc *, void *, register_t *);
+#else
+#endif
+#ifdef SYSVMSG
+int sys_msgget(struct proc *, void *, register_t *);
+int sys_msgctl(struct proc *, void *, register_t *);
+int sys_msgsnd(struct proc *, void *, register_t *);
+int sys_msgrcv(struct proc *, void *, register_t *);
+#else
+#endif
+#ifdef SYSVSHM
+int sys_shmget(struct proc *, void *, register_t *);
+int hpux_sys_shmctl(struct proc *, void *, register_t *);
+int sys_shmat(struct proc *, void *, register_t *);
+int sys_shmdt(struct proc *, void *, register_t *);
+#else
+#endif
+int hpux_sys_getcontext(struct proc *, void *, register_t *);
+int hpux_sys_sigprocmask(struct proc *, void *, register_t *);
+int hpux_sys_sigpending(struct proc *, void *, register_t *);
+int hpux_sys_sigsuspend(struct proc *, void *, register_t *);
+int hpux_sys_sigaction(struct proc *, void *, register_t *);
+int hpux_sys_waitpid(struct proc *, void *, register_t *);
+int hpux_sigsetreturn(struct proc *, void *, register_t *);
+int sys_poll(struct proc *, void *, register_t *);
+int sys_fchdir(struct proc *, void *, register_t *);
+int compat_43_sys_accept(struct proc *, void *, register_t *);
+int sys_bind(struct proc *, void *, register_t *);
+int sys_connect(struct proc *, void *, register_t *);
+int sys_getpeername(struct proc *, void *, register_t *);
+int sys_getsockname(struct proc *, void *, register_t *);
+int sys_getsockopt(struct proc *, void *, register_t *);
+int sys_listen(struct proc *, void *, register_t *);
+int compat_43_sys_recv(struct proc *, void *, register_t *);
+int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
+int compat_43_sys_recvmsg(struct proc *, void *, register_t *);
+int compat_43_sys_send(struct proc *, void *, register_t *);
+int compat_43_sys_sendmsg(struct proc *, void *, register_t *);
+int sys_sendto(struct proc *, void *, register_t *);
+int sys_setsockopt(struct proc *, void *, register_t *);
+int sys_shutdown(struct proc *, void *, register_t *);
+int sys_socket(struct proc *, void *, register_t *);
+int sys_socketpair(struct proc *, void *, register_t *);
+#ifdef SYSVSEM
+int sys___semctl(struct proc *, void *, register_t *);
+#else
+#endif
+#ifdef SYSVMSG
+int sys_msgctl(struct proc *, void *, register_t *);
+#else
+#endif
+#ifdef SYSVSHM
+int hpux_sys_nshmctl(struct proc *, void *, register_t *);
+#else
+#endif
+int sys_lchown(struct proc *, void *, register_t *);
+int sys_nanosleep(struct proc *, void *, register_t *);
diff --git a/sys/compat/hpux/hppa/hpux_syscalls.c b/sys/compat/hpux/hppa/hpux_syscalls.c
new file mode 100644
index 00000000000..644668b0e5f
--- /dev/null
+++ b/sys/compat/hpux/hppa/hpux_syscalls.c
@@ -0,0 +1,573 @@
+/* $OpenBSD: hpux_syscalls.c,v 1.1 2004/07/09 22:20:29 mickey Exp $ */
+
+/*
+ * System call names.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from OpenBSD: syscalls.master,v 1.1 2004/07/09 21:48:21 mickey Exp
+ */
+
+char *hpux_syscallnames[] = {
+ "syscall", /* 0 = syscall */
+ "exit", /* 1 = exit */
+ "fork", /* 2 = fork */
+ "read", /* 3 = read */
+ "write", /* 4 = write */
+ "open", /* 5 = open */
+ "close", /* 6 = close */
+ "wait", /* 7 = wait */
+ "creat", /* 8 = creat */
+ "link", /* 9 = link */
+ "unlink", /* 10 = unlink */
+ "execv", /* 11 = execv */
+ "chdir", /* 12 = chdir */
+ "time_6x", /* 13 = time_6x */
+ "mknod", /* 14 = mknod */
+ "chmod", /* 15 = chmod */
+ "chown", /* 16 = chown */
+ "obreak", /* 17 = obreak */
+ "#18 (unimplemented lchmod)", /* 18 = unimplemented lchmod */
+ "lseek", /* 19 = lseek */
+ "getpid", /* 20 = getpid */
+ "#21 (unimplemented mount)", /* 21 = unimplemented mount */
+ "#22 (unimplemented umount)", /* 22 = unimplemented umount */
+ "setuid", /* 23 = setuid */
+ "getuid", /* 24 = getuid */
+ "stime_6x", /* 25 = stime_6x */
+#ifdef PTRACE
+ "ptrace", /* 26 = ptrace */
+#else
+ "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
+#endif
+ "alarm_6x", /* 27 = alarm_6x */
+ "#28 (unimplemented cnx_lw_pmon_read)", /* 28 = unimplemented cnx_lw_pmon_read */
+ "pause_6x", /* 29 = pause_6x */
+ "utime_6x", /* 30 = utime_6x */
+ "#31 (unimplemented stty)", /* 31 = unimplemented stty */
+ "#32 (unimplemented gtty)", /* 32 = unimplemented gtty */
+ "access", /* 33 = access */
+ "nice_6x", /* 34 = nice_6x */
+ "ftime_6x", /* 35 = ftime_6x */
+ "sync", /* 36 = sync */
+ "kill", /* 37 = kill */
+ "stat", /* 38 = stat */
+ "setpgrp_6x", /* 39 = setpgrp_6x */
+ "lstat", /* 40 = lstat */
+ "dup", /* 41 = dup */
+ "opipe", /* 42 = opipe */
+ "times_6x", /* 43 = times_6x */
+ "profil", /* 44 = profil */
+ "#45 (unimplemented ki_syscall)", /* 45 = unimplemented ki_syscall */
+ "setgid", /* 46 = setgid */
+ "getgid", /* 47 = getgid */
+ "#48 (unimplemented)", /* 48 = unimplemented */
+ "#49 (unimplemented reserved for USG)", /* 49 = unimplemented reserved for USG */
+ "#50 (unimplemented reserved for USG)", /* 50 = unimplemented reserved for USG */
+ "#51 (unimplemented acct)", /* 51 = unimplemented acct */
+ "#52 (unimplemented set_userthreadid)", /* 52 = unimplemented set_userthreadid */
+ "#53 (unimplemented lwp_mutex_unlock_2)", /* 53 = unimplemented lwp_mutex_unlock_2 */
+ "ioctl", /* 54 = ioctl */
+ "#55 (unimplemented reboot)", /* 55 = unimplemented reboot */
+ "symlink", /* 56 = symlink */
+ "utssys", /* 57 = utssys */
+ "readlink", /* 58 = readlink */
+ "execve", /* 59 = execve */
+ "umask", /* 60 = umask */
+ "chroot", /* 61 = chroot */
+ "fcntl", /* 62 = fcntl */
+ "ulimit", /* 63 = ulimit */
+ "#64 (unimplemented)", /* 64 = unimplemented */
+ "#65 (unimplemented)", /* 65 = unimplemented */
+ "vfork", /* 66 = vfork */
+ "#67 (unimplemented lwp_getprivate)", /* 67 = unimplemented lwp_getprivate */
+ "#68 (unimplemented lwp_setprivate)", /* 68 = unimplemented lwp_setprivate */
+ "#69 (unimplemented)", /* 69 = unimplemented */
+ "#70 (unimplemented)", /* 70 = unimplemented */
+ "mmap", /* 71 = mmap */
+ "#72 (unimplemented)", /* 72 = unimplemented */
+ "munmap", /* 73 = munmap */
+ "mprotect", /* 74 = mprotect */
+ "#75 (unimplemented madvise)", /* 75 = unimplemented madvise */
+ "#76 (unimplemented vhangup)", /* 76 = unimplemented vhangup */
+ "#77 (unimplemented swapoff)", /* 77 = unimplemented swapoff */
+ "#78 (unimplemented)", /* 78 = unimplemented */
+ "getgroups", /* 79 = getgroups */
+ "setgroups", /* 80 = setgroups */
+ "getpgrp2", /* 81 = getpgrp2 */
+ "setpgrp2", /* 82 = setpgrp2 */
+ "setitimer", /* 83 = setitimer */
+ "wait3", /* 84 = wait3 */
+ "#85 (unimplemented swapon)", /* 85 = unimplemented swapon */
+ "getitimer", /* 86 = getitimer */
+ "#87 (unimplemented)", /* 87 = unimplemented */
+ "#88 (unimplemented)", /* 88 = unimplemented */
+ "#89 (unimplemented)", /* 89 = unimplemented */
+ "dup2", /* 90 = dup2 */
+ "#91 (unimplemented)", /* 91 = unimplemented */
+ "fstat", /* 92 = fstat */
+ "select", /* 93 = select */
+ "#94 (unimplemented)", /* 94 = unimplemented */
+ "fsync", /* 95 = fsync */
+ "#96 (unimplemented setpriority)", /* 96 = unimplemented setpriority */
+ "#97 (unimplemented)", /* 97 = unimplemented */
+ "#98 (unimplemented)", /* 98 = unimplemented */
+ "#99 (unimplemented)", /* 99 = unimplemented */
+ "#100 (unimplemented getpriority)", /* 100 = unimplemented getpriority */
+ "#101 (unimplemented)", /* 101 = unimplemented */
+ "#102 (unimplemented)", /* 102 = unimplemented */
+ "#103 (unimplemented lf_send)", /* 103 = unimplemented lf_send */
+ "#104 (unimplemented)", /* 104 = unimplemented */
+ "#105 (unimplemented)", /* 105 = unimplemented */
+ "#106 (unimplemented)", /* 106 = unimplemented */
+ "#107 (unimplemented)", /* 107 = unimplemented */
+ "sigvec", /* 108 = sigvec */
+ "sigblock", /* 109 = sigblock */
+ "sigsetmask", /* 110 = sigsetmask */
+ "sigpause", /* 111 = sigpause */
+ "sigstack", /* 112 = sigstack */
+ "#113 (unimplemented)", /* 113 = unimplemented */
+ "#114 (unimplemented)", /* 114 = unimplemented */
+ "#115 (unimplemented regctl)", /* 115 = unimplemented regctl */
+ "gettimeofday", /* 116 = gettimeofday */
+ "#117 (unimplemented getrusage)", /* 117 = unimplemented getrusage */
+ "#118 (unimplemented)", /* 118 = unimplemented */
+ "#119 (unimplemented)", /* 119 = unimplemented */
+ "readv", /* 120 = readv */
+ "writev", /* 121 = writev */
+ "settimeofday", /* 122 = settimeofday */
+ "fchown", /* 123 = fchown */
+ "fchmod", /* 124 = fchmod */
+ "#125 (unimplemented)", /* 125 = unimplemented */
+ "setresuid", /* 126 = setresuid */
+ "setresgid", /* 127 = setresgid */
+ "rename", /* 128 = rename */
+ "truncate", /* 129 = truncate */
+ "ftruncate", /* 130 = ftruncate */
+ "#131 (unimplemented)", /* 131 = unimplemented */
+ "sysconf", /* 132 = sysconf */
+ "#133 (unimplemented)", /* 133 = unimplemented */
+ "#134 (unimplemented)", /* 134 = unimplemented */
+ "#135 (unimplemented)", /* 135 = unimplemented */
+ "mkdir", /* 136 = mkdir */
+ "rmdir", /* 137 = rmdir */
+ "#138 (unimplemented)", /* 138 = unimplemented */
+ "#139 (unimplemented sigcleanup)", /* 139 = unimplemented sigcleanup */
+ "#140 (unimplemented setcore)", /* 140 = unimplemented setcore */
+ "#141 (unimplemented)", /* 141 = unimplemented */
+ "#142 (unimplemented)", /* 142 = unimplemented */
+ "#143 (unimplemented)", /* 143 = unimplemented */
+ "getrlimit", /* 144 = getrlimit */
+ "setrlimit", /* 145 = setrlimit */
+ "#146 (unimplemented)", /* 146 = unimplemented */
+ "#147 (unimplemented lwp_self)", /* 147 = unimplemented lwp_self */
+ "#148 (unimplemented quotactl)", /* 148 = unimplemented quotactl */
+ "#149 (unimplemented get_sysinfo)", /* 149 = unimplemented get_sysinfo */
+ "#150 (unimplemented)", /* 150 = unimplemented */
+ "#151 (unimplemented privgrp)", /* 151 = unimplemented privgrp */
+ "rtprio", /* 152 = rtprio */
+ "#153 (unimplemented plock)", /* 153 = unimplemented plock */
+ "#154 (unimplemented lf_next_scn)", /* 154 = unimplemented lf_next_scn */
+ "lockf", /* 155 = lockf */
+#ifdef SYSVSEM
+ "semget", /* 156 = semget */
+ "__semctl", /* 157 = __semctl */
+ "semop", /* 158 = semop */
+#else
+ "#156 (unimplemented semget)", /* 156 = unimplemented semget */
+ "#157 (unimplemented semctl)", /* 157 = unimplemented semctl */
+ "#158 (unimplemented semop)", /* 158 = unimplemented semop */
+#endif
+#ifdef SYSVMSG
+ "msgget", /* 159 = msgget */
+ "msgctl", /* 160 = msgctl */
+ "msgsnd", /* 161 = msgsnd */
+ "msgrcv", /* 162 = msgrcv */
+#else
+ "#159 (unimplemented msgget)", /* 159 = unimplemented msgget */
+ "#160 (unimplemented msgctl)", /* 160 = unimplemented msgctl */
+ "#161 (unimplemented msgsnd)", /* 161 = unimplemented msgsnd */
+ "#162 (unimplemented msgrcv)", /* 162 = unimplemented msgrcv */
+#endif
+#ifdef SYSVSHM
+ "shmget", /* 163 = shmget */
+ "shmctl", /* 164 = shmctl */
+ "shmat", /* 165 = shmat */
+ "shmdt", /* 166 = shmdt */
+#else
+ "#163 (unimplemented shmget)", /* 163 = unimplemented shmget */
+ "#164 (unimplemented shmctl)", /* 164 = unimplemented shmctl */
+ "#165 (unimplemented shmat)", /* 165 = unimplemented shmat */
+ "#166 (unimplemented shmdt)", /* 166 = unimplemented shmdt */
+#endif
+ "#167 (unimplemented set_mem_window)", /* 167 = unimplemented set_mem_window */
+ "#168 (unimplemented nsp_init)", /* 168 = unimplemented nsp_init */
+ "#169 (unimplemented)", /* 169 = unimplemented */
+ "#170 (unimplemented mkrnod)", /* 170 = unimplemented mkrnod */
+ "#171 (unimplemented test)", /* 171 = unimplemented test */
+ "#172 (unimplemented unsp_open)", /* 172 = unimplemented unsp_open */
+ "#173 (unimplemented)", /* 173 = unimplemented */
+ "getcontext", /* 174 = getcontext */
+ "#175 (unimplemented osetcontext)", /* 175 = unimplemented osetcontext */
+ "#176 (unimplemented bigio)", /* 176 = unimplemented bigio */
+ "#177 (unimplemented pipenode)", /* 177 = unimplemented pipenode */
+ "#178 (unimplemented lsync)", /* 178 = unimplemented lsync */
+ "#179 (unimplemented)", /* 179 = unimplemented */
+ "#180 (unimplemented mysite)", /* 180 = unimplemented mysite */
+ "#181 (unimplemented sitels)", /* 181 = unimplemented sitels */
+ "#182 (unimplemented swapclients)", /* 182 = unimplemented swapclients */
+ "#183 (unimplemented rmtprocess)", /* 183 = unimplemented rmtprocess */
+ "#184 (unimplemented dskless_stats)", /* 184 = unimplemented dskless_stats */
+ "sigprocmask", /* 185 = sigprocmask */
+ "sigpending", /* 186 = sigpending */
+ "sigsuspend", /* 187 = sigsuspend */
+ "sigaction", /* 188 = sigaction */
+ "#189 (unimplemented lw_get_thread_times)", /* 189 = unimplemented lw_get_thread_times */
+ "#190 (unimplemented nfssvc)", /* 190 = unimplemented nfssvc */
+ "#191 (unimplemented getfh)", /* 191 = unimplemented getfh */
+ "#192 (unimplemented getdomainname)", /* 192 = unimplemented getdomainname */
+ "#193 (unimplemented setdomainname)", /* 193 = unimplemented setdomainname */
+ "#194 (unimplemented async_daemon)", /* 194 = unimplemented async_daemon */
+ "#195 (unimplemented getdirentries)", /* 195 = unimplemented getdirentries */
+ "#196 (unimplemented statfs)", /* 196 = unimplemented statfs */
+ "#197 (unimplemented fstatfs)", /* 197 = unimplemented fstatfs */
+ "#198 (unimplemented vfsmount)", /* 198 = unimplemented vfsmount */
+ "#199 (unimplemented qmml)", /* 199 = unimplemented qmml */
+ "waitpid", /* 200 = waitpid */
+ "#201 (unimplemented)", /* 201 = unimplemented */
+ "#202 (unimplemented)", /* 202 = unimplemented */
+ "#203 (unimplemented)", /* 203 = unimplemented */
+ "#204 (unimplemented)", /* 204 = unimplemented */
+ "#205 (unimplemented)", /* 205 = unimplemented */
+ "#206 (unimplemented)", /* 206 = unimplemented */
+ "#207 (unimplemented)", /* 207 = unimplemented */
+ "#208 (unimplemented)", /* 208 = unimplemented */
+ "#209 (unimplemented)", /* 209 = unimplemented */
+ "#210 (unimplemented)", /* 210 = unimplemented */
+ "#211 (unimplemented)", /* 211 = unimplemented */
+ "#212 (unimplemented)", /* 212 = unimplemented */
+ "#213 (unimplemented)", /* 213 = unimplemented */
+ "#214 (unimplemented)", /* 214 = unimplemented */
+ "#215 (unimplemented)", /* 215 = unimplemented */
+ "#216 (unimplemented)", /* 216 = unimplemented */
+ "#217 (unimplemented)", /* 217 = unimplemented */
+ "#218 (unimplemented)", /* 218 = unimplemented */
+ "#219 (unimplemented)", /* 219 = unimplemented */
+ "#220 (unimplemented)", /* 220 = unimplemented */
+ "#221 (unimplemented)", /* 221 = unimplemented */
+ "#222 (unimplemented)", /* 222 = unimplemented */
+ "#223 (unimplemented)", /* 223 = unimplemented */
+ "hpux_sigsetreturn", /* 224 = hpux_sigsetreturn */
+ "#225 (unimplemented sigsetstatemask)", /* 225 = unimplemented sigsetstatemask */
+ "#226 (unimplemented)", /* 226 = unimplemented */
+ "#227 (unimplemented cs)", /* 227 = unimplemented cs */
+ "#228 (unimplemented cds)", /* 228 = unimplemented cds */
+ "#229 (unimplemented set_no_trunc)", /* 229 = unimplemented set_no_trunc */
+ "#230 (unimplemented pathconf)", /* 230 = unimplemented pathconf */
+ "#231 (unimplemented fpathconf)", /* 231 = unimplemented fpathconf */
+ "#232 (unimplemented)", /* 232 = unimplemented */
+ "#233 (unimplemented)", /* 233 = unimplemented */
+ "#234 (unimplemented nfs_fcntl)", /* 234 = unimplemented nfs_fcntl */
+ "#235 (unimplemented ogetacl)", /* 235 = unimplemented ogetacl */
+ "#236 (unimplemented ofgetctl)", /* 236 = unimplemented ofgetctl */
+ "#237 (unimplemented osetacl)", /* 237 = unimplemented osetacl */
+ "#238 (unimplemented ofsetacl)", /* 238 = unimplemented ofsetacl */
+ "#239 (unimplemented pstat)", /* 239 = unimplemented pstat */
+ "#240 (unimplemented getaudid)", /* 240 = unimplemented getaudid */
+ "#241 (unimplemented setaudid)", /* 241 = unimplemented setaudid */
+ "#242 (unimplemented getaudproc)", /* 242 = unimplemented getaudproc */
+ "#243 (unimplemented setaudproc)", /* 243 = unimplemented setaudproc */
+ "#244 (unimplemented getevent)", /* 244 = unimplemented getevent */
+ "#245 (unimplemented setevent)", /* 245 = unimplemented setevent */
+ "#246 (unimplemented audwrite)", /* 246 = unimplemented audwrite */
+ "#247 (unimplemented audswitch)", /* 247 = unimplemented audswitch */
+ "#248 (unimplemented audctl)", /* 248 = unimplemented audctl */
+ "#249 (unimplemented ogetaccess)", /* 249 = unimplemented ogetaccess */
+ "#250 (unimplemented fsctl)", /* 250 = unimplemented fsctl */
+ "#251 (unimplemented)", /* 251 = unimplemented */
+ "#252 (unimplemented getmount_entries)", /* 252 = unimplemented getmount_entries */
+ "#253 (unimplemented lwp_mutex_init2)", /* 253 = unimplemented lwp_mutex_init2 */
+ "#254 (unimplemented)", /* 254 = unimplemented */
+ "#255 (unimplemented)", /* 255 = unimplemented */
+ "#256 (unimplemented)", /* 256 = unimplemented */
+ "#257 (unimplemented)", /* 257 = unimplemented */
+ "#258 (unimplemented)", /* 258 = unimplemented */
+ "#259 (unimplemented swapfs)", /* 259 = unimplemented swapfs */
+ "#260 (unimplemented fss)", /* 260 = unimplemented fss */
+ "#261 (unimplemented)", /* 261 = unimplemented */
+ "#262 (unimplemented)", /* 262 = unimplemented */
+ "#263 (unimplemented)", /* 263 = unimplemented */
+ "#264 (unimplemented)", /* 264 = unimplemented */
+ "#265 (unimplemented)", /* 265 = unimplemented */
+ "#266 (unimplemented)", /* 266 = unimplemented */
+ "#267 (unimplemented tsync)", /* 267 = unimplemented tsync */
+ "#268 (unimplemented getnumfds)", /* 268 = unimplemented getnumfds */
+ "poll", /* 269 = poll */
+ "#270 (unimplemented getmsg)", /* 270 = unimplemented getmsg */
+ "#271 (unimplemented putmsg)", /* 271 = unimplemented putmsg */
+ "fchdir", /* 272 = fchdir */
+ "#273 (unimplemented getmount_cnt)", /* 273 = unimplemented getmount_cnt */
+ "#274 (unimplemented getmount_entry)", /* 274 = unimplemented getmount_entry */
+ "accept", /* 275 = accept */
+ "bind", /* 276 = bind */
+ "connect", /* 277 = connect */
+ "getpeername", /* 278 = getpeername */
+ "getsockname", /* 279 = getsockname */
+ "getsockopt", /* 280 = getsockopt */
+ "listen", /* 281 = listen */
+ "recv", /* 282 = recv */
+ "recvfrom", /* 283 = recvfrom */
+ "recvmsg", /* 284 = recvmsg */
+ "send", /* 285 = send */
+ "sendmsg", /* 286 = sendmsg */
+ "sendto", /* 287 = sendto */
+ "setsockopt", /* 288 = setsockopt */
+ "shutdown", /* 289 = shutdown */
+ "socket", /* 290 = socket */
+ "socketpair", /* 291 = socketpair */
+ "#292 (unimplemented proc_open)", /* 292 = unimplemented proc_open */
+ "#293 (unimplemented proc_close)", /* 293 = unimplemented proc_close */
+ "#294 (unimplemented proc_send)", /* 294 = unimplemented proc_send */
+ "#295 (unimplemented proc_recv)", /* 295 = unimplemented proc_recv */
+ "#296 (unimplemented proc_sendrecv)", /* 296 = unimplemented proc_sendrecv */
+ "#297 (unimplemented proc_syscall)", /* 297 = unimplemented proc_syscall */
+ "#298 (unimplemented)", /* 298 = unimplemented */
+ "#299 (unimplemented)", /* 299 = unimplemented */
+ "#300 (unimplemented)", /* 300 = unimplemented */
+ "#301 (unimplemented)", /* 301 = unimplemented */
+ "#302 (unimplemented)", /* 302 = unimplemented */
+ "#303 (unimplemented)", /* 303 = unimplemented */
+ "#304 (unimplemented)", /* 304 = unimplemented */
+ "#305 (unimplemented)", /* 305 = unimplemented */
+ "#306 (unimplemented)", /* 306 = unimplemented */
+ "#307 (unimplemented)", /* 307 = unimplemented */
+ "#308 (unimplemented)", /* 308 = unimplemented */
+ "#309 (unimplemented)", /* 309 = unimplemented */
+ "#310 (unimplemented)", /* 310 = unimplemented */
+ "#311 (unimplemented)", /* 311 = unimplemented */
+#ifdef SYSVSEM
+ "nsemctl", /* 312 = nsemctl */
+#else
+ "#312 (unimplemented semctl)", /* 312 = unimplemented semctl */
+#endif
+#ifdef SYSVMSG
+ "nmsgctl", /* 313 = nmsgctl */
+#else
+ "#313 (unimplemented msgctl)", /* 313 = unimplemented msgctl */
+#endif
+#ifdef SYSVSHM
+ "nshmctl", /* 314 = nshmctl */
+#else
+ "#314 (unimplemented shmctl)", /* 314 = unimplemented shmctl */
+#endif
+ "#315 (unimplemented mpctl)", /* 315 = unimplemented mpctl */
+ "#316 (unimplemented exportfs)", /* 316 = unimplemented exportfs */
+ "#317 (unimplemented getpmsg)", /* 317 = unimplemented getpmsg */
+ "#318 (unimplemented putpmsg)", /* 318 = unimplemented putpmsg */
+ "#319 (unimplemented)", /* 319 = unimplemented */
+ "#320 (unimplemented msync)", /* 320 = unimplemented msync */
+ "#321 (unimplemented msleep)", /* 321 = unimplemented msleep */
+ "#322 (unimplemented mwakeup)", /* 322 = unimplemented mwakeup */
+ "#323 (unimplemented msem_init)", /* 323 = unimplemented msem_init */
+ "#324 (unimplemented msem_remove)", /* 324 = unimplemented msem_remove */
+ "#325 (unimplemented adjtime)", /* 325 = unimplemented adjtime */
+ "#326 (unimplemented kload)", /* 326 = unimplemented kload */
+ "#327 (unimplemented fattach)", /* 327 = unimplemented fattach */
+ "#328 (unimplemented fdetach)", /* 328 = unimplemented fdetach */
+ "#329 (unimplemented serialize)", /* 329 = unimplemented serialize */
+ "#330 (unimplemented statvfs)", /* 330 = unimplemented statvfs */
+ "#331 (unimplemented fstatvfs)", /* 331 = unimplemented fstatvfs */
+ "lchown", /* 332 = lchown */
+ "#333 (unimplemented getsid)", /* 333 = unimplemented getsid */
+ "#334 (unimplemented sysfs)", /* 334 = unimplemented sysfs */
+ "#335 (unimplemented)", /* 335 = unimplemented */
+ "#336 (unimplemented)", /* 336 = unimplemented */
+ "#337 (unimplemented sched_setparam)", /* 337 = unimplemented sched_setparam */
+ "#338 (unimplemented sched_getparam)", /* 338 = unimplemented sched_getparam */
+ "#339 (unimplemented sched_setscheduler)", /* 339 = unimplemented sched_setscheduler */
+ "#340 (unimplemented sched_getscheduler)", /* 340 = unimplemented sched_getscheduler */
+ "#341 (unimplemented sched_yield)", /* 341 = unimplemented sched_yield */
+ "#342 (unimplemented sched_get_priority_max)", /* 342 = unimplemented sched_get_priority_max */
+ "#343 (unimplemented sched_get_priority_min)", /* 343 = unimplemented sched_get_priority_min */
+ "#344 (unimplemented sched_rr_get_interval)", /* 344 = unimplemented sched_rr_get_interval */
+ "#345 (unimplemented clock_settime)", /* 345 = unimplemented clock_settime */
+ "#346 (unimplemented clock_gettime)", /* 346 = unimplemented clock_gettime */
+ "#347 (unimplemented clock_getres)", /* 347 = unimplemented clock_getres */
+ "#348 (unimplemented timer_create)", /* 348 = unimplemented timer_create */
+ "#349 (unimplemented timer_delete)", /* 349 = unimplemented timer_delete */
+ "#350 (unimplemented timer_settime)", /* 350 = unimplemented timer_settime */
+ "#351 (unimplemented timer_gettime)", /* 351 = unimplemented timer_gettime */
+ "#352 (unimplemented timer_getoverrun)", /* 352 = unimplemented timer_getoverrun */
+ "nanosleep", /* 353 = nanosleep */
+ "#354 (unimplemented toolbox)", /* 354 = unimplemented toolbox */
+ "#355 (unimplemented)", /* 355 = unimplemented */
+ "#356 (unimplemented getdents)", /* 356 = unimplemented getdents */
+ "#357 (unimplemented getcontext)", /* 357 = unimplemented getcontext */
+ "#358 (unimplemented sysinfo)", /* 358 = unimplemented sysinfo */
+ "#359 (unimplemented fcntl64)", /* 359 = unimplemented fcntl64 */
+ "#360 (unimplemented ftruncate64)", /* 360 = unimplemented ftruncate64 */
+ "#361 (unimplemented fstat64)", /* 361 = unimplemented fstat64 */
+ "#362 (unimplemented getdirentries64)", /* 362 = unimplemented getdirentries64 */
+ "#363 (unimplemented getrlimit64)", /* 363 = unimplemented getrlimit64 */
+ "#364 (unimplemented lockf64)", /* 364 = unimplemented lockf64 */
+ "#365 (unimplemented lseek64)", /* 365 = unimplemented lseek64 */
+ "#366 (unimplemented lstat64)", /* 366 = unimplemented lstat64 */
+ "#367 (unimplemented mmap64)", /* 367 = unimplemented mmap64 */
+ "#368 (unimplemented setrlimit64)", /* 368 = unimplemented setrlimit64 */
+ "#369 (unimplemented stat64)", /* 369 = unimplemented stat64 */
+ "#370 (unimplemented truncate64)", /* 370 = unimplemented truncate64 */
+ "#371 (unimplemented ulimit64)", /* 371 = unimplemented ulimit64 */
+ "#372 (unimplemented pread)", /* 372 = unimplemented pread */
+ "#373 (unimplemented preadv)", /* 373 = unimplemented preadv */
+ "#374 (unimplemented pwrite)", /* 374 = unimplemented pwrite */
+ "#375 (unimplemented pwritev)", /* 375 = unimplemented pwritev */
+ "#376 (unimplemented pread64)", /* 376 = unimplemented pread64 */
+ "#377 (unimplemented preadv64)", /* 377 = unimplemented preadv64 */
+ "#378 (unimplemented pwrite64)", /* 378 = unimplemented pwrite64 */
+ "#379 (unimplemented pwritev64)", /* 379 = unimplemented pwritev64 */
+ "#380 (unimplemented setcontext)", /* 380 = unimplemented setcontext */
+ "#381 (unimplemented sigaltstack)", /* 381 = unimplemented sigaltstack */
+ "#382 (unimplemented waitid)", /* 382 = unimplemented waitid */
+ "#383 (unimplemented setpgrp)", /* 383 = unimplemented setpgrp */
+ "#384 (unimplemented recvmsg2)", /* 384 = unimplemented recvmsg2 */
+ "#385 (unimplemented sendmsg2)", /* 385 = unimplemented sendmsg2 */
+ "#386 (unimplemented socket2)", /* 386 = unimplemented socket2 */
+ "#387 (unimplemented socketpair2)", /* 387 = unimplemented socketpair2 */
+ "#388 (unimplemented setregid)", /* 388 = unimplemented setregid */
+ "#389 (unimplemented lwp_create)", /* 389 = unimplemented lwp_create */
+ "#390 (unimplemented lwp_terminate)", /* 390 = unimplemented lwp_terminate */
+ "#391 (unimplemented lwp_wait)", /* 391 = unimplemented lwp_wait */
+ "#392 (unimplemented lwp_suspend)", /* 392 = unimplemented lwp_suspend */
+ "#393 (unimplemented lwp_resume)", /* 393 = unimplemented lwp_resume */
+ "#394 (unimplemented)", /* 394 = unimplemented */
+ "#395 (unimplemented lwp_abort_syscall)", /* 395 = unimplemented lwp_abort_syscall */
+ "#396 (unimplemented lwp_info)", /* 396 = unimplemented lwp_info */
+ "#397 (unimplemented lwp_kill)", /* 397 = unimplemented lwp_kill */
+ "#398 (unimplemented ksleep)", /* 398 = unimplemented ksleep */
+ "#399 (unimplemented kwakeup)", /* 399 = unimplemented kwakeup */
+ "#400 (unimplemented)", /* 400 = unimplemented */
+ "#401 (unimplemented pstat_getlwp)", /* 401 = unimplemented pstat_getlwp */
+ "#402 (unimplemented lwp_exit)", /* 402 = unimplemented lwp_exit */
+ "#403 (unimplemented lwp_continue)", /* 403 = unimplemented lwp_continue */
+ "#404 (unimplemented getacl)", /* 404 = unimplemented getacl */
+ "#405 (unimplemented fgetacl)", /* 405 = unimplemented fgetacl */
+ "#406 (unimplemented setacl)", /* 406 = unimplemented setacl */
+ "#407 (unimplemented fsetacl)", /* 407 = unimplemented fsetacl */
+ "#408 (unimplemented getaccess)", /* 408 = unimplemented getaccess */
+ "#409 (unimplemented lwp_mutex_init)", /* 409 = unimplemented lwp_mutex_init */
+ "#410 (unimplemented lwp_mutex_lock_sys)", /* 410 = unimplemented lwp_mutex_lock_sys */
+ "#411 (unimplemented lwp_mutex_unlock)", /* 411 = unimplemented lwp_mutex_unlock */
+ "#412 (unimplemented lwp_cond_init)", /* 412 = unimplemented lwp_cond_init */
+ "#413 (unimplemented lwp_cond_signal)", /* 413 = unimplemented lwp_cond_signal */
+ "#414 (unimplemented lwp_cond_broadcast)", /* 414 = unimplemented lwp_cond_broadcast */
+ "#415 (unimplemented lwp_cond_wait_sys)", /* 415 = unimplemented lwp_cond_wait_sys */
+ "#416 (unimplemented lwp_getscheduler)", /* 416 = unimplemented lwp_getscheduler */
+ "#417 (unimplemented lwp_setscheduler)", /* 417 = unimplemented lwp_setscheduler */
+ "#418 (unimplemented lwp_getstate)", /* 418 = unimplemented lwp_getstate */
+ "#419 (unimplemented lwp_setstate)", /* 419 = unimplemented lwp_setstate */
+ "#420 (unimplemented lwp_detach)", /* 420 = unimplemented lwp_detach */
+ "#421 (unimplemented mlock)", /* 421 = unimplemented mlock */
+ "#422 (unimplemented munlock)", /* 422 = unimplemented munlock */
+ "#423 (unimplemented mlockall)", /* 423 = unimplemented mlockall */
+ "#424 (unimplemented munlockall)", /* 424 = unimplemented munlockall */
+ "#425 (unimplemented shm_open)", /* 425 = unimplemented shm_open */
+ "#426 (unimplemented shm_unlink)", /* 426 = unimplemented shm_unlink */
+ "#427 (unimplemented sigqueue)", /* 427 = unimplemented sigqueue */
+ "#428 (unimplemented sigwaitinfo)", /* 428 = unimplemented sigwaitinfo */
+ "#429 (unimplemented sigtimedwait)", /* 429 = unimplemented sigtimedwait */
+ "#430 (unimplemented sigwait)", /* 430 = unimplemented sigwait */
+ "#431 (unimplemented aio_read)", /* 431 = unimplemented aio_read */
+ "#432 (unimplemented aio_write)", /* 432 = unimplemented aio_write */
+ "#433 (unimplemented lio_listio)", /* 433 = unimplemented lio_listio */
+ "#434 (unimplemented aio_error)", /* 434 = unimplemented aio_error */
+ "#435 (unimplemented aio_return)", /* 435 = unimplemented aio_return */
+ "#436 (unimplemented aio_cancel)", /* 436 = unimplemented aio_cancel */
+ "#437 (unimplemented aio_suspend)", /* 437 = unimplemented aio_suspend */
+ "#438 (unimplemented aio_fsync)", /* 438 = unimplemented aio_fsync */
+ "#439 (unimplemented mq_open)", /* 439 = unimplemented mq_open */
+ "#440 (unimplemented mq_close)", /* 440 = unimplemented mq_close */
+ "#441 (unimplemented mq_unlink)", /* 441 = unimplemented mq_unlink */
+ "#442 (unimplemented mq_send)", /* 442 = unimplemented mq_send */
+ "#443 (unimplemented mq_receive)", /* 443 = unimplemented mq_receive */
+ "#444 (unimplemented mq_notify)", /* 444 = unimplemented mq_notify */
+ "#445 (unimplemented mq_setattr)", /* 445 = unimplemented mq_setattr */
+ "#446 (unimplemented mq_getattr)", /* 446 = unimplemented mq_getattr */
+ "#447 (unimplemented ksem_open)", /* 447 = unimplemented ksem_open */
+ "#448 (unimplemented ksem_unlink)", /* 448 = unimplemented ksem_unlink */
+ "#449 (unimplemented ksem_close)", /* 449 = unimplemented ksem_close */
+ "#450 (unimplemented ksem_post)", /* 450 = unimplemented ksem_post */
+ "#451 (unimplemented ksem_wait)", /* 451 = unimplemented ksem_wait */
+ "#452 (unimplemented ksem_read)", /* 452 = unimplemented ksem_read */
+ "#453 (unimplemented ksem_trywait)", /* 453 = unimplemented ksem_trywait */
+ "#454 (unimplemented lwp_rwlock_init)", /* 454 = unimplemented lwp_rwlock_init */
+ "#455 (unimplemented lwp_rwlock_destroy)", /* 455 = unimplemented lwp_rwlock_destroy */
+ "#456 (unimplemented lwp_rwlock_rdlock_sys)", /* 456 = unimplemented lwp_rwlock_rdlock_sys */
+ "#457 (unimplemented lwp_rwlock_wrlock_sys)", /* 457 = unimplemented lwp_rwlock_wrlock_sys */
+ "#458 (unimplemented lwp_rwlock_tryrdlock)", /* 458 = unimplemented lwp_rwlock_tryrdlock */
+ "#459 (unimplemented lwp_rwlock_trywrlock)", /* 459 = unimplemented lwp_rwlock_trywrlock */
+ "#460 (unimplemented lwp_rwlock_unlock)", /* 460 = unimplemented lwp_rwlock_unlock */
+ "#461 (unimplemented ttrace)", /* 461 = unimplemented ttrace */
+ "#462 (unimplemented ttrace_wait)", /* 462 = unimplemented ttrace_wait */
+ "#463 (unimplemented lf_wire_mem)", /* 463 = unimplemented lf_wire_mem */
+ "#464 (unimplemented lf_unwire_mem)", /* 464 = unimplemented lf_unwire_mem */
+ "#465 (unimplemented lf_send_pin_map)", /* 465 = unimplemented lf_send_pin_map */
+ "#466 (unimplemented lf_free_buf)", /* 466 = unimplemented lf_free_buf */
+ "#467 (unimplemented lf_wait_nq)", /* 467 = unimplemented lf_wait_nq */
+ "#468 (unimplemented lf_wakeup_conn_q)", /* 468 = unimplemented lf_wakeup_conn_q */
+ "#469 (unimplemented lf_unused)", /* 469 = unimplemented lf_unused */
+ "#470 (unimplemented lwp_sema_init)", /* 470 = unimplemented lwp_sema_init */
+ "#471 (unimplemented lwp_sema_post)", /* 471 = unimplemented lwp_sema_post */
+ "#472 (unimplemented lwp_sema_wait)", /* 472 = unimplemented lwp_sema_wait */
+ "#473 (unimplemented lwp_sema_trywait)", /* 473 = unimplemented lwp_sema_trywait */
+ "#474 (unimplemented lwp_sema_destroy)", /* 474 = unimplemented lwp_sema_destroy */
+ "#475 (unimplemented statvfs64)", /* 475 = unimplemented statvfs64 */
+ "#476 (unimplemented fstatvfs64)", /* 476 = unimplemented fstatvfs64 */
+ "#477 (unimplemented msh_register)", /* 477 = unimplemented msh_register */
+ "#478 (unimplemented ptrace64)", /* 478 = unimplemented ptrace64 */
+ "#479 (unimplemented sendfile)", /* 479 = unimplemented sendfile */
+ "#480 (unimplemented sendpath)", /* 480 = unimplemented sendpath */
+ "#481 (unimplemented sendfile64)", /* 481 = unimplemented sendfile64 */
+ "#482 (unimplemented sendpath64)", /* 482 = unimplemented sendpath64 */
+ "#483 (unimplemented modload)", /* 483 = unimplemented modload */
+ "#484 (unimplemented moduload)", /* 484 = unimplemented moduload */
+ "#485 (unimplemented modpath)", /* 485 = unimplemented modpath */
+ "#486 (unimplemented getksym)", /* 486 = unimplemented getksym */
+ "#487 (unimplemented modadm)", /* 487 = unimplemented modadm */
+ "#488 (unimplemented modstat)", /* 488 = unimplemented modstat */
+ "#489 (unimplemented lwp_detached_exit)", /* 489 = unimplemented lwp_detached_exit */
+ "#490 (unimplemented crashconf)", /* 490 = unimplemented crashconf */
+ "#491 (unimplemented siginhibit)", /* 491 = unimplemented siginhibit */
+ "#492 (unimplemented sigenable)", /* 492 = unimplemented sigenable */
+ "#493 (unimplemented spuctl)", /* 493 = unimplemented spuctl */
+ "#494 (unimplemented zerokernelsum)", /* 494 = unimplemented zerokernelsum */
+ "#495 (unimplemented nfs_kstat)", /* 495 = unimplemented nfs_kstat */
+ "#496 (unimplemented aio_read64)", /* 496 = unimplemented aio_read64 */
+ "#497 (unimplemented aio_write64)", /* 497 = unimplemented aio_write64 */
+ "#498 (unimplemented aio_error64)", /* 498 = unimplemented aio_error64 */
+ "#499 (unimplemented aio_return64)", /* 499 = unimplemented aio_return64 */
+ "#500 (unimplemented aio_cancel64)", /* 500 = unimplemented aio_cancel64 */
+ "#501 (unimplemented aio_suspend64)", /* 501 = unimplemented aio_suspend64 */
+ "#502 (unimplemented aio_fsync64)", /* 502 = unimplemented aio_fsync64 */
+ "#503 (unimplemented lio_listio64)", /* 503 = unimplemented lio_listio64 */
+ "#504 (unimplemented recv2)", /* 504 = unimplemented recv2 */
+ "#505 (unimplemented recvfrom2)", /* 505 = unimplemented recvfrom2 */
+ "#506 (unimplemented send2)", /* 506 = unimplemented send2 */
+ "#507 (unimplemented sendto2)", /* 507 = unimplemented sendto2 */
+ "#508 (unimplemented acl)", /* 508 = unimplemented acl */
+ "#509 (unimplemented __cnx_p2p_ctl)", /* 509 = unimplemented __cnx_p2p_ctl */
+ "#510 (unimplemented __cnx_gsched_ctl)", /* 510 = unimplemented __cnx_gsched_ctl */
+ "#511 (unimplemented __cnx_pmon_ctl)", /* 511 = unimplemented __cnx_pmon_ctl */
+ "#512 (unimplemented mem_res_grp)", /* 512 = unimplemented mem_res_grp */
+ "#513 (unimplemented fabric)", /* 513 = unimplemented fabric */
+ "#514 (unimplemented diagsyscall)", /* 514 = unimplemented diagsyscall */
+ "#515 (unimplemented tuneinfo)", /* 515 = unimplemented tuneinfo */
+ "#516 (unimplemented gettune)", /* 516 = unimplemented gettune */
+ "#517 (unimplemented settune)", /* 517 = unimplemented settune */
+ "#518 (unimplemented pset_create)", /* 518 = unimplemented pset_create */
+ "#519 (unimplemented pset_destroy)", /* 519 = unimplemented pset_destroy */
+ "#520 (unimplemented pset_assign)", /* 520 = unimplemented pset_assign */
+ "#521 (unimplemented pset_bind)", /* 521 = unimplemented pset_bind */
+ "#522 (unimplemented pset_getattr)", /* 522 = unimplemented pset_getattr */
+ "#523 (unimplemented pset_setattr)", /* 523 = unimplemented pset_setattr */
+ "#524 (unimplemented pset_ctl)", /* 524 = unimplemented pset_ctl */
+ "#525 (unimplemented pset_rtctl)", /* 525 = unimplemented pset_rtctl */
+};
diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c
new file mode 100644
index 00000000000..e3303799eab
--- /dev/null
+++ b/sys/compat/hpux/hppa/hpux_sysent.c
@@ -0,0 +1,1127 @@
+/* $OpenBSD: hpux_sysent.c,v 1.1 2004/07/09 22:20:29 mickey Exp $ */
+
+/*
+ * System call switch table.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from OpenBSD: syscalls.master,v 1.1 2004/07/09 21:48:21 mickey Exp
+ */
+
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/signal.h>
+#include <sys/mount.h>
+#include <sys/exec.h>
+#include <sys/syscallargs.h>
+#include <compat/hpux/hpux.h>
+#include <compat/hpux/hppa/hpux_syscallargs.h>
+#include <machine/hpux_machdep.h>
+
+#define s(type) sizeof(type)
+
+struct sysent hpux_sysent[] = {
+ { 0, 0,
+ sys_nosys }, /* 0 = syscall */
+ { 1, s(struct sys_exit_args),
+ sys_exit }, /* 1 = exit */
+ { 0, 0,
+ hpux_sys_fork }, /* 2 = fork */
+ { 3, s(struct hpux_sys_read_args),
+ hpux_sys_read }, /* 3 = read */
+ { 3, s(struct hpux_sys_write_args),
+ hpux_sys_write }, /* 4 = write */
+ { 3, s(struct hpux_sys_open_args),
+ hpux_sys_open }, /* 5 = open */
+ { 1, s(struct sys_close_args),
+ sys_close }, /* 6 = close */
+ { 1, s(struct hpux_sys_wait_args),
+ hpux_sys_wait }, /* 7 = wait */
+ { 2, s(struct hpux_sys_creat_args),
+ hpux_sys_creat }, /* 8 = creat */
+ { 2, s(struct sys_link_args),
+ sys_link }, /* 9 = link */
+ { 1, s(struct hpux_sys_unlink_args),
+ hpux_sys_unlink }, /* 10 = unlink */
+ { 2, s(struct hpux_sys_execv_args),
+ hpux_sys_execv }, /* 11 = execv */
+ { 1, s(struct hpux_sys_chdir_args),
+ hpux_sys_chdir }, /* 12 = chdir */
+ { 1, s(struct hpux_sys_time_6x_args),
+ hpux_sys_time_6x }, /* 13 = time_6x */
+ { 3, s(struct hpux_sys_mknod_args),
+ hpux_sys_mknod }, /* 14 = mknod */
+ { 2, s(struct hpux_sys_chmod_args),
+ hpux_sys_chmod }, /* 15 = chmod */
+ { 3, s(struct hpux_sys_chown_args),
+ hpux_sys_chown }, /* 16 = chown */
+ { 1, s(struct sys_obreak_args),
+ sys_obreak }, /* 17 = obreak */
+ { 0, 0,
+ sys_nosys }, /* 18 = unimplemented lchmod */
+ { 3, s(struct compat_43_sys_lseek_args),
+ compat_43_sys_lseek }, /* 19 = lseek */
+ { 0, 0,
+ sys_getpid }, /* 20 = getpid */
+ { 0, 0,
+ sys_nosys }, /* 21 = unimplemented mount */
+ { 0, 0,
+ sys_nosys }, /* 22 = unimplemented umount */
+ { 1, s(struct sys_setuid_args),
+ sys_setuid }, /* 23 = setuid */
+ { 0, 0,
+ sys_getuid }, /* 24 = getuid */
+ { 1, s(struct hpux_sys_stime_6x_args),
+ hpux_sys_stime_6x }, /* 25 = stime_6x */
+#ifdef PTRACE
+ { 4, s(struct hpux_sys_ptrace_args),
+ hpux_sys_ptrace }, /* 26 = ptrace */
+#else
+ { 0, 0,
+ sys_nosys }, /* 26 = unimplemented ptrace */
+#endif
+ { 1, s(struct hpux_sys_alarm_6x_args),
+ hpux_sys_alarm_6x }, /* 27 = alarm_6x */
+ { 0, 0,
+ sys_nosys }, /* 28 = unimplemented cnx_lw_pmon_read */
+ { 0, 0,
+ hpux_sys_pause_6x }, /* 29 = pause_6x */
+ { 2, s(struct hpux_sys_utime_6x_args),
+ hpux_sys_utime_6x }, /* 30 = utime_6x */
+ { 0, 0,
+ sys_nosys }, /* 31 = unimplemented stty */
+ { 0, 0,
+ sys_nosys }, /* 32 = unimplemented gtty */
+ { 2, s(struct hpux_sys_access_args),
+ hpux_sys_access }, /* 33 = access */
+ { 1, s(struct hpux_sys_nice_6x_args),
+ hpux_sys_nice_6x }, /* 34 = nice_6x */
+ { 1, s(struct hpux_sys_ftime_6x_args),
+ hpux_sys_ftime_6x }, /* 35 = ftime_6x */
+ { 0, 0,
+ sys_sync }, /* 36 = sync */
+ { 2, s(struct hpux_sys_kill_args),
+ hpux_sys_kill }, /* 37 = kill */
+ { 2, s(struct hpux_sys_stat_args),
+ hpux_sys_stat }, /* 38 = stat */
+ { 0, 0,
+ hpux_sys_setpgrp_6x }, /* 39 = setpgrp_6x */
+ { 2, s(struct hpux_sys_lstat_args),
+ hpux_sys_lstat }, /* 40 = lstat */
+ { 1, s(struct sys_dup_args),
+ sys_dup }, /* 41 = dup */
+ { 0, 0,
+ sys_opipe }, /* 42 = opipe */
+ { 1, s(struct hpux_sys_times_6x_args),
+ hpux_sys_times_6x }, /* 43 = times_6x */
+ { 4, s(struct sys_profil_args),
+ sys_profil }, /* 44 = profil */
+ { 0, 0,
+ sys_nosys }, /* 45 = unimplemented ki_syscall */
+ { 1, s(struct sys_setgid_args),
+ sys_setgid }, /* 46 = setgid */
+ { 0, 0,
+ sys_getgid }, /* 47 = getgid */
+ { 0, 0,
+ sys_nosys }, /* 48 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 49 = unimplemented reserved for USG */
+ { 0, 0,
+ sys_nosys }, /* 50 = unimplemented reserved for USG */
+ { 0, 0,
+ sys_nosys }, /* 51 = unimplemented acct */
+ { 0, 0,
+ sys_nosys }, /* 52 = unimplemented set_userthreadid */
+ { 0, 0,
+ sys_nosys }, /* 53 = unimplemented lwp_mutex_unlock_2 */
+ { 3, s(struct hpux_sys_ioctl_args),
+ hpux_sys_ioctl }, /* 54 = ioctl */
+ { 0, 0,
+ sys_nosys }, /* 55 = unimplemented reboot */
+ { 2, s(struct hpux_sys_symlink_args),
+ hpux_sys_symlink }, /* 56 = symlink */
+ { 3, s(struct hpux_sys_utssys_args),
+ hpux_sys_utssys }, /* 57 = utssys */
+ { 3, s(struct hpux_sys_readlink_args),
+ hpux_sys_readlink }, /* 58 = readlink */
+ { 3, s(struct hpux_sys_execve_args),
+ hpux_sys_execve }, /* 59 = execve */
+ { 1, s(struct sys_umask_args),
+ sys_umask }, /* 60 = umask */
+ { 1, s(struct sys_chroot_args),
+ sys_chroot }, /* 61 = chroot */
+ { 3, s(struct hpux_sys_fcntl_args),
+ hpux_sys_fcntl }, /* 62 = fcntl */
+ { 2, s(struct hpux_sys_ulimit_args),
+ hpux_sys_ulimit }, /* 63 = ulimit */
+ { 0, 0,
+ sys_nosys }, /* 64 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 65 = unimplemented */
+ { 0, 0,
+ hpux_sys_vfork }, /* 66 = vfork */
+ { 0, 0,
+ sys_nosys }, /* 67 = unimplemented lwp_getprivate */
+ { 0, 0,
+ sys_nosys }, /* 68 = unimplemented lwp_setprivate */
+ { 0, 0,
+ sys_nosys }, /* 69 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 70 = unimplemented */
+ { 6, s(struct hpux_sys_mmap_args),
+ hpux_sys_mmap }, /* 71 = mmap */
+ { 0, 0,
+ sys_nosys }, /* 72 = unimplemented */
+ { 2, s(struct sys_munmap_args),
+ sys_munmap }, /* 73 = munmap */
+ { 3, s(struct sys_mprotect_args),
+ sys_mprotect }, /* 74 = mprotect */
+ { 0, 0,
+ sys_nosys }, /* 75 = unimplemented madvise */
+ { 0, 0,
+ sys_nosys }, /* 76 = unimplemented vhangup */
+ { 0, 0,
+ sys_nosys }, /* 77 = unimplemented swapoff */
+ { 0, 0,
+ sys_nosys }, /* 78 = unimplemented */
+ { 2, s(struct sys_getgroups_args),
+ sys_getgroups }, /* 79 = getgroups */
+ { 2, s(struct sys_setgroups_args),
+ sys_setgroups }, /* 80 = setgroups */
+ { 1, s(struct hpux_sys_getpgrp2_args),
+ hpux_sys_getpgrp2 }, /* 81 = getpgrp2 */
+ { 2, s(struct hpux_sys_setpgrp2_args),
+ hpux_sys_setpgrp2 }, /* 82 = setpgrp2 */
+ { 3, s(struct sys_setitimer_args),
+ sys_setitimer }, /* 83 = setitimer */
+ { 3, s(struct hpux_sys_wait3_args),
+ hpux_sys_wait3 }, /* 84 = wait3 */
+ { 0, 0,
+ sys_nosys }, /* 85 = unimplemented swapon */
+ { 2, s(struct sys_getitimer_args),
+ sys_getitimer }, /* 86 = getitimer */
+ { 0, 0,
+ sys_nosys }, /* 87 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 88 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 89 = unimplemented */
+ { 2, s(struct sys_dup2_args),
+ sys_dup2 }, /* 90 = dup2 */
+ { 0, 0,
+ sys_nosys }, /* 91 = unimplemented */
+ { 2, s(struct hpux_sys_fstat_args),
+ hpux_sys_fstat }, /* 92 = fstat */
+ { 5, s(struct sys_select_args),
+ sys_select }, /* 93 = select */
+ { 0, 0,
+ sys_nosys }, /* 94 = unimplemented */
+ { 1, s(struct sys_fsync_args),
+ sys_fsync }, /* 95 = fsync */
+ { 0, 0,
+ sys_nosys }, /* 96 = unimplemented setpriority */
+ { 0, 0,
+ sys_nosys }, /* 97 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 98 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 99 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 100 = unimplemented getpriority */
+ { 0, 0,
+ sys_nosys }, /* 101 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 102 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 103 = unimplemented lf_send */
+ { 0, 0,
+ sys_nosys }, /* 104 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 105 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 106 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 107 = unimplemented */
+ { 3, s(struct hpux_sys_sigvec_args),
+ hpux_sys_sigvec }, /* 108 = sigvec */
+ { 1, s(struct hpux_sys_sigblock_args),
+ hpux_sys_sigblock }, /* 109 = sigblock */
+ { 1, s(struct hpux_sys_sigsetmask_args),
+ hpux_sys_sigsetmask }, /* 110 = sigsetmask */
+ { 1, s(struct hpux_sys_sigpause_args),
+ hpux_sys_sigpause }, /* 111 = sigpause */
+ { 2, s(struct compat_43_sys_sigstack_args),
+ compat_43_sys_sigstack }, /* 112 = sigstack */
+ { 0, 0,
+ sys_nosys }, /* 113 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 114 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 115 = unimplemented regctl */
+ { 1, s(struct sys_gettimeofday_args),
+ sys_gettimeofday }, /* 116 = gettimeofday */
+ { 0, 0,
+ sys_nosys }, /* 117 = unimplemented getrusage */
+ { 0, 0,
+ sys_nosys }, /* 118 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 119 = unimplemented */
+ { 3, s(struct hpux_sys_readv_args),
+ hpux_sys_readv }, /* 120 = readv */
+ { 3, s(struct hpux_sys_writev_args),
+ hpux_sys_writev }, /* 121 = writev */
+ { 2, s(struct sys_settimeofday_args),
+ sys_settimeofday }, /* 122 = settimeofday */
+ { 3, s(struct sys_fchown_args),
+ sys_fchown }, /* 123 = fchown */
+ { 2, s(struct sys_fchmod_args),
+ sys_fchmod }, /* 124 = fchmod */
+ { 0, 0,
+ sys_nosys }, /* 125 = unimplemented */
+ { 3, s(struct sys_setresuid_args),
+ sys_setresuid }, /* 126 = setresuid */
+ { 3, s(struct sys_setresgid_args),
+ sys_setresgid }, /* 127 = setresgid */
+ { 2, s(struct hpux_sys_rename_args),
+ hpux_sys_rename }, /* 128 = rename */
+ { 2, s(struct hpux_sys_truncate_args),
+ hpux_sys_truncate }, /* 129 = truncate */
+ { 2, s(struct compat_43_sys_ftruncate_args),
+ compat_43_sys_ftruncate }, /* 130 = ftruncate */
+ { 0, 0,
+ sys_nosys }, /* 131 = unimplemented */
+ { 1, s(struct hpux_sys_sysconf_args),
+ hpux_sys_sysconf }, /* 132 = sysconf */
+ { 0, 0,
+ sys_nosys }, /* 133 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 134 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 135 = unimplemented */
+ { 2, s(struct hpux_sys_mkdir_args),
+ hpux_sys_mkdir }, /* 136 = mkdir */
+ { 1, s(struct hpux_sys_rmdir_args),
+ hpux_sys_rmdir }, /* 137 = rmdir */
+ { 0, 0,
+ sys_nosys }, /* 138 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 139 = unimplemented sigcleanup */
+ { 0, 0,
+ sys_nosys }, /* 140 = unimplemented setcore */
+ { 0, 0,
+ sys_nosys }, /* 141 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 142 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 143 = unimplemented */
+ { 2, s(struct hpux_sys_getrlimit_args),
+ hpux_sys_getrlimit }, /* 144 = getrlimit */
+ { 2, s(struct hpux_sys_setrlimit_args),
+ hpux_sys_setrlimit }, /* 145 = setrlimit */
+ { 0, 0,
+ sys_nosys }, /* 146 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 147 = unimplemented lwp_self */
+ { 0, 0,
+ sys_nosys }, /* 148 = unimplemented quotactl */
+ { 0, 0,
+ sys_nosys }, /* 149 = unimplemented get_sysinfo */
+ { 0, 0,
+ sys_nosys }, /* 150 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 151 = unimplemented privgrp */
+ { 2, s(struct hpux_sys_rtprio_args),
+ hpux_sys_rtprio }, /* 152 = rtprio */
+ { 0, 0,
+ sys_nosys }, /* 153 = unimplemented plock */
+ { 0, 0,
+ sys_nosys }, /* 154 = unimplemented lf_next_scn */
+ { 3, s(struct hpux_sys_lockf_args),
+ hpux_sys_lockf }, /* 155 = lockf */
+#ifdef SYSVSEM
+ { 3, s(struct sys_semget_args),
+ sys_semget }, /* 156 = semget */
+ { 4, s(struct sys___semctl_args),
+ sys___semctl }, /* 157 = __semctl */
+ { 3, s(struct sys_semop_args),
+ sys_semop }, /* 158 = semop */
+#else
+ { 0, 0,
+ sys_nosys }, /* 156 = unimplemented semget */
+ { 0, 0,
+ sys_nosys }, /* 157 = unimplemented semctl */
+ { 0, 0,
+ sys_nosys }, /* 158 = unimplemented semop */
+#endif
+#ifdef SYSVMSG
+ { 2, s(struct sys_msgget_args),
+ sys_msgget }, /* 159 = msgget */
+ { 3, s(struct sys_msgctl_args),
+ sys_msgctl }, /* 160 = msgctl */
+ { 4, s(struct sys_msgsnd_args),
+ sys_msgsnd }, /* 161 = msgsnd */
+ { 5, s(struct sys_msgrcv_args),
+ sys_msgrcv }, /* 162 = msgrcv */
+#else
+ { 0, 0,
+ sys_nosys }, /* 159 = unimplemented msgget */
+ { 0, 0,
+ sys_nosys }, /* 160 = unimplemented msgctl */
+ { 0, 0,
+ sys_nosys }, /* 161 = unimplemented msgsnd */
+ { 0, 0,
+ sys_nosys }, /* 162 = unimplemented msgrcv */
+#endif
+#ifdef SYSVSHM
+ { 3, s(struct sys_shmget_args),
+ sys_shmget }, /* 163 = shmget */
+ { 3, s(struct hpux_sys_shmctl_args),
+ hpux_sys_shmctl }, /* 164 = shmctl */
+ { 3, s(struct sys_shmat_args),
+ sys_shmat }, /* 165 = shmat */
+ { 1, s(struct sys_shmdt_args),
+ sys_shmdt }, /* 166 = shmdt */
+#else
+ { 0, 0,
+ sys_nosys }, /* 163 = unimplemented shmget */
+ { 0, 0,
+ sys_nosys }, /* 164 = unimplemented shmctl */
+ { 0, 0,
+ sys_nosys }, /* 165 = unimplemented shmat */
+ { 0, 0,
+ sys_nosys }, /* 166 = unimplemented shmdt */
+#endif
+ { 0, 0,
+ sys_nosys }, /* 167 = unimplemented set_mem_window */
+ { 0, 0,
+ sys_nosys }, /* 168 = unimplemented nsp_init */
+ { 0, 0,
+ sys_nosys }, /* 169 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 170 = unimplemented mkrnod */
+ { 0, 0,
+ sys_nosys }, /* 171 = unimplemented test */
+ { 0, 0,
+ sys_nosys }, /* 172 = unimplemented unsp_open */
+ { 0, 0,
+ sys_nosys }, /* 173 = unimplemented */
+ { 2, s(struct hpux_sys_getcontext_args),
+ hpux_sys_getcontext }, /* 174 = getcontext */
+ { 0, 0,
+ sys_nosys }, /* 175 = unimplemented osetcontext */
+ { 0, 0,
+ sys_nosys }, /* 176 = unimplemented bigio */
+ { 0, 0,
+ sys_nosys }, /* 177 = unimplemented pipenode */
+ { 0, 0,
+ sys_nosys }, /* 178 = unimplemented lsync */
+ { 0, 0,
+ sys_nosys }, /* 179 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 180 = unimplemented mysite */
+ { 0, 0,
+ sys_nosys }, /* 181 = unimplemented sitels */
+ { 0, 0,
+ sys_nosys }, /* 182 = unimplemented swapclients */
+ { 0, 0,
+ sys_nosys }, /* 183 = unimplemented rmtprocess */
+ { 0, 0,
+ sys_nosys }, /* 184 = unimplemented dskless_stats */
+ { 3, s(struct hpux_sys_sigprocmask_args),
+ hpux_sys_sigprocmask }, /* 185 = sigprocmask */
+ { 1, s(struct hpux_sys_sigpending_args),
+ hpux_sys_sigpending }, /* 186 = sigpending */
+ { 1, s(struct hpux_sys_sigsuspend_args),
+ hpux_sys_sigsuspend }, /* 187 = sigsuspend */
+ { 3, s(struct hpux_sys_sigaction_args),
+ hpux_sys_sigaction }, /* 188 = sigaction */
+ { 0, 0,
+ sys_nosys }, /* 189 = unimplemented lw_get_thread_times */
+ { 0, 0,
+ sys_nosys }, /* 190 = unimplemented nfssvc */
+ { 0, 0,
+ sys_nosys }, /* 191 = unimplemented getfh */
+ { 0, 0,
+ sys_nosys }, /* 192 = unimplemented getdomainname */
+ { 0, 0,
+ sys_nosys }, /* 193 = unimplemented setdomainname */
+ { 0, 0,
+ sys_nosys }, /* 194 = unimplemented async_daemon */
+ { 0, 0,
+ sys_nosys }, /* 195 = unimplemented getdirentries */
+ { 0, 0,
+ sys_nosys }, /* 196 = unimplemented statfs */
+ { 0, 0,
+ sys_nosys }, /* 197 = unimplemented fstatfs */
+ { 0, 0,
+ sys_nosys }, /* 198 = unimplemented vfsmount */
+ { 0, 0,
+ sys_nosys }, /* 199 = unimplemented qmml */
+ { 4, s(struct hpux_sys_waitpid_args),
+ hpux_sys_waitpid }, /* 200 = waitpid */
+ { 0, 0,
+ sys_nosys }, /* 201 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 202 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 203 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 204 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 205 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 206 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 207 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 208 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 209 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 210 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 211 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 212 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 213 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 214 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 215 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 216 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 217 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 218 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 219 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 220 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 221 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 222 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 223 = unimplemented */
+ { 1, s(struct hpux_sigsetreturn_args),
+ hpux_sigsetreturn }, /* 224 = hpux_sigsetreturn */
+ { 0, 0,
+ sys_nosys }, /* 225 = unimplemented sigsetstatemask */
+ { 0, 0,
+ sys_nosys }, /* 226 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 227 = unimplemented cs */
+ { 0, 0,
+ sys_nosys }, /* 228 = unimplemented cds */
+ { 0, 0,
+ sys_nosys }, /* 229 = unimplemented set_no_trunc */
+ { 0, 0,
+ sys_nosys }, /* 230 = unimplemented pathconf */
+ { 0, 0,
+ sys_nosys }, /* 231 = unimplemented fpathconf */
+ { 0, 0,
+ sys_nosys }, /* 232 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 233 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 234 = unimplemented nfs_fcntl */
+ { 0, 0,
+ sys_nosys }, /* 235 = unimplemented ogetacl */
+ { 0, 0,
+ sys_nosys }, /* 236 = unimplemented ofgetctl */
+ { 0, 0,
+ sys_nosys }, /* 237 = unimplemented osetacl */
+ { 0, 0,
+ sys_nosys }, /* 238 = unimplemented ofsetacl */
+ { 0, 0,
+ sys_nosys }, /* 239 = unimplemented pstat */
+ { 0, 0,
+ sys_nosys }, /* 240 = unimplemented getaudid */
+ { 0, 0,
+ sys_nosys }, /* 241 = unimplemented setaudid */
+ { 0, 0,
+ sys_nosys }, /* 242 = unimplemented getaudproc */
+ { 0, 0,
+ sys_nosys }, /* 243 = unimplemented setaudproc */
+ { 0, 0,
+ sys_nosys }, /* 244 = unimplemented getevent */
+ { 0, 0,
+ sys_nosys }, /* 245 = unimplemented setevent */
+ { 0, 0,
+ sys_nosys }, /* 246 = unimplemented audwrite */
+ { 0, 0,
+ sys_nosys }, /* 247 = unimplemented audswitch */
+ { 0, 0,
+ sys_nosys }, /* 248 = unimplemented audctl */
+ { 0, 0,
+ sys_nosys }, /* 249 = unimplemented ogetaccess */
+ { 0, 0,
+ sys_nosys }, /* 250 = unimplemented fsctl */
+ { 0, 0,
+ sys_nosys }, /* 251 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 252 = unimplemented getmount_entries */
+ { 0, 0,
+ sys_nosys }, /* 253 = unimplemented lwp_mutex_init2 */
+ { 0, 0,
+ sys_nosys }, /* 254 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 255 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 256 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 257 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 258 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 259 = unimplemented swapfs */
+ { 0, 0,
+ sys_nosys }, /* 260 = unimplemented fss */
+ { 0, 0,
+ sys_nosys }, /* 261 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 262 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 263 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 264 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 265 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 266 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 267 = unimplemented tsync */
+ { 0, 0,
+ sys_nosys }, /* 268 = unimplemented getnumfds */
+ { 3, s(struct sys_poll_args),
+ sys_poll }, /* 269 = poll */
+ { 0, 0,
+ sys_nosys }, /* 270 = unimplemented getmsg */
+ { 0, 0,
+ sys_nosys }, /* 271 = unimplemented putmsg */
+ { 1, s(struct sys_fchdir_args),
+ sys_fchdir }, /* 272 = fchdir */
+ { 0, 0,
+ sys_nosys }, /* 273 = unimplemented getmount_cnt */
+ { 0, 0,
+ sys_nosys }, /* 274 = unimplemented getmount_entry */
+ { 3, s(struct compat_43_sys_accept_args),
+ compat_43_sys_accept }, /* 275 = accept */
+ { 3, s(struct sys_bind_args),
+ sys_bind }, /* 276 = bind */
+ { 3, s(struct sys_connect_args),
+ sys_connect }, /* 277 = connect */
+ { 3, s(struct sys_getpeername_args),
+ sys_getpeername }, /* 278 = getpeername */
+ { 3, s(struct sys_getsockname_args),
+ sys_getsockname }, /* 279 = getsockname */
+ { 5, s(struct sys_getsockopt_args),
+ sys_getsockopt }, /* 280 = getsockopt */
+ { 2, s(struct sys_listen_args),
+ sys_listen }, /* 281 = listen */
+ { 4, s(struct compat_43_sys_recv_args),
+ compat_43_sys_recv }, /* 282 = recv */
+ { 6, s(struct compat_43_sys_recvfrom_args),
+ compat_43_sys_recvfrom }, /* 283 = recvfrom */
+ { 3, s(struct compat_43_sys_recvmsg_args),
+ compat_43_sys_recvmsg }, /* 284 = recvmsg */
+ { 4, s(struct compat_43_sys_send_args),
+ compat_43_sys_send }, /* 285 = send */
+ { 3, s(struct compat_43_sys_sendmsg_args),
+ compat_43_sys_sendmsg }, /* 286 = sendmsg */
+ { 6, s(struct sys_sendto_args),
+ sys_sendto }, /* 287 = sendto */
+ { 5, s(struct sys_setsockopt_args),
+ sys_setsockopt }, /* 288 = setsockopt */
+ { 2, s(struct sys_shutdown_args),
+ sys_shutdown }, /* 289 = shutdown */
+ { 3, s(struct sys_socket_args),
+ sys_socket }, /* 290 = socket */
+ { 4, s(struct sys_socketpair_args),
+ sys_socketpair }, /* 291 = socketpair */
+ { 0, 0,
+ sys_nosys }, /* 292 = unimplemented proc_open */
+ { 0, 0,
+ sys_nosys }, /* 293 = unimplemented proc_close */
+ { 0, 0,
+ sys_nosys }, /* 294 = unimplemented proc_send */
+ { 0, 0,
+ sys_nosys }, /* 295 = unimplemented proc_recv */
+ { 0, 0,
+ sys_nosys }, /* 296 = unimplemented proc_sendrecv */
+ { 0, 0,
+ sys_nosys }, /* 297 = unimplemented proc_syscall */
+ { 0, 0,
+ sys_nosys }, /* 298 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 299 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 300 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 301 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 302 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 303 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 304 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 305 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 306 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 307 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 308 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 309 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 310 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 311 = unimplemented */
+#ifdef SYSVSEM
+ { 4, s(struct sys___semctl_args),
+ sys___semctl }, /* 312 = nsemctl */
+#else
+ { 0, 0,
+ sys_nosys }, /* 312 = unimplemented semctl */
+#endif
+#ifdef SYSVMSG
+ { 3, s(struct sys_msgctl_args),
+ sys_msgctl }, /* 313 = nmsgctl */
+#else
+ { 0, 0,
+ sys_nosys }, /* 313 = unimplemented msgctl */
+#endif
+#ifdef SYSVSHM
+ { 3, s(struct hpux_sys_nshmctl_args),
+ hpux_sys_nshmctl }, /* 314 = nshmctl */
+#else
+ { 0, 0,
+ sys_nosys }, /* 314 = unimplemented shmctl */
+#endif
+ { 0, 0,
+ sys_nosys }, /* 315 = unimplemented mpctl */
+ { 0, 0,
+ sys_nosys }, /* 316 = unimplemented exportfs */
+ { 0, 0,
+ sys_nosys }, /* 317 = unimplemented getpmsg */
+ { 0, 0,
+ sys_nosys }, /* 318 = unimplemented putpmsg */
+ { 0, 0,
+ sys_nosys }, /* 319 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 320 = unimplemented msync */
+ { 0, 0,
+ sys_nosys }, /* 321 = unimplemented msleep */
+ { 0, 0,
+ sys_nosys }, /* 322 = unimplemented mwakeup */
+ { 0, 0,
+ sys_nosys }, /* 323 = unimplemented msem_init */
+ { 0, 0,
+ sys_nosys }, /* 324 = unimplemented msem_remove */
+ { 0, 0,
+ sys_nosys }, /* 325 = unimplemented adjtime */
+ { 0, 0,
+ sys_nosys }, /* 326 = unimplemented kload */
+ { 0, 0,
+ sys_nosys }, /* 327 = unimplemented fattach */
+ { 0, 0,
+ sys_nosys }, /* 328 = unimplemented fdetach */
+ { 0, 0,
+ sys_nosys }, /* 329 = unimplemented serialize */
+ { 0, 0,
+ sys_nosys }, /* 330 = unimplemented statvfs */
+ { 0, 0,
+ sys_nosys }, /* 331 = unimplemented fstatvfs */
+ { 3, s(struct sys_lchown_args),
+ sys_lchown }, /* 332 = lchown */
+ { 0, 0,
+ sys_nosys }, /* 333 = unimplemented getsid */
+ { 0, 0,
+ sys_nosys }, /* 334 = unimplemented sysfs */
+ { 0, 0,
+ sys_nosys }, /* 335 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 336 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 337 = unimplemented sched_setparam */
+ { 0, 0,
+ sys_nosys }, /* 338 = unimplemented sched_getparam */
+ { 0, 0,
+ sys_nosys }, /* 339 = unimplemented sched_setscheduler */
+ { 0, 0,
+ sys_nosys }, /* 340 = unimplemented sched_getscheduler */
+ { 0, 0,
+ sys_nosys }, /* 341 = unimplemented sched_yield */
+ { 0, 0,
+ sys_nosys }, /* 342 = unimplemented sched_get_priority_max */
+ { 0, 0,
+ sys_nosys }, /* 343 = unimplemented sched_get_priority_min */
+ { 0, 0,
+ sys_nosys }, /* 344 = unimplemented sched_rr_get_interval */
+ { 0, 0,
+ sys_nosys }, /* 345 = unimplemented clock_settime */
+ { 0, 0,
+ sys_nosys }, /* 346 = unimplemented clock_gettime */
+ { 0, 0,
+ sys_nosys }, /* 347 = unimplemented clock_getres */
+ { 0, 0,
+ sys_nosys }, /* 348 = unimplemented timer_create */
+ { 0, 0,
+ sys_nosys }, /* 349 = unimplemented timer_delete */
+ { 0, 0,
+ sys_nosys }, /* 350 = unimplemented timer_settime */
+ { 0, 0,
+ sys_nosys }, /* 351 = unimplemented timer_gettime */
+ { 0, 0,
+ sys_nosys }, /* 352 = unimplemented timer_getoverrun */
+ { 2, s(struct sys_nanosleep_args),
+ sys_nanosleep }, /* 353 = nanosleep */
+ { 0, 0,
+ sys_nosys }, /* 354 = unimplemented toolbox */
+ { 0, 0,
+ sys_nosys }, /* 355 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 356 = unimplemented getdents */
+ { 0, 0,
+ sys_nosys }, /* 357 = unimplemented getcontext */
+ { 0, 0,
+ sys_nosys }, /* 358 = unimplemented sysinfo */
+ { 0, 0,
+ sys_nosys }, /* 359 = unimplemented fcntl64 */
+ { 0, 0,
+ sys_nosys }, /* 360 = unimplemented ftruncate64 */
+ { 0, 0,
+ sys_nosys }, /* 361 = unimplemented fstat64 */
+ { 0, 0,
+ sys_nosys }, /* 362 = unimplemented getdirentries64 */
+ { 0, 0,
+ sys_nosys }, /* 363 = unimplemented getrlimit64 */
+ { 0, 0,
+ sys_nosys }, /* 364 = unimplemented lockf64 */
+ { 0, 0,
+ sys_nosys }, /* 365 = unimplemented lseek64 */
+ { 0, 0,
+ sys_nosys }, /* 366 = unimplemented lstat64 */
+ { 0, 0,
+ sys_nosys }, /* 367 = unimplemented mmap64 */
+ { 0, 0,
+ sys_nosys }, /* 368 = unimplemented setrlimit64 */
+ { 0, 0,
+ sys_nosys }, /* 369 = unimplemented stat64 */
+ { 0, 0,
+ sys_nosys }, /* 370 = unimplemented truncate64 */
+ { 0, 0,
+ sys_nosys }, /* 371 = unimplemented ulimit64 */
+ { 0, 0,
+ sys_nosys }, /* 372 = unimplemented pread */
+ { 0, 0,
+ sys_nosys }, /* 373 = unimplemented preadv */
+ { 0, 0,
+ sys_nosys }, /* 374 = unimplemented pwrite */
+ { 0, 0,
+ sys_nosys }, /* 375 = unimplemented pwritev */
+ { 0, 0,
+ sys_nosys }, /* 376 = unimplemented pread64 */
+ { 0, 0,
+ sys_nosys }, /* 377 = unimplemented preadv64 */
+ { 0, 0,
+ sys_nosys }, /* 378 = unimplemented pwrite64 */
+ { 0, 0,
+ sys_nosys }, /* 379 = unimplemented pwritev64 */
+ { 0, 0,
+ sys_nosys }, /* 380 = unimplemented setcontext */
+ { 0, 0,
+ sys_nosys }, /* 381 = unimplemented sigaltstack */
+ { 0, 0,
+ sys_nosys }, /* 382 = unimplemented waitid */
+ { 0, 0,
+ sys_nosys }, /* 383 = unimplemented setpgrp */
+ { 0, 0,
+ sys_nosys }, /* 384 = unimplemented recvmsg2 */
+ { 0, 0,
+ sys_nosys }, /* 385 = unimplemented sendmsg2 */
+ { 0, 0,
+ sys_nosys }, /* 386 = unimplemented socket2 */
+ { 0, 0,
+ sys_nosys }, /* 387 = unimplemented socketpair2 */
+ { 0, 0,
+ sys_nosys }, /* 388 = unimplemented setregid */
+ { 0, 0,
+ sys_nosys }, /* 389 = unimplemented lwp_create */
+ { 0, 0,
+ sys_nosys }, /* 390 = unimplemented lwp_terminate */
+ { 0, 0,
+ sys_nosys }, /* 391 = unimplemented lwp_wait */
+ { 0, 0,
+ sys_nosys }, /* 392 = unimplemented lwp_suspend */
+ { 0, 0,
+ sys_nosys }, /* 393 = unimplemented lwp_resume */
+ { 0, 0,
+ sys_nosys }, /* 394 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 395 = unimplemented lwp_abort_syscall */
+ { 0, 0,
+ sys_nosys }, /* 396 = unimplemented lwp_info */
+ { 0, 0,
+ sys_nosys }, /* 397 = unimplemented lwp_kill */
+ { 0, 0,
+ sys_nosys }, /* 398 = unimplemented ksleep */
+ { 0, 0,
+ sys_nosys }, /* 399 = unimplemented kwakeup */
+ { 0, 0,
+ sys_nosys }, /* 400 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 401 = unimplemented pstat_getlwp */
+ { 0, 0,
+ sys_nosys }, /* 402 = unimplemented lwp_exit */
+ { 0, 0,
+ sys_nosys }, /* 403 = unimplemented lwp_continue */
+ { 0, 0,
+ sys_nosys }, /* 404 = unimplemented getacl */
+ { 0, 0,
+ sys_nosys }, /* 405 = unimplemented fgetacl */
+ { 0, 0,
+ sys_nosys }, /* 406 = unimplemented setacl */
+ { 0, 0,
+ sys_nosys }, /* 407 = unimplemented fsetacl */
+ { 0, 0,
+ sys_nosys }, /* 408 = unimplemented getaccess */
+ { 0, 0,
+ sys_nosys }, /* 409 = unimplemented lwp_mutex_init */
+ { 0, 0,
+ sys_nosys }, /* 410 = unimplemented lwp_mutex_lock_sys */
+ { 0, 0,
+ sys_nosys }, /* 411 = unimplemented lwp_mutex_unlock */
+ { 0, 0,
+ sys_nosys }, /* 412 = unimplemented lwp_cond_init */
+ { 0, 0,
+ sys_nosys }, /* 413 = unimplemented lwp_cond_signal */
+ { 0, 0,
+ sys_nosys }, /* 414 = unimplemented lwp_cond_broadcast */
+ { 0, 0,
+ sys_nosys }, /* 415 = unimplemented lwp_cond_wait_sys */
+ { 0, 0,
+ sys_nosys }, /* 416 = unimplemented lwp_getscheduler */
+ { 0, 0,
+ sys_nosys }, /* 417 = unimplemented lwp_setscheduler */
+ { 0, 0,
+ sys_nosys }, /* 418 = unimplemented lwp_getstate */
+ { 0, 0,
+ sys_nosys }, /* 419 = unimplemented lwp_setstate */
+ { 0, 0,
+ sys_nosys }, /* 420 = unimplemented lwp_detach */
+ { 0, 0,
+ sys_nosys }, /* 421 = unimplemented mlock */
+ { 0, 0,
+ sys_nosys }, /* 422 = unimplemented munlock */
+ { 0, 0,
+ sys_nosys }, /* 423 = unimplemented mlockall */
+ { 0, 0,
+ sys_nosys }, /* 424 = unimplemented munlockall */
+ { 0, 0,
+ sys_nosys }, /* 425 = unimplemented shm_open */
+ { 0, 0,
+ sys_nosys }, /* 426 = unimplemented shm_unlink */
+ { 0, 0,
+ sys_nosys }, /* 427 = unimplemented sigqueue */
+ { 0, 0,
+ sys_nosys }, /* 428 = unimplemented sigwaitinfo */
+ { 0, 0,
+ sys_nosys }, /* 429 = unimplemented sigtimedwait */
+ { 0, 0,
+ sys_nosys }, /* 430 = unimplemented sigwait */
+ { 0, 0,
+ sys_nosys }, /* 431 = unimplemented aio_read */
+ { 0, 0,
+ sys_nosys }, /* 432 = unimplemented aio_write */
+ { 0, 0,
+ sys_nosys }, /* 433 = unimplemented lio_listio */
+ { 0, 0,
+ sys_nosys }, /* 434 = unimplemented aio_error */
+ { 0, 0,
+ sys_nosys }, /* 435 = unimplemented aio_return */
+ { 0, 0,
+ sys_nosys }, /* 436 = unimplemented aio_cancel */
+ { 0, 0,
+ sys_nosys }, /* 437 = unimplemented aio_suspend */
+ { 0, 0,
+ sys_nosys }, /* 438 = unimplemented aio_fsync */
+ { 0, 0,
+ sys_nosys }, /* 439 = unimplemented mq_open */
+ { 0, 0,
+ sys_nosys }, /* 440 = unimplemented mq_close */
+ { 0, 0,
+ sys_nosys }, /* 441 = unimplemented mq_unlink */
+ { 0, 0,
+ sys_nosys }, /* 442 = unimplemented mq_send */
+ { 0, 0,
+ sys_nosys }, /* 443 = unimplemented mq_receive */
+ { 0, 0,
+ sys_nosys }, /* 444 = unimplemented mq_notify */
+ { 0, 0,
+ sys_nosys }, /* 445 = unimplemented mq_setattr */
+ { 0, 0,
+ sys_nosys }, /* 446 = unimplemented mq_getattr */
+ { 0, 0,
+ sys_nosys }, /* 447 = unimplemented ksem_open */
+ { 0, 0,
+ sys_nosys }, /* 448 = unimplemented ksem_unlink */
+ { 0, 0,
+ sys_nosys }, /* 449 = unimplemented ksem_close */
+ { 0, 0,
+ sys_nosys }, /* 450 = unimplemented ksem_post */
+ { 0, 0,
+ sys_nosys }, /* 451 = unimplemented ksem_wait */
+ { 0, 0,
+ sys_nosys }, /* 452 = unimplemented ksem_read */
+ { 0, 0,
+ sys_nosys }, /* 453 = unimplemented ksem_trywait */
+ { 0, 0,
+ sys_nosys }, /* 454 = unimplemented lwp_rwlock_init */
+ { 0, 0,
+ sys_nosys }, /* 455 = unimplemented lwp_rwlock_destroy */
+ { 0, 0,
+ sys_nosys }, /* 456 = unimplemented lwp_rwlock_rdlock_sys */
+ { 0, 0,
+ sys_nosys }, /* 457 = unimplemented lwp_rwlock_wrlock_sys */
+ { 0, 0,
+ sys_nosys }, /* 458 = unimplemented lwp_rwlock_tryrdlock */
+ { 0, 0,
+ sys_nosys }, /* 459 = unimplemented lwp_rwlock_trywrlock */
+ { 0, 0,
+ sys_nosys }, /* 460 = unimplemented lwp_rwlock_unlock */
+ { 0, 0,
+ sys_nosys }, /* 461 = unimplemented ttrace */
+ { 0, 0,
+ sys_nosys }, /* 462 = unimplemented ttrace_wait */
+ { 0, 0,
+ sys_nosys }, /* 463 = unimplemented lf_wire_mem */
+ { 0, 0,
+ sys_nosys }, /* 464 = unimplemented lf_unwire_mem */
+ { 0, 0,
+ sys_nosys }, /* 465 = unimplemented lf_send_pin_map */
+ { 0, 0,
+ sys_nosys }, /* 466 = unimplemented lf_free_buf */
+ { 0, 0,
+ sys_nosys }, /* 467 = unimplemented lf_wait_nq */
+ { 0, 0,
+ sys_nosys }, /* 468 = unimplemented lf_wakeup_conn_q */
+ { 0, 0,
+ sys_nosys }, /* 469 = unimplemented lf_unused */
+ { 0, 0,
+ sys_nosys }, /* 470 = unimplemented lwp_sema_init */
+ { 0, 0,
+ sys_nosys }, /* 471 = unimplemented lwp_sema_post */
+ { 0, 0,
+ sys_nosys }, /* 472 = unimplemented lwp_sema_wait */
+ { 0, 0,
+ sys_nosys }, /* 473 = unimplemented lwp_sema_trywait */
+ { 0, 0,
+ sys_nosys }, /* 474 = unimplemented lwp_sema_destroy */
+ { 0, 0,
+ sys_nosys }, /* 475 = unimplemented statvfs64 */
+ { 0, 0,
+ sys_nosys }, /* 476 = unimplemented fstatvfs64 */
+ { 0, 0,
+ sys_nosys }, /* 477 = unimplemented msh_register */
+ { 0, 0,
+ sys_nosys }, /* 478 = unimplemented ptrace64 */
+ { 0, 0,
+ sys_nosys }, /* 479 = unimplemented sendfile */
+ { 0, 0,
+ sys_nosys }, /* 480 = unimplemented sendpath */
+ { 0, 0,
+ sys_nosys }, /* 481 = unimplemented sendfile64 */
+ { 0, 0,
+ sys_nosys }, /* 482 = unimplemented sendpath64 */
+ { 0, 0,
+ sys_nosys }, /* 483 = unimplemented modload */
+ { 0, 0,
+ sys_nosys }, /* 484 = unimplemented moduload */
+ { 0, 0,
+ sys_nosys }, /* 485 = unimplemented modpath */
+ { 0, 0,
+ sys_nosys }, /* 486 = unimplemented getksym */
+ { 0, 0,
+ sys_nosys }, /* 487 = unimplemented modadm */
+ { 0, 0,
+ sys_nosys }, /* 488 = unimplemented modstat */
+ { 0, 0,
+ sys_nosys }, /* 489 = unimplemented lwp_detached_exit */
+ { 0, 0,
+ sys_nosys }, /* 490 = unimplemented crashconf */
+ { 0, 0,
+ sys_nosys }, /* 491 = unimplemented siginhibit */
+ { 0, 0,
+ sys_nosys }, /* 492 = unimplemented sigenable */
+ { 0, 0,
+ sys_nosys }, /* 493 = unimplemented spuctl */
+ { 0, 0,
+ sys_nosys }, /* 494 = unimplemented zerokernelsum */
+ { 0, 0,
+ sys_nosys }, /* 495 = unimplemented nfs_kstat */
+ { 0, 0,
+ sys_nosys }, /* 496 = unimplemented aio_read64 */
+ { 0, 0,
+ sys_nosys }, /* 497 = unimplemented aio_write64 */
+ { 0, 0,
+ sys_nosys }, /* 498 = unimplemented aio_error64 */
+ { 0, 0,
+ sys_nosys }, /* 499 = unimplemented aio_return64 */
+ { 0, 0,
+ sys_nosys }, /* 500 = unimplemented aio_cancel64 */
+ { 0, 0,
+ sys_nosys }, /* 501 = unimplemented aio_suspend64 */
+ { 0, 0,
+ sys_nosys }, /* 502 = unimplemented aio_fsync64 */
+ { 0, 0,
+ sys_nosys }, /* 503 = unimplemented lio_listio64 */
+ { 0, 0,
+ sys_nosys }, /* 504 = unimplemented recv2 */
+ { 0, 0,
+ sys_nosys }, /* 505 = unimplemented recvfrom2 */
+ { 0, 0,
+ sys_nosys }, /* 506 = unimplemented send2 */
+ { 0, 0,
+ sys_nosys }, /* 507 = unimplemented sendto2 */
+ { 0, 0,
+ sys_nosys }, /* 508 = unimplemented acl */
+ { 0, 0,
+ sys_nosys }, /* 509 = unimplemented __cnx_p2p_ctl */
+ { 0, 0,
+ sys_nosys }, /* 510 = unimplemented __cnx_gsched_ctl */
+ { 0, 0,
+ sys_nosys }, /* 511 = unimplemented __cnx_pmon_ctl */
+ { 0, 0,
+ sys_nosys }, /* 512 = unimplemented mem_res_grp */
+ { 0, 0,
+ sys_nosys }, /* 513 = unimplemented fabric */
+ { 0, 0,
+ sys_nosys }, /* 514 = unimplemented diagsyscall */
+ { 0, 0,
+ sys_nosys }, /* 515 = unimplemented tuneinfo */
+ { 0, 0,
+ sys_nosys }, /* 516 = unimplemented gettune */
+ { 0, 0,
+ sys_nosys }, /* 517 = unimplemented settune */
+ { 0, 0,
+ sys_nosys }, /* 518 = unimplemented pset_create */
+ { 0, 0,
+ sys_nosys }, /* 519 = unimplemented pset_destroy */
+ { 0, 0,
+ sys_nosys }, /* 520 = unimplemented pset_assign */
+ { 0, 0,
+ sys_nosys }, /* 521 = unimplemented pset_bind */
+ { 0, 0,
+ sys_nosys }, /* 522 = unimplemented pset_getattr */
+ { 0, 0,
+ sys_nosys }, /* 523 = unimplemented pset_setattr */
+ { 0, 0,
+ sys_nosys }, /* 524 = unimplemented pset_ctl */
+ { 0, 0,
+ sys_nosys }, /* 525 = unimplemented pset_rtctl */
+};
+