Initial revision
diff --git a/linux/sparc/Makefile.in b/linux/sparc/Makefile.in
new file mode 100644
index 0000000..4c5344d
--- /dev/null
+++ b/linux/sparc/Makefile.in
@@ -0,0 +1,57 @@
+#
+# $Id$
+#
+
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+CC = @CC@
+CPP = @CPP@
+SHELL = /bin/sh
+
+DEFS = @DEFS@
+LDLIBS = @LIBS@
+
+CFLAGS = -g
+LDFLAGS = -g
+WARNFLAGS = @WARNFLAGS@
+
+CPPFLAGS =
+INCLUDES = -I. -I.. -I$(srcdir)/.. -I../.. -I$(srcdir)
+
+includedir = @includedir@
+
+all: ioctlent.h errnoent.h signalent.h syscallent.h
+
+ioctlent.raw: ioctlent.sh
+ $(SHELL) $(srcdir)/ioctlent.sh $(includedir) >$@
+
+ioctlent.h: ioctlent.raw ioctlsort
+ ./ioctlsort >$@
+
+ioctlsort: ioctlsort.o
+ $(CC) $(LDFLAGS) ioctlsort.o -o ioctlsort
+
+ioctlsort.o: ../../ioctlsort.c
+ $(CC) $(WARNFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS) -c $(srcdir)/../../ioctlsort.c
+
+ioctlsort.o: ioctlent.raw
+
+errnoent.h: ../../errnoent.sh $(includedir)/asm/errno.h
+ $(SHELL) $(srcdir)/../../errnoent.sh $(includedir)/asm/errno.h >$@
+
+signalent.h: ../../signalent.sh $(includedir)/asm/signal.h
+ $(SHELL) $(srcdir)/../../signalent.sh $(includedir)/asm/signal.h >$@
+
+#syscallent.h: ../../syscallent.sh $(includedir)/sys/syscall.h
+syscallent.h:
+ $(SHELL) $(srcdir)/../../syscallent.sh $(includedir)/sys/syscall.h >$@
+
+clean:
+ rm -f ioctlent.c *.raw *.tmp *.o ioctlsort
+
+distclean: clean
+ rm -f Makefile
+
+maintainer-clean: distclean
+ rm -f ioctlent.h errnoent.h signalent.h
diff --git a/linux/sparc/dummy2.h b/linux/sparc/dummy2.h
new file mode 100644
index 0000000..8ff464b
--- /dev/null
+++ b/linux/sparc/dummy2.h
@@ -0,0 +1,282 @@
+/*
+ * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
+ */
+
+/* still unfinished */
+
+#define solaris_sysmp printargs
+#define solaris_sginap printargs
+#define solaris_sgikopt printargs
+#define solaris_sysmips printargs
+#define solaris_sigreturn printargs
+#define solaris_recvmsg printargs
+#define solaris_sendmsg printargs
+#define solaris_nfssvc printargs
+#define solaris_getfh printargs
+#define solaris_async_daemon printargs
+#define solaris_exportfs printargs
+#define solaris_BSD_getime printargs
+#define solaris_sproc printargs
+#define solaris_procblk printargs
+#define solaris_sprocsp printargs
+#define solaris_msync printargs
+#define solaris_madvise printargs
+#define solaris_pagelock printargs
+#define solaris_quotactl printargs
+#define solaris_cacheflush printargs
+#define solaris_cachectl printargs
+#define solaris_nuname printargs
+#define solaris_sigpoll printargs
+#define solaris_swapctl printargs
+#define solaris_sigstack printargs
+#define solaris_sigsendset printargs
+#define solaris_priocntl printargs
+#define solaris_ksigqueue printargs
+#define solaris_lwp_sema_wait printargs
+#define solaris_memcntl printargs
+#define solaris_syscall printargs
+#define solaris_clocal printargs
+#define solaris_syssun printargs
+#define solaris_sysi86 printargs
+#define solaris_sysmachine printargs
+#define solaris_plock printargs
+#define solaris_pathconf printargs
+#define solaris_sigtimedwait printargs
+#define solaris_ulimit printargs
+#define solaris_ptrace printargs
+#define solaris_stty printargs
+#define solaris_lwp_info printargs
+#define solaris_priocntlsys printargs
+#define solaris_hrtsys printargs
+#define solaris_xenix printargs
+#define solaris_statfs printargs
+#define solaris_fstatfs printargs
+#define solaris_statvfs printargs
+#define solaris_fstatvfs printargs
+#define solaris_fork1 printargs
+#define solaris_sigsendsys printargs
+#define solaris_gtty printargs
+#define solaris_vtrace printargs
+#define solaris_fpathconf printargs
+#define solaris_evsys printargs
+#define solaris_acct printargs
+#define solaris_exec printargs
+#define solaris_lwp_sema_post printargs
+#define solaris_nfssys printargs
+#define solaris_sigaltstack printargs
+#define solaris_uadmin printargs
+#define solaris_umount printargs
+#define solaris_modctl printargs
+#define solaris_acancel printargs
+#define solaris_async printargs
+#define solaris_evtrapret printargs
+#define solaris_lwp_create printargs
+#define solaris_lwp_exit printargs
+#define solaris_lwp_suspend printargs
+#define solaris_lwp_continue printargs
+#define solaris_lwp_kill printargs
+#define solaris_lwp_self printargs
+#define solaris_lwp_setprivate printargs
+#define solaris_lwp_getprivate printargs
+#define solaris_lwp_wait printargs
+#define solaris_lwp_mutex_unlock printargs
+#define solaris_lwp_mutex_lock printargs
+#define solaris_lwp_cond_wait printargs
+#define solaris_lwp_cond_signal printargs
+#define solaris_lwp_cond_broadcast printargs
+#define solaris_llseek printargs
+#define solaris_inst_sync printargs
+#define solaris_auditsys printargs
+#define solaris_processor_bind printargs
+#define solaris_processor_info printargs
+#define solaris_p_online printargs
+#define solaris_sigqueue printargs
+#define solaris_clock_gettime printargs
+#define solaris_clock_settime printargs
+#define solaris_clock_getres printargs
+#define solaris_nanosleep printargs
+#define solaris_timer_create printargs
+#define solaris_timer_delete printargs
+#define solaris_timer_settime printargs
+#define solaris_timer_gettime printargs
+#define solaris_timer_getoverrun printargs
+#define solaris_signal printargs
+#define solaris_sigset printargs
+#define solaris_sighold printargs
+#define solaris_sigrelse printargs
+#define solaris_sigignore printargs
+#define solaris_sigpause printargs
+#define solaris_msgctl printargs
+#define solaris_msgget printargs
+#define solaris_msgrcv printargs
+#define solaris_msgsnd printargs
+#define solaris_shmat printargs
+#define solaris_shmctl printargs
+#define solaris_shmdt printargs
+#define solaris_shmget printargs
+#define solaris_semctl printargs
+#define solaris_semget printargs
+#define solaris_semop printargs
+#define solaris_olduname printargs
+#define solaris_ustat printargs
+#define solaris_fusers printargs
+#define solaris_sysfs1 printargs
+#define solaris_sysfs2 printargs
+#define solaris_sysfs3 printargs
+
+/* like another call */
+#define solaris_lchown solaris_chown
+#define solaris_setuid solaris_close
+#define solaris_seteuid solaris_close
+#define solaris_setgid solaris_close
+#define solaris_setegid solaris_close
+#define solaris_vhangup solaris_close
+#define solaris_fdsync solaris_close
+#define solaris_sigfillset solaris_sigpending
+#define solaris_vfork solaris_fork
+#define solaris_ksigaction solaris_sigaction
+#define solaris_BSDgetpgrp solaris_getpgrp
+#define solaris_BSDsetpgrp solaris_setpgrp
+#define solaris_waitsys solaris_waitid
+
+/* printargs does the right thing */
+#define solaris_sync printargs
+#define solaris_profil printargs
+#define solaris_yield printargs
+#define solaris_pause printargs
+#define solaris_sethostid printargs
+
+/* subfunction entry points */
+#define solaris_pgrpsys printargs
+#define solaris_sigcall printargs
+#define solaris_msgsys printargs
+#define solaris_shmsys printargs
+#define solaris_semsys printargs
+#define solaris_utssys printargs
+#define solaris_sysfs printargs
+#define solaris_spcall printargs
+#define solaris_context printargs
+
+/* same as linux */
+#define solaris_exit sys_exit
+#define solaris_fork sys_fork
+#define solaris_read sys_read
+#define solaris_write sys_write
+#define solaris_close sys_close
+#define solaris_creat sys_creat
+#define solaris_link sys_link
+#define solaris_unlink sys_unlink
+#define solaris_chdir sys_chdir
+#define solaris_time sys_time
+#define solaris_chmod sys_chmod
+#define solaris_lseek sys_lseek
+#define solaris_stime sys_stime
+#define solaris_alarm sys_alarm
+#define solaris_utime sys_utime
+#define solaris_access sys_access
+#define solaris_nice sys_nice
+#define solaris_dup sys_dup
+#define solaris_pipe sys_pipe
+#define solaris_times sys_times
+#define solaris_execve sys_execve
+#define solaris_umask sys_umask
+#define solaris_chroot sys_chroot
+#define solaris_rmdir sys_rmdir
+#define solaris_mkdir sys_mkdir
+#define solaris_getdents sys_getdents
+#define solaris_poll sys_poll
+#define solaris_symlink sys_symlink
+#define solaris_readlink sys_readlink
+#define solaris_setgroups sys_setgroups
+#define solaris_getgroups sys_getgroups
+#define solaris_fchmod sys_fchmod
+#define solaris_fchown sys_fchown
+#define solaris_mprotect sys_mprotect
+#define solaris_munmap sys_munmap
+#define solaris_readv sys_readv
+#define solaris_writev sys_writev
+#define solaris_chown sys_chown
+#define solaris_rename sys_rename
+#define solaris_gettimeofday sys_gettimeofday
+#define solaris_getitimer sys_getitimer
+#define solaris_setitimer sys_setitimer
+#define solaris_brk sys_brk
+#define solaris_mmap sys_mmap
+#define solaris_getsid sys_getsid
+#define solaris_setsid sys_setsid
+#define solaris_getpgid sys_getpgid
+#define solaris_setpgid sys_setpgid
+#define solaris_getpgrp sys_getpgrp
+
+/* These are handled according to current_personality */
+#define solaris_xstat sys_xstat
+#define solaris_fxstat sys_fxstat
+#define solaris_lxstat sys_lxstat
+#define solaris_xmknod sys_xmknod
+#define solaris_stat sys_stat
+#define solaris_fstat sys_fstat
+#define solaris_lstat sys_lstat
+#define solaris_pread sys_pread
+#define solaris_pwrite sys_pwrite
+#define solaris_ioctl sys_ioctl
+#define solaris_mknod sys_mknod
+
+/* To be done */
+#define solaris_mount printargs
+#define solaris_sysinfo printargs
+#define solaris_sysconfig printargs
+#define solaris_getpmsg printargs
+#define solaris_putpmsg printargs
+#define solaris_wait printargs
+#define solaris_waitid printargs
+#define solaris_sigsuspend printargs
+#define solaris_setpgrp printargs
+#define solaris_getcontext printargs
+#define solaris_setcontext printargs
+#define solaris_getpid printargs
+#define solaris_getuid printargs
+#define solaris_kill printargs
+#define solaris_getgid printargs
+#define solaris_fcntl printargs
+#define solaris_getmsg printargs
+#define solaris_putmsg printargs
+#define solaris_sigprocmask printargs
+#define solaris_sigaction printargs
+#define solaris_sigpending printargs
+#define solaris_mincore printargs
+#define solaris_fchdir printargs
+#define solaris_setrlimit printargs
+#define solaris_getrlimit printargs
+#define solaris_uname printargs
+#define solaris_adjtime printargs
+#define solaris_fchroot printargs
+#define solaris_utimes printargs
+
+#if DONE
+#define solaris_open printargs
+#endif
diff --git a/linux/sparc/errnoent.h b/linux/sparc/errnoent.h
new file mode 100644
index 0000000..cca460e
--- /dev/null
+++ b/linux/sparc/errnoent.h
@@ -0,0 +1,125 @@
+ "ERRNO_0", /* 0 */
+ "EPERM", /* 1 */
+ "ENOENT", /* 2 */
+ "ESRCH", /* 3 */
+ "EINTR", /* 4 */
+ "EIO", /* 5 */
+ "ENXIO", /* 6 */
+ "E2BIG", /* 7 */
+ "ENOEXEC", /* 8 */
+ "EBADF", /* 9 */
+ "ECHILD", /* 10 */
+ "EAGAIN", /* 11 */
+ "ENOMEM", /* 12 */
+ "EACCES", /* 13 */
+ "EFAULT", /* 14 */
+ "ENOTBLK", /* 15 */
+ "EBUSY", /* 16 */
+ "EEXIST", /* 17 */
+ "EXDEV", /* 18 */
+ "ENODEV", /* 19 */
+ "ENOTDIR", /* 20 */
+ "EISDIR", /* 21 */
+ "EINVAL", /* 22 */
+ "ENFILE", /* 23 */
+ "EMFILE", /* 24 */
+ "ENOTTY", /* 25 */
+ "ETXTBSY", /* 26 */
+ "EFBIG", /* 27 */
+ "ENOSPC", /* 28 */
+ "ESPIPE", /* 29 */
+ "EROFS", /* 30 */
+ "EMLINK", /* 31 */
+ "EPIPE", /* 32 */
+ "EDOM", /* 33 */
+ "ERANGE", /* 34 */
+ "EWOULDBLOCK", /* 35 */
+ "EINPROGRESS", /* 36 */
+ "EALREADY", /* 37 */
+ "ENOTSOCK", /* 38 */
+ "EDESTADDRREQ", /* 39 */
+ "EMSGSIZE", /* 40 */
+ "EPROTOTYPE", /* 41 */
+ "ENOPROTOOPT", /* 42 */
+ "EPROTONOSUPPORT", /* 43 */
+ "ESOCKTNOSUPPORT", /* 44 */
+ "EOPNOTSUPP", /* 45 */
+ "EPFNOSUPPORT", /* 46 */
+ "EAFNOSUPPORT", /* 47 */
+ "EADDRINUSE", /* 48 */
+ "EADDRNOTAVAIL", /* 49 */
+ "ENETDOWN", /* 50 */
+ "ENETUNREACH", /* 51 */
+ "ENETRESET", /* 52 */
+ "ECONNABORTED", /* 53 */
+ "ECONNRESET", /* 54 */
+ "ENOBUFS", /* 55 */
+ "EISCONN", /* 56 */
+ "ENOTCONN", /* 57 */
+ "ESHUTDOWN", /* 58 */
+ "ETOOMANYREFS", /* 59 */
+ "ETIMEDOUT", /* 60 */
+ "ECONNREFUSED", /* 61 */
+ "ELOOP", /* 62 */
+ "ENAMETOOLONG", /* 63 */
+ "EHOSTDOWN", /* 64 */
+ "EHOSTUNREACH", /* 65 */
+ "ENOTEMPTY", /* 66 */
+ "EPROCLIM", /* 67 */
+ "EUSERS", /* 68 */
+ "EDQUOT", /* 69 */
+ "ESTALE", /* 70 */
+ "EREMOTE", /* 71 */
+ "ENOSTR", /* 72 */
+ "ETIME", /* 73 */
+ "ENOSR", /* 74 */
+ "ENOMSG", /* 75 */
+ "EBADMSG", /* 76 */
+ "EIDRM", /* 77 */
+ "EDEADLK", /* 78 */
+ "ENOLCK", /* 79 */
+ "ENONET", /* 80 */
+ "ERREMOTE", /* 81 */
+ "ENOLINK", /* 82 */
+ "EADV", /* 83 */
+ "ESRMNT", /* 84 */
+ "ECOMM", /* 85 */
+ "EPROTO", /* 86 */
+ "EMULTIHOP", /* 87 */
+ "EDOTDOT", /* 88 */
+ "EREMCHG", /* 89 */
+ "ENOSYS", /* 90 */
+ "ESTRPIPE", /* 91 */
+ "EOVERFLOW", /* 92 */
+ "EBADFD", /* 93 */
+ "ECHRNG", /* 94 */
+ "EL2NSYNC", /* 95 */
+ "EL3HLT", /* 96 */
+ "EL3RST", /* 97 */
+ "ELNRNG", /* 98 */
+ "EUNATCH", /* 99 */
+ "ENOCSI", /* 100 */
+ "EL2HLT", /* 101 */
+ "EBADE", /* 102 */
+ "EBADR", /* 103 */
+ "EXFULL", /* 104 */
+ "ENOANO", /* 105 */
+ "EBADRQC", /* 106 */
+ "EBADSLT", /* 107 */
+ "EDEADLOCK", /* 108 */
+ "EBFONT", /* 109 */
+ "ELIBEXEC", /* 110 */
+ "ENODATA", /* 111 */
+ "ELIBBAD", /* 112 */
+ "ENOPKG", /* 113 */
+ "ELIBACC", /* 114 */
+ "ENOTUNIQ", /* 115 */
+ "ERESTART", /* 116 */
+ "EUCLEAN", /* 117 */
+ "ENOTNAM", /* 118 */
+ "ENAVAIL", /* 119 */
+ "EISNAM", /* 120 */
+ "EREMOTEIO", /* 121 */
+ "EILSEQ", /* 122 */
+ "ELIBMAX", /* 123 */
+ "ELIBSCN", /* 124 */
diff --git a/linux/sparc/errnoent1.h b/linux/sparc/errnoent1.h
new file mode 100644
index 0000000..4d750bd
--- /dev/null
+++ b/linux/sparc/errnoent1.h
@@ -0,0 +1 @@
+#include "../svr4/errnoent.h"
diff --git a/linux/sparc/gen.pl b/linux/sparc/gen.pl
new file mode 100644
index 0000000..1a320ee
--- /dev/null
+++ b/linux/sparc/gen.pl
@@ -0,0 +1,38 @@
+open SPARC, "syscallent.h" || die "no puedo abrir el de la sparc";
+open ALPHA, "../alpha/syscallent.h" || die "no puedo abrir el de la alpha";
+open PC, "../syscallent.h" || die "no puedo abrir PC\n";
+
+while (<SPARC>) {
+ chop;
+ ($i1, $i2, $i3, $syscall, $syscall_name) = split;
+ $strn[$index] = $syscall_name;
+ $name[$index++] = $syscall;
+}
+
+while (<ALPHA>){
+ if (/\{/) {
+ ($i1, $n, $pr, $syscall) = split;
+ $par{$syscall} = $n;
+ $prr{$syscall} = $pr;
+ }
+}
+
+while (<PC>){
+ if (/\{/) {
+ ($i1, $n, $pr, $syscall) = split;
+ $par{$syscall} = $n;
+ $prr{$syscall} = $pr;
+ }
+}
+
+print "missing \n";
+
+for ($i = 0; $i < $index; $i++){
+ $x = $name[$i];
+ $y = $strn[$i];
+ $n = $par{$x};
+ $p = $prr{$x};
+ $j++;
+ print "\t{ $n\t$p\t$x\t$y },\t /* $j */\n";
+}
+
diff --git a/linux/sparc/ioctlent.h b/linux/sparc/ioctlent.h
new file mode 100644
index 0000000..64e0a80
--- /dev/null
+++ b/linux/sparc/ioctlent.h
@@ -0,0 +1,600 @@
+{"asm/contregs.h", "AC_M_SFSR", 0x300},
+{"linux/ip_fw.h", "IP_FW_TYPE", 0x300},
+{"linux/quota.h", "Q_GETQUOTA", 0x300},
+{"linux/hdreg.h", "HDIO_GETGEO", 0x301},
+{"linux/hdreg.h", "HDIO_GET_UNMASKINTR", 0x302},
+{"linux/hdreg.h", "HDIO_GET_MULTCOUNT", 0x304},
+{"linux/hdreg.h", "HDIO_GET_IDENTITY", 0x307},
+{"linux/hdreg.h", "HDIO_GET_KEEPSETTINGS", 0x308},
+{"linux/hdreg.h", "HDIO_GET_32BIT", 0x309},
+{"linux/hdreg.h", "HDIO_GET_NOWERR", 0x30a},
+{"linux/hdreg.h", "HDIO_GET_DMA", 0x30b},
+{"linux/hdreg.h", "HDIO_DRIVE_CMD", 0x31f},
+{"linux/hdreg.h", "HDIO_SET_MULTCOUNT", 0x321},
+{"linux/hdreg.h", "HDIO_SET_UNMASKINTR", 0x322},
+{"linux/hdreg.h", "HDIO_SET_KEEPSETTINGS", 0x323},
+{"linux/hdreg.h", "HDIO_SET_32BIT", 0x324},
+{"linux/hdreg.h", "HDIO_SET_NOWERR", 0x325},
+{"linux/hdreg.h", "HDIO_SET_DMA", 0x326},
+{"linux/hdreg.h", "HDIO_SET_PIO_MODE", 0x327},
+{"asm/contregs.h", "AC_M_AFAR", 0x600},
+{"linux/quota.h", "Q_SYNC", 0x600},
+{"linux/lp.h", "LPCHAR", 0x601},
+{"linux/lp_m68k.h", "LPCHAR", 0x601},
+{"linux/lp.h", "LPTIME", 0x602},
+{"linux/lp_m68k.h", "LPTIME", 0x602},
+{"linux/lp.h", "LPABORT", 0x604},
+{"linux/lp_m68k.h", "LPABORT", 0x604},
+{"linux/lp.h", "LPSETIRQ", 0x605},
+{"linux/lp_m68k.h", "LPSETIRQ", 0x605},
+{"linux/lp.h", "LPGETIRQ", 0x606},
+{"linux/lp_m68k.h", "LPGETIRQ", 0x606},
+{"linux/lp.h", "LPWAIT", 0x608},
+{"linux/lp_m68k.h", "LPWAIT", 0x608},
+{"linux/lp.h", "LPCAREFUL", 0x609},
+{"linux/lp_m68k.h", "LPCAREFUL", 0x609},
+{"linux/lp.h", "LPABORTOPEN", 0x60a},
+{"linux/lp_m68k.h", "LPABORTOPEN", 0x60a},
+{"linux/lp.h", "LPGETSTATUS", 0x60b},
+{"linux/lp_m68k.h", "LPGETSTATUS", 0x60b},
+{"linux/lp.h", "LPRESET", 0x60c},
+{"linux/lp_m68k.h", "LPRESET", 0x60c},
+{"linux/lp.h", "LPGETSTATS", 0x60d},
+{"linux/lp.h", "LPGETFLAGS", 0x60e},
+{"linux/scc.h", "TIOCSCCCFG", 0x2200},
+{"linux/scc.h", "TIOCSCCINI", 0x2201},
+{"linux/scc.h", "TIOCCHANINI", 0x2202},
+{"linux/scc.h", "TIOCCHANMEM", 0x2210},
+{"linux/scc.h", "TIOCGKISS", 0x2282},
+{"linux/scc.h", "TIOCSKISS", 0x2283},
+{"linux/scc.h", "TIOCSCCSTAT", 0x2284},
+{"linux/fb.h", "FBIOGET_VSCREENINFO", 0x4600},
+{"linux/fb.h", "FBIOPUT_VSCREENINFO", 0x4601},
+{"linux/fb.h", "FBIOGET_FSCREENINFO", 0x4602},
+{"asm/fbio.h", "FBIOGETCMAP", 0x4604},
+{"linux/fb.h", "FBIOGETCMAP", 0x4604},
+{"asm/fbio.h", "FBIOPUTCMAP", 0x4605},
+{"linux/fb.h", "FBIOPUTCMAP", 0x4605},
+{"linux/fb.h", "FBIOPAN_DISPLAY", 0x4606},
+{"linux/fb.h", "FBIOGET_FCURSORINFO", 0x4607},
+{"linux/fb.h", "FBIOGET_VCURSORINFO", 0x4608},
+{"linux/fb.h", "FBIOPUT_VCURSORINFO", 0x4609},
+{"linux/fb.h", "FBIOGET_CURSORSTATE", 0x460a},
+{"linux/fb.h", "FBIOPUT_CURSORSTATE", 0x460b},
+{"linux/fb.h", "FBCMD_DRAWLINE", 0x4621},
+{"linux/fb.h", "FBCMD_MOVE", 0x4622},
+{"linux/kd.h", "KIOCSOUND", 0x4b2f},
+{"linux/kd.h", "KDMKTONE", 0x4b30},
+{"linux/kd.h", "KDGETLED", 0x4b31},
+{"linux/kd.h", "KDSETLED", 0x4b32},
+{"linux/kd.h", "KDGKBTYPE", 0x4b33},
+{"linux/kd.h", "KDADDIO", 0x4b34},
+{"linux/kd.h", "KDDELIO", 0x4b35},
+{"linux/kd.h", "KDENABIO", 0x4b36},
+{"linux/kd.h", "KDDISABIO", 0x4b37},
+{"linux/kd.h", "KDSETMODE", 0x4b3a},
+{"linux/kd.h", "KDGETMODE", 0x4b3b},
+{"linux/kd.h", "KDMAPDISP", 0x4b3c},
+{"linux/kd.h", "KDUNMAPDISP", 0x4b3d},
+{"linux/kd.h", "GIO_SCRNMAP", 0x4b40},
+{"linux/kd.h", "PIO_SCRNMAP", 0x4b41},
+{"linux/kd.h", "KDGKBMODE", 0x4b44},
+{"linux/kd.h", "KDSKBMODE", 0x4b45},
+{"linux/kd.h", "KDGKBENT", 0x4b46},
+{"linux/kd.h", "KDSKBENT", 0x4b47},
+{"linux/kd.h", "KDGKBSENT", 0x4b48},
+{"linux/kd.h", "KDSKBSENT", 0x4b49},
+{"linux/kd.h", "KDGKBDIACR", 0x4b4a},
+{"linux/kd.h", "KDSKBDIACR", 0x4b4b},
+{"linux/kd.h", "KDGETKEYCODE", 0x4b4c},
+{"linux/kd.h", "KDSETKEYCODE", 0x4b4d},
+{"linux/kd.h", "KDSIGACCEPT", 0x4b4e},
+{"linux/kd.h", "GIO_FONT", 0x4b60},
+{"linux/kd.h", "PIO_FONT", 0x4b61},
+{"linux/kd.h", "KDGKBMETA", 0x4b62},
+{"linux/kd.h", "KDSKBMETA", 0x4b63},
+{"linux/kd.h", "KDGKBLED", 0x4b64},
+{"linux/kd.h", "KDSKBLED", 0x4b65},
+{"linux/kd.h", "GIO_UNIMAP", 0x4b66},
+{"linux/kd.h", "PIO_UNIMAP", 0x4b67},
+{"linux/kd.h", "PIO_UNIMAPCLR", 0x4b68},
+{"linux/kd.h", "GIO_UNISCRNMAP", 0x4b69},
+{"linux/kd.h", "PIO_UNISCRNMAP", 0x4b6a},
+{"linux/kd.h", "GIO_FONTX", 0x4b6b},
+{"linux/kd.h", "PIO_FONTX", 0x4b6c},
+{"linux/kd.h", "PIO_FONTRESET", 0x4b6d},
+{"linux/kd.h", "GIO_CMAP", 0x4b70},
+{"linux/kd.h", "PIO_CMAP", 0x4b71},
+{"linux/loop.h", "LOOP_SET_FD", 0x4c00},
+{"linux/loop.h", "LOOP_CLR_FD", 0x4c01},
+{"linux/loop.h", "LOOP_SET_STATUS", 0x4c02},
+{"linux/loop.h", "LOOP_GET_STATUS", 0x4c03},
+{"linux/cdrom.h", "CDROMPAUSE", 0x5301},
+{"linux/cdrom.h", "CDROMRESUME", 0x5302},
+{"linux/cdrom.h", "CDROMPLAYMSF", 0x5303},
+{"linux/cdrom.h", "CDROMPLAYTRKIND", 0x5304},
+{"linux/cdrom.h", "CDROMREADTOCHDR", 0x5305},
+{"linux/cdrom.h", "CDROMREADTOCENTRY", 0x5306},
+{"linux/cdrom.h", "CDROMSTOP", 0x5307},
+{"linux/cdrom.h", "CDROMSTART", 0x5308},
+{"linux/cdrom.h", "CDROMEJECT", 0x5309},
+{"linux/cdrom.h", "CDROMVOLCTRL", 0x530a},
+{"linux/cdrom.h", "CDROMSUBCHNL", 0x530b},
+{"linux/cdrom.h", "CDROMREADMODE2", 0x530c},
+{"linux/cdrom.h", "CDROMREADMODE1", 0x530d},
+{"linux/cdrom.h", "CDROMREADAUDIO", 0x530e},
+{"linux/cdrom.h", "CDROMEJECT_SW", 0x530f},
+{"linux/cdrom.h", "CDROMMULTISESSION", 0x5310},
+{"linux/cdrom.h", "CDROM_GET_UPC", 0x5311},
+{"linux/cm206.h", "CDROM_GET_UPC", 0x5311},
+{"linux/cdrom.h", "CDROMRESET", 0x5312},
+{"linux/cm206.h", "CDROMRESET", 0x5312},
+{"linux/cdrom.h", "CDROMVOLREAD", 0x5313},
+{"linux/cdrom.h", "CDROMREADRAW", 0x5314},
+{"linux/cdrom.h", "CDROMREADCOOKED", 0x5315},
+{"linux/cdrom.h", "CDROMSEEK", 0x5316},
+{"linux/cdrom.h", "CDROMPLAYBLK", 0x5317},
+{"linux/cdrom.h", "CDROMREADALL", 0x5318},
+{"linux/cdrom.h", "CDROMCLOSETRAY", 0x5319},
+{"linux/cdrom.h", "CDROMLOADFROMSLOT", 0x531a},
+{"linux/ucdrom.h", "CDROM_SET_OPTIONS", 0x5320},
+{"linux/ucdrom.h", "CDROM_CLEAR_OPTIONS", 0x5321},
+{"linux/ucdrom.h", "CDROM_SELECT_SPEED", 0x5322},
+{"linux/ucdrom.h", "CDROM_SELECT_DISC", 0x5323},
+{"linux/ucdrom.h", "CDROM_MEDIA_CHANGED", 0x5325},
+{"linux/ucdrom.h", "CDROM_DRIVE_STATUS", 0x5326},
+{"linux/ucdrom.h", "CDROM_DISC_STATUS", 0x5327},
+{"linux/sbpcd.h", "CDROMAUDIOBUFSIZ", 0x5382},
+{"asm/ioctls.h", "TIOCLINUX", 0x541c},
+{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
+{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
+{"asm/ioctls.h", "TCSBRKP", 0x5425},
+{"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
+{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
+{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
+{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
+{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
+{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
+{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
+{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
+{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
+{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
+{"linux/vt.h", "VT_OPENQRY", 0x5600},
+{"linux/vt.h", "VT_GETMODE", 0x5601},
+{"linux/vt.h", "VT_SETMODE", 0x5602},
+{"linux/vt.h", "VT_GETSTATE", 0x5603},
+{"linux/vt.h", "VT_SENDSIG", 0x5604},
+{"linux/vt.h", "VT_RELDISP", 0x5605},
+{"linux/vt.h", "VT_ACTIVATE", 0x5606},
+{"linux/vt.h", "VT_WAITACTIVE", 0x5607},
+{"linux/vt.h", "VT_DISALLOCATE", 0x5608},
+{"linux/vt.h", "VT_RESIZE", 0x5609},
+{"linux/vt.h", "VT_RESIZEX", 0x560a},
+{"linux/vt.h", "VT_LOCKSWITCH", 0x560b},
+{"linux/vt.h", "VT_UNLOCKSWITCH", 0x560c},
+{"asm/sockios.h", "FIOSETOWN", 0x8901},
+{"asm/sockios.h", "SIOCSPGRP", 0x8902},
+{"asm/sockios.h", "FIOGETOWN", 0x8903},
+{"asm/sockios.h", "SIOCGPGRP", 0x8904},
+{"asm/sockios.h", "SIOCATMARK", 0x8905},
+{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
+{"linux/sockios.h", "SIOCADDRT", 0x890b},
+{"linux/sockios.h", "SIOCDELRT", 0x890c},
+{"linux/sockios.h", "SIOCGIFNAME", 0x8910},
+{"linux/sockios.h", "SIOCSIFLINK", 0x8911},
+{"linux/sockios.h", "SIOCGIFCONF", 0x8912},
+{"linux/sockios.h", "SIOCGIFFLAGS", 0x8913},
+{"linux/sockios.h", "SIOCSIFFLAGS", 0x8914},
+{"linux/sockios.h", "SIOCGIFADDR", 0x8915},
+{"linux/sockios.h", "SIOCSIFADDR", 0x8916},
+{"linux/sockios.h", "SIOCGIFDSTADDR", 0x8917},
+{"linux/sockios.h", "SIOCSIFDSTADDR", 0x8918},
+{"linux/sockios.h", "SIOCGIFBRDADDR", 0x8919},
+{"linux/sockios.h", "SIOCSIFBRDADDR", 0x891a},
+{"linux/sockios.h", "SIOCGIFNETMASK", 0x891b},
+{"linux/sockios.h", "SIOCSIFNETMASK", 0x891c},
+{"linux/sockios.h", "SIOCGIFMETRIC", 0x891d},
+{"linux/sockios.h", "SIOCSIFMETRIC", 0x891e},
+{"linux/sockios.h", "SIOCGIFMEM", 0x891f},
+{"linux/sockios.h", "SIOCSIFMEM", 0x8920},
+{"linux/sockios.h", "SIOCGIFMTU", 0x8921},
+{"linux/sockios.h", "SIOCSIFMTU", 0x8922},
+{"linux/sockios.h", "SIOCSIFHWADDR", 0x8924},
+{"linux/sockios.h", "SIOCGIFENCAP", 0x8925},
+{"linux/sockios.h", "SIOCSIFENCAP", 0x8926},
+{"linux/sockios.h", "SIOCGIFHWADDR", 0x8927},
+{"linux/sockios.h", "SIOCGIFSLAVE", 0x8929},
+{"linux/sockios.h", "SIOCSIFSLAVE", 0x8930},
+{"linux/sockios.h", "SIOCADDMULTI", 0x8931},
+{"linux/sockios.h", "SIOCDELMULTI", 0x8932},
+{"linux/sockios.h", "SIOCGIFBR", 0x8940},
+{"linux/sockios.h", "SIOCSIFBR", 0x8941},
+{"linux/sockios.h", "OLD_SIOCDARP", 0x8950},
+{"linux/sockios.h", "OLD_SIOCGARP", 0x8951},
+{"linux/sockios.h", "OLD_SIOCSARP", 0x8952},
+{"linux/sockios.h", "SIOCDARP", 0x8953},
+{"linux/sockios.h", "SIOCGARP", 0x8954},
+{"linux/sockios.h", "SIOCSARP", 0x8955},
+{"linux/sockios.h", "SIOCDRARP", 0x8960},
+{"linux/sockios.h", "SIOCGRARP", 0x8961},
+{"linux/sockios.h", "SIOCSRARP", 0x8962},
+{"linux/sockios.h", "SIOCGIFMAP", 0x8970},
+{"linux/sockios.h", "SIOCSIFMAP", 0x8971},
+{"linux/sockios.h", "SIOCADDDLCI", 0x8980},
+{"linux/sockios.h", "SIOCDELDLCI", 0x8981},
+{"linux/sockios.h", "SIOCPROTOPRIVATE", 0x89e0},
+{"linux/sockios.h", "SIOCDEVPRIVATE", 0x89f0},
+{"linux/sbpcd.h", "DDIOCSDBG", 0x9000},
+{"linux/cyclades.h", "CYGETMON", 0x435901},
+{"linux/cyclades.h", "CYGETTHRESH", 0x435902},
+{"linux/cyclades.h", "CYSETTHRESH", 0x435903},
+{"linux/cyclades.h", "CYGETDEFTHRESH", 0x435904},
+{"linux/cyclades.h", "CYSETDEFTHRESH", 0x435905},
+{"linux/cyclades.h", "CYGETTIMEOUT", 0x435906},
+{"linux/cyclades.h", "CYSETTIMEOUT", 0x435907},
+{"linux/cyclades.h", "CYGETDEFTIMEOUT", 0x435908},
+{"linux/cyclades.h", "CYSETDEFTIMEOUT", 0x435909},
+{"linux/fs.h", "FIBMAP", 0x20000001},
+{"linux/fs.h", "FIGETBSZ", 0x20000002},
+{"linux/fd.h", "FDCLRPRM", 0x20000241},
+{"linux/fd.h", "FDMSGON", 0x20000245},
+{"linux/fd.h", "FDMSGOFF", 0x20000246},
+{"linux/fd.h", "FDFMTBEG", 0x20000247},
+{"linux/fd.h", "FDFMTEND", 0x20000249},
+{"linux/fd.h", "FDSETEMSGTRESH", 0x2000024a},
+{"linux/fd.h", "FDFLUSH", 0x2000024b},
+{"linux/fd.h", "FDRESET", 0x20000254},
+{"linux/fd.h", "FDWERRORCLR", 0x20000256},
+{"linux/fd.h", "FDRAWCMD", 0x20000258},
+{"linux/fd.h", "FDTWADDLE", 0x20000259},
+{"linux/fd.h", "FDEJECT", 0x2000025a},
+{"linux/umsdos_fs.h", "UMSDOS_READDIR_DOS", 0x200004d2},
+{"linux/umsdos_fs.h", "UMSDOS_UNLINK_DOS", 0x200004d3},
+{"linux/umsdos_fs.h", "UMSDOS_RMDIR_DOS", 0x200004d4},
+{"linux/umsdos_fs.h", "UMSDOS_STAT_DOS", 0x200004d5},
+{"linux/umsdos_fs.h", "UMSDOS_CREAT_EMD", 0x200004d6},
+{"linux/umsdos_fs.h", "UMSDOS_UNLINK_EMD", 0x200004d7},
+{"linux/umsdos_fs.h", "UMSDOS_READDIR_EMD", 0x200004d8},
+{"linux/umsdos_fs.h", "UMSDOS_GETVERSION", 0x200004d9},
+{"linux/umsdos_fs.h", "UMSDOS_INIT_EMD", 0x200004da},
+{"linux/umsdos_fs.h", "UMSDOS_DOS_SETUP", 0x200004db},
+{"linux/umsdos_fs.h", "UMSDOS_RENAME_DOS", 0x200004dc},
+{"linux/md.h", "REGISTER_DEV", 0x20000901},
+{"linux/md.h", "START_MD", 0x20000902},
+{"linux/md.h", "STOP_MD", 0x20000903},
+{"linux/fs.h", "BLKROSET", 0x2000125d},
+{"linux/fs.h", "BLKROGET", 0x2000125e},
+{"linux/fs.h", "BLKRRPART", 0x2000125f},
+{"linux/fs.h", "BLKGETSIZE", 0x20001260},
+{"linux/fs.h", "BLKFLSBUF", 0x20001261},
+{"linux/fs.h", "BLKRASET", 0x20001262},
+{"linux/fs.h", "BLKRAGET", 0x20001263},
+{"linux/cm206.h", "CM206CTL_GET_STAT", 0x20002000},
+{"linux/cm206.h", "CM206CTL_GET_LAST_STAT", 0x20002001},
+{"linux/apm_bios.h", "APM_IOC_STANDBY", 0x20004101},
+{"linux/apm_bios.h", "APM_IOC_SUSPEND", 0x20004102},
+{"linux/baycom.h", "BAYCOMCTL_PARAM_TXDELAY", 0x20004202},
+{"linux/baycom.h", "BAYCOMCTL_PARAM_PPERSIST", 0x20004203},
+{"linux/baycom.h", "BAYCOMCTL_PARAM_SLOTTIME", 0x20004204},
+{"linux/baycom.h", "BAYCOMCTL_PARAM_TXTAIL", 0x20004205},
+{"linux/baycom.h", "BAYCOMCTL_PARAM_FULLDUP", 0x20004206},
+{"linux/baycom.h", "BAYCOMCTL_CALIBRATE", 0x2000420a},
+{"linux/soundcard.h", "SNDCTL_COPR_RESET", 0x20004300},
+{"linux/isdn.h", "IIOCNETAIF", 0x20004901},
+{"linux/isdn.h", "IIOCNETDIF", 0x20004902},
+{"linux/isdn.h", "IIOCNETSCF", 0x20004903},
+{"linux/isdn.h", "IIOCNETGCF", 0x20004904},
+{"linux/isdn.h", "IIOCNETANM", 0x20004905},
+{"linux/isdn.h", "IIOCNETDNM", 0x20004906},
+{"linux/isdn.h", "IIOCNETGNM", 0x20004907},
+{"linux/isdn.h", "IIOCGETSET", 0x20004908},
+{"linux/isdn.h", "IIOCSETSET", 0x20004909},
+{"linux/isdn.h", "IIOCSETVER", 0x2000490a},
+{"linux/isdn.h", "IIOCNETHUP", 0x2000490b},
+{"linux/isdn.h", "IIOCSETGST", 0x2000490c},
+{"linux/isdn.h", "IIOCSETBRJ", 0x2000490d},
+{"linux/isdn.h", "IIOCSIGPRF", 0x2000490e},
+{"linux/isdn.h", "IIOCGETPRF", 0x2000490f},
+{"linux/isdn.h", "IIOCSETPRF", 0x20004910},
+{"linux/isdn.h", "IIOCGETMAP", 0x20004911},
+{"linux/isdn.h", "IIOCSETMAP", 0x20004912},
+{"linux/isdn.h", "IIOCNETASL", 0x20004913},
+{"linux/isdn.h", "IIOCNETDIL", 0x20004914},
+{"linux/isdn.h", "IIOCGETCPS", 0x20004915},
+{"linux/isdn.h", "IIOCNETALN", 0x20004920},
+{"linux/isdn.h", "IIOCNETDLN", 0x20004921},
+{"linux/isdn.h", "IIOCDBGVAR", 0x2000497f},
+{"linux/isdn.h", "IIOCDRVCTL", 0x20004980},
+{"linux/soundcard.h", "SNDCTL_DSP_RESET", 0x20005000},
+{"linux/soundcard.h", "SNDCTL_DSP_SYNC", 0x20005001},
+{"linux/soundcard.h", "SNDCTL_DSP_POST", 0x20005008},
+{"linux/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x2000500e},
+{"linux/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x20005015},
+{"linux/soundcard.h", "SNDCTL_DSP_SETDUPLEX", 0x20005016},
+{"linux/soundcard.h", "SNDCTL_SEQ_RESET", 0x20005100},
+{"linux/soundcard.h", "SNDCTL_SEQ_SYNC", 0x20005101},
+{"linux/soundcard.h", "SNDCTL_SEQ_PANIC", 0x20005111},
+{"linux/random.h", "RNDZAPENTCNT", 0x20005204},
+{"linux/random.h", "RNDCLEARPOOL", 0x20005206},
+{"linux/soundcard.h", "SNDCTL_TMR_START", 0x20005402},
+{"linux/soundcard.h", "SNDCTL_TMR_STOP", 0x20005403},
+{"linux/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x20005404},
+{"asm/ioctls.h", "TCSBRK", 0x20005405},
+{"asm/ioctls.h", "TCXONC", 0x20005406},
+{"asm/ioctls.h", "TCFLSH", 0x20005407},
+{"asm/ioctls.h", "__TCGETSTAT", 0x200054c8},
+{"asm/ioctls.h", "__TCSETSTAT", 0x200054c9},
+{"linux/comstats.h", "COM_GETPORTSTATS", 0x2000631e},
+{"linux/comstats.h", "COM_CLRPORTSTATS", 0x2000631f},
+{"linux/comstats.h", "COM_GETBRDSTATS", 0x20006320},
+{"linux/comstats.h", "COM_READPORT", 0x20006328},
+{"linux/comstats.h", "COM_READBOARD", 0x20006329},
+{"linux/comstats.h", "COM_READPANEL", 0x2000632a},
+{"asm/ioctls.h", "FIOCLEX", 0x20006601},
+{"asm/ioctls.h", "FIONCLEX", 0x20006602},
+{"linux/ncp_fs.h", "NCP_IOC_CONN_LOGGED_IN", 0x20006e03},
+{"linux/mc146818rtc.h", "RTC_AIE_ON", 0x20007001},
+{"linux/mc146818rtc.h", "RTC_AIE_OFF", 0x20007002},
+{"linux/mc146818rtc.h", "RTC_UIE_ON", 0x20007003},
+{"linux/mc146818rtc.h", "RTC_UIE_OFF", 0x20007004},
+{"linux/mc146818rtc.h", "RTC_PIE_ON", 0x20007005},
+{"linux/mc146818rtc.h", "RTC_PIE_OFF", 0x20007006},
+{"linux/cdk.h", "STL_BINTR", 0x20007314},
+{"linux/cdk.h", "STL_BSTART", 0x20007315},
+{"linux/cdk.h", "STL_BSTOP", 0x20007316},
+{"linux/cdk.h", "STL_BRESET", 0x20007317},
+{"linux/cdk.h", "STL_GETPFLAG", 0x20007350},
+{"linux/cdk.h", "STL_SETPFLAG", 0x20007351},
+{"asm/ioctls.h", "__TIOCHPCL", 0x20007402},
+{"asm/ioctls.h", "TIOCEXCL", 0x2000740d},
+{"asm/ioctls.h", "TIOCNXCL", 0x2000740e},
+{"asm/ioctls.h", "TIOCCONS", 0x20007424},
+{"linux/if_ppp.h", "PPPIOCXFERUNIT", 0x2000744e},
+{"asm/ioctls.h", "__TIOCSTART", 0x2000746e},
+{"asm/ioctls.h", "__TIOCSTOP", 0x2000746f},
+{"asm/ioctls.h", "TIOCNOTTY", 0x20007471},
+{"asm/ioctls.h", "__TIOCCDTR", 0x20007478},
+{"asm/ioctls.h", "__TIOCSDTR", 0x20007479},
+{"asm/ioctls.h", "__TIOCCBRK", 0x2000747a},
+{"asm/ioctls.h", "__TIOCSBRK", 0x2000747b},
+{"asm/ioctls.h", "TIOCSCTTY", 0x20007484},
+{"linux/baycom.h", "BAYCOMCTL_GETDCD", 0x40014200},
+{"linux/baycom.h", "BAYCOMCTL_GETPTT", 0x40014201},
+{"linux/baycom.h", "BAYCOMCTL_GETSAMPLES", 0x40014210},
+{"linux/baycom.h", "BAYCOMCTL_GETBITS", 0x40014211},
+{"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID", 0x40027501},
+{"linux/baycom.h", "BAYCOMCTL_DEBUG1", 0x40044212},
+{"linux/baycom.h", "BAYCOMCTL_DEBUG2", 0x40044213},
+{"linux/baycom.h", "BAYCOMCTL_DEBUG3", 0x40044214},
+{"asm/fbio.h", "FBIOGVIDEO", 0x40044608},
+{"asm/fbio.h", "FBIOGCURMAX", 0x4004461c},
+{"linux/soundcard.h", "SOUND_MIXER_READ_VOLUME", 0x40044d00},
+{"linux/soundcard.h", "SOUND_MIXER_READ_BASS", 0x40044d01},
+{"linux/soundcard.h", "SOUND_MIXER_READ_TREBLE", 0x40044d02},
+{"linux/soundcard.h", "SOUND_MIXER_READ_SYNTH", 0x40044d03},
+{"linux/soundcard.h", "SOUND_MIXER_READ_PCM", 0x40044d04},
+{"linux/soundcard.h", "SOUND_MIXER_READ_SPEAKER", 0x40044d05},
+{"linux/soundcard.h", "SOUND_MIXER_READ_LINE", 0x40044d06},
+{"linux/soundcard.h", "SOUND_MIXER_READ_MIC", 0x40044d07},
+{"linux/soundcard.h", "SOUND_MIXER_READ_CD", 0x40044d08},
+{"linux/soundcard.h", "SOUND_MIXER_READ_IMIX", 0x40044d09},
+{"linux/soundcard.h", "SOUND_MIXER_READ_ALTPCM", 0x40044d0a},
+{"linux/soundcard.h", "SOUND_MIXER_READ_RECLEV", 0x40044d0b},
+{"linux/soundcard.h", "SOUND_MIXER_READ_IGAIN", 0x40044d0c},
+{"linux/soundcard.h", "SOUND_MIXER_READ_OGAIN", 0x40044d0d},
+{"linux/soundcard.h", "SOUND_MIXER_READ_LINE1", 0x40044d0e},
+{"linux/soundcard.h", "SOUND_MIXER_READ_LINE2", 0x40044d0f},
+{"linux/soundcard.h", "SOUND_MIXER_READ_LINE3", 0x40044d10},
+{"linux/soundcard.h", "SOUND_MIXER_READ_MUTE", 0x40044d1c},
+{"linux/soundcard.h", "SOUND_MIXER_READ_ENHANCE", 0x40044d1d},
+{"linux/soundcard.h", "SOUND_MIXER_READ_LOUD", 0x40044d1e},
+{"linux/soundcard.h", "SOUND_MIXER_READ_STEREODEVS", 0x40044dfb},
+{"linux/soundcard.h", "SOUND_MIXER_READ_CAPS", 0x40044dfc},
+{"linux/soundcard.h", "SOUND_MIXER_READ_RECMASK", 0x40044dfd},
+{"linux/soundcard.h", "SOUND_MIXER_READ_DEVMASK", 0x40044dfe},
+{"linux/soundcard.h", "SOUND_MIXER_READ_RECSRC", 0x40044dff},
+{"linux/soundcard.h", "SOUND_PCM_READ_RATE", 0x40045002},
+{"linux/soundcard.h", "SOUND_PCM_READ_BITS", 0x40045005},
+{"linux/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x40045006},
+{"linux/soundcard.h", "SOUND_PCM_READ_FILTER", 0x40045007},
+{"linux/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x4004500b},
+{"linux/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x4004500f},
+{"linux/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x40045010},
+{"linux/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x40045104},
+{"linux/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x40045105},
+{"linux/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x4004510a},
+{"linux/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x4004510b},
+{"linux/random.h", "RNDGETENTCNT", 0x40045200},
+{"linux/ext2_fs.h", "EXT2_IOC_GETFLAGS", 0x40046601},
+{"asm/ioctls.h", "FIONREAD", 0x4004667f},
+{"asm/kbio.h", "KIOCGTRANS", 0x40046b05},
+{"asm/kbio.h", "KIOCTYPE", 0x40046b09},
+{"asm/kbio.h", "KIOCLAYOUT", 0x40046b14},
+{"linux/mtio.h", "MTIOCPOS", 0x40046d03},
+{"linux/mc146818rtc.h", "RTC_IRQP_READ", 0x4004700b},
+{"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_BOTH", 0x40047201},
+{"asm/ioctls.h", "TIOCGETD", 0x40047400},
+{"asm/ioctls.h", "__TIOCMODG", 0x40047403},
+{"asm/ioctls.h", "__TIOCGETX", 0x40047423},
+{"linux/if_ppp.h", "PPPIOCGDEBUG", 0x40047441},
+{"linux/if_ppp.h", "PPPIOCGMRU", 0x40047453},
+{"linux/if_ppp.h", "PPPIOCGRASYNCMAP", 0x40047455},
+{"linux/if_ppp.h", "PPPIOCGUNIT", 0x40047456},
+{"linux/if_ppp.h", "PPPIOCGASYNCMAP", 0x40047458},
+{"linux/if_ppp.h", "PPPIOCGFLAGS", 0x4004745a},
+{"asm/ioctls.h", "TIOCGSOFTCAR", 0x40047464},
+{"asm/ioctls.h", "TIOCMGET", 0x4004746a},
+{"asm/ioctls.h", "TIOCOUTQ", 0x40047473},
+{"asm/ioctls.h", "__TIOCISPACE", 0x40047480},
+{"asm/ioctls.h", "__TIOCISIZE", 0x40047481},
+{"linux/isdn_ppp.h", "PPPIOCGMPFLAGS", 0x40047482},
+{"asm/ioctls.h", "TIOCGPGRP", 0x40047483},
+{"linux/ext2_fs.h", "EXT2_IOC_GETVERSION", 0x40047601},
+{"asm/vuid_event.h", "VUIDGFORMAT", 0x40047602},
+{"asm/ioctls.h", "__TIOCGETP", 0x40067408},
+{"asm/ioctls.h", "__TIOCGETC", 0x40067412},
+{"asm/ioctls.h", "__TIOCGLTC", 0x40067474},
+{"linux/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x40085013},
+{"linux/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x40085014},
+{"linux/random.h", "RNDGETPOOL", 0x40085202},
+{"asm/ioctls.h", "__TIOCGSIZE", 0x40087426},
+{"linux/if_ppp.h", "PPPIOCGIDLE", 0x4008743f},
+{"asm/ioctls.h", "TIOCGWINSZ", 0x40087468},
+{"linux/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x400c5011},
+{"linux/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x400c5012},
+{"linux/ncp_fs.h", "NCP_IOC_NCPREQUEST", 0x400c6e01},
+{"linux/fd.h", "FDGETDRVTYP", 0x4010020f},
+{"linux/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x4010500c},
+{"linux/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x4010500d},
+{"asm/ioctls.h", "TCGETA", 0x40125401},
+{"linux/fd.h", "FDGETMAXERRS", 0x4014020e},
+{"linux/baycom.h", "BAYCOMCTL_GETSTAT", 0x40144207},
+{"linux/fd.h", "FDWERRORGET", 0x40180217},
+{"asm/fbio.h", "FBIOGTYPE", 0x40184600},
+{"linux/fd.h", "FDGETPRM", 0x401c0204},
+{"linux/mtio.h", "MTIOCGET", 0x401c6d02},
+{"linux/fd.h", "FDGETFDCSTAT", 0x40200215},
+{"linux/if_ppp.h", "PPPIOCGXASYNCMAP", 0x40207450},
+{"linux/baycom.h", "BAYCOMCTL_GETPARAMS", 0x40244208},
+{"linux/baycom.h", "BAYCOMCTL_SETPARAMS", 0x40244209},
+{"asm/ioctls.h", "TCGETS", 0x40245408},
+{"linux/mc146818rtc.h", "RTC_ALM_READ", 0x40247008},
+{"linux/mc146818rtc.h", "RTC_RD_TIME", 0x40247009},
+{"linux/fd.h", "FDGETDRVSTAT", 0x40340212},
+{"linux/fd.h", "FDPOLLDRVSTAT", 0x40340213},
+{"linux/fd.h", "FDGETDRVPRM", 0x40580211},
+{"asm/fbio.h", "FBIOGATTR", 0x40584606},
+{"linux/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4fa44309},
+{"asm/ioctls.h", "TIOCSTI", 0x80017472},
+{"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID", 0x80026e02},
+{"asm/fbio.h", "FBIOSVIDEO", 0x80044607},
+{"asm/fbio.h", "FBIOSCURPOS", 0x8004461a},
+{"asm/fbio.h", "FBIOGCURPOS", 0x8004461b},
+{"linux/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x80045010},
+{"linux/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x80045106},
+{"linux/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x80045108},
+{"linux/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x80045109},
+{"linux/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x8004510d},
+{"linux/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x8004510f},
+{"linux/random.h", "RNDADDTOENTCNT", 0x80045201},
+{"linux/soundcard.h", "SNDCTL_TMR_METRONOME", 0x80045407},
+{"linux/soundcard.h", "SNDCTL_TMR_SELECT", 0x80045408},
+{"linux/ext2_fs.h", "EXT2_IOC_SETFLAGS", 0x80046602},
+{"asm/ioctls.h", "FIOASYNC", 0x8004667d},
+{"asm/ioctls.h", "FIONBIO", 0x8004667e},
+{"asm/kbio.h", "KIOCTRANS", 0x80046b00},
+{"asm/kbio.h", "KIOCCMD", 0x80046b08},
+{"asm/kbio.h", "KIOCSDIRECT", 0x80046b0a},
+{"linux/mc146818rtc.h", "RTC_IRQP_SET", 0x8004700c},
+{"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_SHORT", 0x80047202},
+{"asm/ioctls.h", "TIOCSETD", 0x80047401},
+{"asm/ioctls.h", "__TIOCMODS", 0x80047404},
+{"asm/ioctls.h", "__TIOCFLUSH", 0x80047410},
+{"asm/ioctls.h", "__TIOCTCNTL", 0x80047420},
+{"asm/ioctls.h", "__TIOCSIGNAL", 0x80047421},
+{"asm/ioctls.h", "__TIOCSETX", 0x80047422},
+{"linux/if_ppp.h", "PPPIOCSDEBUG", 0x80047440},
+{"linux/if_ppp.h", "PPPIOCSMAXCID", 0x80047451},
+{"linux/if_ppp.h", "PPPIOCSMRU", 0x80047452},
+{"linux/if_ppp.h", "PPPIOCSRASYNCMAP", 0x80047454},
+{"linux/if_ppp.h", "PPPIOCSASYNCMAP", 0x80047457},
+{"linux/if_ppp.h", "PPPIOCSFLAGS", 0x80047459},
+{"asm/ioctls.h", "TIOCSSOFTCAR", 0x80047465},
+{"asm/ioctls.h", "__TIOCUCNTL", 0x80047466},
+{"asm/ioctls.h", "__TIOCREMOTE", 0x80047469},
+{"asm/ioctls.h", "TIOCMBIC", 0x8004746b},
+{"asm/ioctls.h", "TIOCMBIS", 0x8004746c},
+{"asm/ioctls.h", "TIOCMSET", 0x8004746d},
+{"asm/ioctls.h", "TIOCPKT", 0x80047470},
+{"asm/ioctls.h", "__TIOCLGET", 0x8004747c},
+{"asm/ioctls.h", "__TIOCLSET", 0x8004747d},
+{"asm/ioctls.h", "__TIOCLBIC", 0x8004747e},
+{"asm/ioctls.h", "__TIOCLBIS", 0x8004747f},
+{"linux/isdn_ppp.h", "PPPIOCBUNDLE", 0x80047481},
+{"asm/ioctls.h", "TIOCSPGRP", 0x80047482},
+{"linux/isdn_ppp.h", "PPPIOCSMPFLAGS", 0x80047483},
+{"linux/isdn_ppp.h", "PPPIOCSMPMTU", 0x80047484},
+{"linux/isdn_ppp.h", "PPPIOCSMPMRU", 0x80047485},
+{"asm/vuid_event.h", "VUIDSFORMAT", 0x80047601},
+{"linux/ext2_fs.h", "EXT2_IOC_SETVERSION", 0x80047602},
+{"asm/ioctls.h", "__TIOCSETP", 0x80067409},
+{"asm/ioctls.h", "__TIOCSETN", 0x8006740a},
+{"asm/ioctls.h", "__TIOCSETC", 0x80067411},
+{"asm/ioctls.h", "__TIOCSLTC", 0x80067475},
+{"linux/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x80085112},
+{"linux/random.h", "RNDADDENTROPY", 0x80085203},
+{"linux/mtio.h", "MTIOCTOP", 0x80086d01},
+{"asm/ioctls.h", "__TIOCSSIZE", 0x80087425},
+{"linux/if_ppp.h", "PPPIOCSNPMODE", 0x8008744b},
+{"asm/ioctls.h", "TIOCSWINSZ", 0x80087467},
+{"linux/fd.h", "FDFMTTRK", 0x800c0248},
+{"linux/if_ppp.h", "PPPIOCSCOMPRESS", 0x800c744d},
+{"asm/ioctls.h", "TCSETA", 0x80125402},
+{"asm/ioctls.h", "TCSETAW", 0x80125403},
+{"asm/ioctls.h", "TCSETAF", 0x80125404},
+{"linux/fd.h", "FDSETMAXERRS", 0x8014024c},
+{"linux/soundcard.h", "SNDCTL_COPR_WDATA", 0x80144304},
+{"linux/soundcard.h", "SNDCTL_COPR_WCODE", 0x80144305},
+{"linux/fd.h", "FDSETPRM", 0x801c0242},
+{"linux/fd.h", "FDDEFPRM", 0x801c0243},
+{"linux/if_ppp.h", "PPPIOCSXASYNCMAP", 0x8020744f},
+{"asm/ioctls.h", "TCSETS", 0x80245409},
+{"asm/ioctls.h", "TCSETSW", 0x8024540a},
+{"asm/ioctls.h", "TCSETSF", 0x8024540b},
+{"linux/mc146818rtc.h", "RTC_ALM_SET", 0x80247007},
+{"linux/mc146818rtc.h", "RTC_SET_TIME", 0x8024700a},
+{"linux/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x80285107},
+{"asm/fbio.h", "FBIOSCURSOR", 0x802c4618},
+{"linux/fd.h", "FDSETDRVPRM", 0x80580290},
+{"asm/fbio.h", "FBIOSATTR", 0x80584605},
+{"linux/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x8fa44308},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_VOLUME", 0xc0044d00},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_BASS", 0xc0044d01},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_TREBLE", 0xc0044d02},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_SYNTH", 0xc0044d03},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_PCM", 0xc0044d04},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_SPEAKER", 0xc0044d05},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE", 0xc0044d06},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_MIC", 0xc0044d07},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_CD", 0xc0044d08},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_IMIX", 0xc0044d09},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_ALTPCM", 0xc0044d0a},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_RECLEV", 0xc0044d0b},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_IGAIN", 0xc0044d0c},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_OGAIN", 0xc0044d0d},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE1", 0xc0044d0e},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE2", 0xc0044d0f},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE3", 0xc0044d10},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_MUTE", 0xc0044d1c},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_ENHANCE", 0xc0044d1d},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_LOUD", 0xc0044d1e},
+{"linux/soundcard.h", "SOUND_MIXER_WRITE_RECSRC", 0xc0044dff},
+{"linux/soundcard.h", "SNDCTL_DSP_SPEED", 0xc0045002},
+{"linux/soundcard.h", "SNDCTL_DSP_STEREO", 0xc0045003},
+{"linux/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0xc0045004},
+{"linux/soundcard.h", "SNDCTL_DSP_SETFMT", 0xc0045005},
+{"linux/soundcard.h", "SOUND_PCM_WRITE_CHANNELS", 0xc0045006},
+{"linux/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0xc0045007},
+{"linux/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0xc0045009},
+{"linux/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0xc004500a},
+{"linux/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0xc0045103},
+{"linux/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0xc004510e},
+{"linux/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0xc0045401},
+{"linux/soundcard.h", "SNDCTL_TMR_TEMPO", 0xc0045405},
+{"linux/soundcard.h", "SNDCTL_TMR_SOURCE", 0xc0045406},
+{"linux/soundcard.h", "SNDCTL_MIDI_PRETIME", 0xc0046d00},
+{"linux/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0xc0046d01},
+{"linux/if_ppp.h", "PPPIOCGNPMODE", 0xc008744c},
+{"linux/soundcard.h", "SNDCTL_COPR_RDATA", 0xc0144302},
+{"linux/soundcard.h", "SNDCTL_COPR_RCODE", 0xc0144303},
+{"linux/soundcard.h", "SNDCTL_COPR_RUN", 0xc0144306},
+{"linux/soundcard.h", "SNDCTL_COPR_HALT", 0xc0144307},
+{"linux/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0xc0216d02},
+{"linux/isdn_ppp.h", "PPPIOCLINKINFO", 0xc0247480},
+{"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO", 0xc0286e04},
+{"asm/fbio.h", "FBIOGCURSOR", 0xc02c4619},
+{"linux/soundcard.h", "SNDCTL_MIDI_INFO", 0xc074510c},
+{"linux/soundcard.h", "SNDCTL_SYNTH_INFO", 0xc08c5102},
+{"linux/soundcard.h", "SNDCTL_COPR_LOAD", 0xcfb04301},
+{"linux/soundcard.h", "SNDCTL_PMGR_IFACE", 0xcfb85001},
+{"linux/soundcard.h", "SNDCTL_PMGR_ACCESS", 0xcfb85110},
diff --git a/linux/sparc/ioctlent1.h b/linux/sparc/ioctlent1.h
new file mode 100644
index 0000000..5d536cf
--- /dev/null
+++ b/linux/sparc/ioctlent1.h
@@ -0,0 +1 @@
+#include "../svr4/ioctlent.h"
diff --git a/linux/sparc/signalent.h b/linux/sparc/signalent.h
new file mode 100644
index 0000000..e059b5d
--- /dev/null
+++ b/linux/sparc/signalent.h
@@ -0,0 +1,32 @@
+ "SIG_0", /* 0 */
+ "SIGHUP", /* 1 */
+ "SIGINT", /* 2 */
+ "SIGQUIT", /* 3 */
+ "SIGILL", /* 4 */
+ "SIGTRAP", /* 5 */
+ "SIGABRT", /* 6 */
+ "SIGEMT", /* 7 */
+ "SIGFPE", /* 8 */
+ "SIGKILL", /* 9 */
+ "SIGBUS", /* 10 */
+ "SIGSEGV", /* 11 */
+ "SIGSYS", /* 12 */
+ "SIGPIPE", /* 13 */
+ "SIGALRM", /* 14 */
+ "SIGTERM", /* 15 */
+ "SIGURG", /* 16 */
+ "SIGSTOP", /* 17 */
+ "SIGTSTP", /* 18 */
+ "SIGCONT", /* 19 */
+ "SIGCHLD", /* 20 */
+ "SIGTTIN", /* 21 */
+ "SIGTTOU", /* 22 */
+ "SIGIO", /* 23 */
+ "SIGXCPU", /* 24 */
+ "SIGXFSZ", /* 25 */
+ "SIGVTALRM", /* 26 */
+ "SIGPROF", /* 27 */
+ "SIGWINCH", /* 28 */
+ "SIGLOST", /* 29 */
+ "SIGUSR1", /* 30 */
+ "SIGUSR2", /* 31 */
diff --git a/linux/sparc/signalent1.h b/linux/sparc/signalent1.h
new file mode 100644
index 0000000..6be7a26
--- /dev/null
+++ b/linux/sparc/signalent1.h
@@ -0,0 +1 @@
+#include "../svr4/signalent.h"
diff --git a/linux/sparc/syscall.h b/linux/sparc/syscall.h
new file mode 100644
index 0000000..9c7f46c
--- /dev/null
+++ b/linux/sparc/syscall.h
@@ -0,0 +1,176 @@
+/*
+ * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
+ * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
+ */
+#include "dummy.h"
+
+int sys_nosys();
+int sys_nullsys();
+int sys_errsys();
+
+/* 1.1 processes and protection */
+int sys_gethostid(),sys_sethostname(),sys_gethostname(),sys_getpid();
+int sys_setdomainname(),sys_getdomainname();
+int sys_fork(),sys_exit(),sys_execv(),sys_execve(),sys_wait4(),sys_waitpid();
+int sys_setuid(),sys_setgid(),sys_getuid(),sys_setreuid(),sys_getgid(),sys_getgroups(),sys_setregid(),sys_setgroups();
+int sys_getpgrp(),sys_setpgrp();
+int sys_setsid(), sys_setpgid();
+int sys_uname(), sys_sysinfo();
+
+/* 1.2 memory management */
+int sys_brk(),sys_sbrk(),sys_sstk();
+int sys_getpagesize(),sys_mmap(),sys_mctl(),sys_munmap(),sys_mprotect(),sys_mincore();
+int sys_omsync(),sys_omadvise();
+
+/* 1.3 signals */
+int sys_sigvec(),sys_sigblock(),sys_sigsetmask(),sys_sigpause(),sys_sigstack(),sys_sigcleanup(), sys_sigreturn();
+int sys_kill(), sys_killpg(), sys_sigpending(), sys_signal(), sys_sigaction(), sys_sigsuspend(), sys_sigprocmask();
+
+/* 1.4 timing and statistics */
+int sys_gettimeofday(),sys_settimeofday();
+int sys_adjtime(), sys_adjtimex();
+int sys_getitimer(),sys_setitimer();
+
+/* 1.5 descriptors */
+int sys_getdtablesize(),sys_dup(),sys_dup2(),sys_close();
+int sys_select(),sys_getdopt(),sys_setdopt(),sys_fcntl(),sys_flock();
+
+/* 1.6 resource controls */
+int sys_getpriority(),sys_setpriority(),sys_getrusage(),sys_getrlimit(),sys_setrlimit();
+int sys_oldquota(), sys_quotactl();
+int sys_rtschedule(), sys_personality();
+
+/* 1.7 system operation support */
+int sys_mount(),sys_unmount(),sys_swapon();
+int sys_sync(),sys_reboot();
+int sys_sysacct();
+int sys_auditsys();
+
+/* 2.1 generic operations */
+int sys_read(),sys_write(),sys_readv(),sys_writev(),sys_ioctl();
+
+/* 2.1.1 asynch operations */
+int sys_aioread(), sys_aiowrite(), sys_aiowait(), sys_aiocancel();
+
+/* 2.2 file system */
+int sys_chdir(),sys_chroot();
+int sys_fchdir(),sys_fchroot();
+int sys_mkdir(),sys_rmdir(),sys_getdirentries(), sys_getdents(),sys_readdir();
+int sys_creat(),sys_open(),sys_mknod(),sys_unlink(),sys_stat(),sys_fstat(),sys_lstat();
+int sys_chown(),sys_fchown(),sys_chmod(),sys_fchmod(),sys_utimes();
+int sys_link(),sys_symlink(),sys_readlink(),sys_rename();
+int sys_lseek(),sys_truncate(),sys_ftruncate(),sys_access(),sys_fsync();
+int sys_statfs(),sys_fstatfs(),sys_msync();
+
+/* 2.3 communications */
+int sys_socket(),sys_bind(),sys_listen(),sys_accept(),sys_connect();
+int sys_socketpair(),sys_sendto(),sys_send(),sys_recvfrom(),sys_recv();
+int sys_sendmsg(),sys_recvmsg(),sys_shutdown(),sys_setsockopt(),sys_getsockopt();
+int sys_getsockname(),sys_getpeername(),sys_pipe();
+
+int sys_umask(); /* XXX */
+
+/* 2.3.1 SystemV-compatible IPC */
+int sys_semsys(), sys_semctl(), sys_semget();
+#define SYS_semsys_subcall 200
+#define SYS_semsys_nsubcalls 3
+#define SYS_semctl (SYS_semsys_subcall + 0)
+#define SYS_semget (SYS_semsys_subcall + 1)
+#define SYS_semop (SYS_semsys_subcall + 2)
+int sys_msgsys(), sys_msgget(), sys_msgctl(), sys_msgrcv(), sys_msgsnd();
+#define SYS_msgsys_subcall 203
+#define SYS_msgsys_nsubcalls 4
+#define SYS_msgget (SYS_msgsys_subcall + 0)
+#define SYS_msgctl (SYS_msgsys_subcall + 1)
+#define SYS_msgrcv (SYS_msgsys_subcall + 2)
+#define SYS_msgsnd (SYS_msgsys_subcall + 3)
+int sys_shmsys(), sys_shmat(), sys_shmctl(), sys_shmdt(), sys_shmget();
+#define SYS_shmsys_subcall 207
+#define SYS_shmsys_nsubcalls 4
+#define SYS_shmat (SYS_shmsys_subcall + 0)
+#define SYS_shmctl (SYS_shmsys_subcall + 1)
+#define SYS_shmdt (SYS_shmsys_subcall + 2)
+#define SYS_shmget (SYS_shmsys_subcall + 3)
+
+/* 2.4 processes */
+int sys_ptrace();
+
+/* 2.5 terminals */
+
+/* emulations for backwards compatibility */
+int sys_otime(); /* now use gettimeofday */
+int sys_ostime(); /* now use settimeofday */
+int sys_oalarm(); /* now use setitimer */
+int sys_outime(); /* now use utimes */
+int sys_opause(); /* now use sigpause */
+int sys_onice(); /* now use setpriority,getpriority */
+int sys_oftime(); /* now use gettimeofday */
+int sys_osetpgrp(); /* ??? */
+int sys_otimes(); /* now use getrusage */
+int sys_ossig(); /* now use sigvec, etc */
+int sys_ovlimit(); /* now use setrlimit,getrlimit */
+int sys_ovtimes(); /* now use getrusage */
+int sys_osetuid(); /* now use setreuid */
+int sys_osetgid(); /* now use setregid */
+int sys_ostat(); /* now use stat */
+int sys_ofstat(); /* now use fstat */
+
+/* BEGIN JUNK */
+int sys_profil(); /* 'cuz sys calls are interruptible */
+int sys_vhangup(); /* should just do in sys_exit() */
+int sys_vfork(); /* XXX - was awaiting fork w/ copy on write */
+int sys_ovadvise(); /* awaiting new madvise */
+int sys_indir(); /* indirect system call */
+int sys_ustat(); /* System V compatibility */
+int sys_owait(); /* should use wait4 interface */
+int sys_owait3(); /* should use wait4 interface */
+int sys_umount(); /* still more Sys V (and 4.2?) compatibility */
+int sys_pathconf(); /* posix */
+int sys_fpathconf(); /* posix */
+int sys_sysconf(); /* posix */
+int sys_delete_module();
+int sys_debug();
+/* END JUNK */
+
+int sys_vtrace(); /* kernel event tracing */
+
+/* nfs */
+int sys_async_daemon(); /* client async daemon */
+int sys_nfs_svc(); /* run nfs server */
+int sys_nfs_getfh(); /* get file handle */
+int sys_exportfs(); /* export file systems */
+
+int sys_rfssys(); /* RFS-related calls */
+
+int sys_getmsg();
+int sys_putmsg();
+int sys_poll();
+
+int sys_vpixsys(); /* VP/ix system calls */
+
+#include "syscall1.h"
diff --git a/linux/sparc/syscall.h.2 b/linux/sparc/syscall.h.2
new file mode 100644
index 0000000..19d3b4a
--- /dev/null
+++ b/linux/sparc/syscall.h.2
@@ -0,0 +1,142 @@
+/*
+ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
+ * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
+ */
+
+#include "dummy.h"
+
+/* primary syscalls */
+
+int sys_setup(), sys_exit(), sys_fork(), sys_read(), sys_write();
+int sys_open(), sys_close(), sys_waitpid(), sys_creat(), sys_link();
+int sys_unlink(), sys_execve(), sys_chdir(), sys_time(), sys_mknod();
+int sys_chmod(), sys_chown(), sys_break(), sys_oldstat();
+int sys_lseek(), sys_getpid(), sys_mount(), sys_umount();
+int sys_setuid(), sys_getuid(), sys_stime(), sys_ptrace();
+int sys_alarm(), sys_oldfstat(), sys_pause(), sys_utime();
+int sys_stty(), sys_gtty(), sys_access(), sys_nice(), sys_ftime();
+int sys_sync(), sys_kill(), sys_rename(), sys_mkdir(), sys_rmdir();
+int sys_dup(), sys_pipe(), sys_times(), sys_prof(), sys_brk();
+int sys_setgid(), sys_getgid(), sys_signal(), sys_geteuid();
+int sys_getegid(), sys_acct(), sys_phys(), sys_lock(), sys_ioctl();
+int sys_fcntl(), sys_mpx(), sys_setpgid(), sys_ulimit();
+int sys_olduname(), sys_umask(), sys_chroot(), sys_ustat();
+int sys_dup2(), sys_getppid(), sys_getpgrp(), sys_setsid();
+int sys_sigaction(), sys_siggetmask(), sys_sigsetmask();
+int sys_setreuid(), sys_setregid(), sys_sigsuspend();
+int sys_sigpending(), sys_sethostname(), sys_setrlimit();
+int sys_getrlimit(), sys_getrusage(), sys_gettimeofday();
+int sys_settimeofday(), sys_getgroups(), sys_setgroups();
+int sys_oldselect(), sys_symlink(), sys_oldlstat(), sys_readlink();
+int sys_uselib(), sys_swapon(), sys_reboot(), sys_readdir();
+int sys_mmap(), sys_munmap(), sys_truncate(), sys_ftruncate();
+int sys_fchmod(), sys_fchown(), sys_getpriority();
+int sys_setpriority(), sys_profil(), sys_statfs(), sys_fstatfs();
+int sys_ioperm(), sys_socketcall(), sys_syslog(), sys_setitimer();
+int sys_getitimer(), sys_stat(), sys_lstat(), sys_fstat();
+int sys_uname(), sys_iopl(), sys_vhangup(), sys_idle(), sys_vm86();
+int sys_wait4(), sys_swapoff(), sys_ipc(), sys_sigreturn();
+int sys_fsync(), sys_clone(), sys_setdomainname(), sys_sysinfo();
+int sys_modify_ldt(), sys_adjtimex(), sys_mprotect();
+int sys_sigprocmask(), sys_create_module(), sys_init_module();
+int sys_delete_module(), sys_get_kernel_syms(), sys_quotactl();
+int sys_getpgid(), sys_fchdir(), sys_bdflush();
+int sys_sysfs(), sys_personality(), sys_afs_syscall();
+int sys_setfsuid(), sys_setfsgid(), sys_llseek();
+int sys_getdents(), sys_flock(), sys_msync();
+int sys_readv(), sys_writev(), sys_select();
+int sys_getsid(), sys_fdatasync(), sys_sysctl();
+int sys_mlock(), sys_munlock(), sys_mlockall(), sys_munlockall();
+int sys_sched_setparam(), sys_sched_getparam();
+int sys_sched_setscheduler(), sys_sched_getscheduler(), sys_sched_yield();
+int sys_sched_get_priority_max(), sys_sched_get_priority_min();
+int sys_sched_rr_get_interval(), sys_nanosleep(), sys_mremap();
+int sys_sendmsg(), sys_recvmsg();
+
+/* sys_socketcall subcalls */
+
+int sys_socket(), sys_bind(), sys_connect(), sys_listen();
+int sys_accept(), sys_getsockname(), sys_getpeername(), sys_socketpair();
+int sys_send(), sys_recv(), sys_sendto(), sys_recvfrom();
+int sys_shutdown(), sys_setsockopt(), sys_getsockopt();
+
+#ifndef ALPHA
+#define SYS_socket_subcall 180
+#define SYS_socket (SYS_socket_subcall + 1)
+#define SYS_bind (SYS_socket_subcall + 2)
+#define SYS_connect (SYS_socket_subcall + 3)
+#define SYS_listen (SYS_socket_subcall + 4)
+#define SYS_accept (SYS_socket_subcall + 5)
+#define SYS_getsockname (SYS_socket_subcall + 6)
+#define SYS_getpeername (SYS_socket_subcall + 7)
+#define SYS_socketpair (SYS_socket_subcall + 8)
+#define SYS_send (SYS_socket_subcall + 9)
+#define SYS_recv (SYS_socket_subcall + 10)
+#define SYS_sendto (SYS_socket_subcall + 11)
+#define SYS_recvfrom (SYS_socket_subcall + 12)
+#define SYS_shutdown (SYS_socket_subcall + 13)
+#define SYS_setsockopt (SYS_socket_subcall + 14)
+#define SYS_getsockopt (SYS_socket_subcall + 15)
+
+#define SYS_socket_nsubcalls 16
+#endif /* !ALPHA */
+
+/* sys_ipc subcalls */
+
+int sys_semget(), sys_semctl();
+int sys_msgsnd(), sys_msgrcv(), sys_msgget(), sys_msgctl();
+int sys_shmat(), sys_shmdt(), sys_shmget(), sys_shmctl();
+
+#ifndef ALPHA
+#define SYS_ipc_subcall 200
+#define SYS_semop (SYS_ipc_subcall + 1)
+#define SYS_semget (SYS_ipc_subcall + 2)
+#define SYS_semctl (SYS_ipc_subcall + 3)
+#define SYS_msgsnd (SYS_ipc_subcall + 11)
+#define SYS_msgrcv (SYS_ipc_subcall + 12)
+#define SYS_msgget (SYS_ipc_subcall + 13)
+#define SYS_msgctl (SYS_ipc_subcall + 14)
+#define SYS_shmat (SYS_ipc_subcall + 21)
+#define SYS_shmdt (SYS_ipc_subcall + 22)
+#define SYS_shmget (SYS_ipc_subcall + 23)
+#define SYS_shmctl (SYS_ipc_subcall + 24)
+
+#define SYS_ipc_nsubcalls 25
+#endif /* ALPHA */
+
+#ifdef ALPHA
+int osf_statfs(), osf_fstatfs(), sys_getpagesize(), sys_madvise();
+int sys_setpgrp(), sys_gethostname(), sys_getdtablesize(), sys_utimes();
+#endif
+
+int sys__llseek(), sys__newselect(), sys__sysctl(), sys_klog();
+int sys_prev_fstat(), sys_prev_lstat(), sys_prev_mknod(), sys_prev_stat();
+int sys_prev_ustat(), sys_syscall_flock(), sys_syscall_readv();
+int sys_syscall_writev();
+
+#include "syscall1.h"
diff --git a/linux/sparc/syscall1.h b/linux/sparc/syscall1.h
new file mode 100644
index 0000000..f6328a9
--- /dev/null
+++ b/linux/sparc/syscall1.h
@@ -0,0 +1,501 @@
+/*
+ * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
+ */
+
+#define SOLARIS_syscall 0
+#define SOLARIS_exit 1
+#define SOLARIS_fork 2
+#define SOLARIS_read 3
+#define SOLARIS_write 4
+#define SOLARIS_open 5
+#define SOLARIS_close 6
+#define SOLARIS_wait 7
+#define SOLARIS_creat 8
+#define SOLARIS_link 9
+#define SOLARIS_unlink 10
+#define SOLARIS_exec 11
+#define SOLARIS_chdir 12
+#define SOLARIS_time 13
+#define SOLARIS_mknod 14
+#define SOLARIS_chmod 15
+#define SOLARIS_chown 16
+#define SOLARIS_brk 17
+#define SOLARIS_stat 18
+#define SOLARIS_lseek 19
+#define SOLARIS_getpid 20
+#define SOLARIS_mount 21
+#define SOLARIS_umount 22
+#define SOLARIS_setuid 23
+#define SOLARIS_getuid 24
+#define SOLARIS_stime 25
+#define SOLARIS_ptrace 26
+#define SOLARIS_alarm 27
+#define SOLARIS_fstat 28
+#define SOLARIS_pause 29
+#define SOLARIS_utime 30
+#define SOLARIS_stty 31
+#define SOLARIS_gtty 32
+#define SOLARIS_access 33
+#define SOLARIS_nice 34
+#define SOLARIS_statfs 35
+#define SOLARIS_sync 36
+#define SOLARIS_kill 37
+#define SOLARIS_fstatfs 38
+#define SOLARIS_pgrpsys 39
+#define SOLARIS_xenix 40
+#define SOLARIS_dup 41
+#define SOLARIS_pipe 42
+#define SOLARIS_times 43
+#define SOLARIS_profil 44
+#define SOLARIS_plock 45
+#define SOLARIS_setgid 46
+#define SOLARIS_getgid 47
+#define SOLARIS_signal 48
+#define SOLARIS_msgsys 49
+#define SOLARIS_syssun 50
+#define SOLARIS_acct 51
+#define SOLARIS_shmsys 52
+#define SOLARIS_semsys 53
+#define SOLARIS_ioctl 54
+#define SOLARIS_uadmin 55
+#define SOLARIS_utssys 57
+#define SOLARIS_fdsync 58
+#define SOLARIS_execve 59
+#define SOLARIS_umask 60
+#define SOLARIS_chroot 61
+#define SOLARIS_fcntl 62
+#define SOLARIS_ulimit 63
+#define SOLARIS_rmdir 79
+#define SOLARIS_mkdir 80
+#define SOLARIS_getdents 81
+#define SOLARIS_sysfs 84
+#define SOLARIS_getmsg 85
+#define SOLARIS_putmsg 86
+#define SOLARIS_poll 87
+#define SOLARIS_lstat 88
+#define SOLARIS_symlink 89
+#define SOLARIS_readlink 90
+#define SOLARIS_setgroups 91
+#define SOLARIS_getgroups 92
+#define SOLARIS_fchmod 93
+#define SOLARIS_fchown 94
+#define SOLARIS_sigprocmask 95
+#define SOLARIS_sigsuspend 96
+#define SOLARIS_sigaltstack 97
+#define SOLARIS_sigaction 98
+#define SOLARIS_sigpending 99
+#define SOLARIS_context 100
+#define SOLARIS_evsys 101
+#define SOLARIS_evtrapret 102
+#define SOLARIS_statvfs 103
+#define SOLARIS_fstatvfs 104
+#define SOLARIS_nfssys 106
+#define SOLARIS_waitsys 107
+#define SOLARIS_sigsendsys 108
+#define SOLARIS_hrtsys 109
+#define SOLARIS_acancel 110
+#define SOLARIS_async 111
+#define SOLARIS_priocntlsys 112
+#define SOLARIS_pathconf 113
+#define SOLARIS_mincore 114
+#define SOLARIS_mmap 115
+#define SOLARIS_mprotect 116
+#define SOLARIS_munmap 117
+#define SOLARIS_fpathconf 118
+#define SOLARIS_vfork 119
+#define SOLARIS_fchdir 120
+#define SOLARIS_readv 121
+#define SOLARIS_writev 122
+#define SOLARIS_xstat 123
+#define SOLARIS_lxstat 124
+#define SOLARIS_fxstat 125
+#define SOLARIS_xmknod 126
+#define SOLARIS_clocal 127
+#define SOLARIS_setrlimit 128
+#define SOLARIS_getrlimit 129
+#define SOLARIS_lchown 130
+#define SOLARIS_memcntl 131
+#define SOLARIS_getpmsg 132
+#define SOLARIS_putpmsg 133
+#define SOLARIS_rename 134
+#define SOLARIS_uname 135
+#define SOLARIS_setegid 136
+#define SOLARIS_sysconfig 137
+#define SOLARIS_adjtime 138
+#define SOLARIS_systeminfo 139
+#define SOLARIS_seteuid 141
+#define SOLARIS_vtrace 142
+#define SOLARIS_fork1 143
+#define SOLARIS_sigtimedwait 144
+#define SOLARIS_lwp_info 145
+#define SOLARIS_yield 146
+#define SOLARIS_lwp_sema_wait 147
+#define SOLARIS_lwp_sema_post 148
+#define SOLARIS_modctl 152
+#define SOLARIS_fchroot 153
+#define SOLARIS_utimes 154
+#define SOLARIS_vhangup 155
+#define SOLARIS_gettimeofday 156
+#define SOLARIS_getitimer 157
+#define SOLARIS_setitimer 158
+#define SOLARIS_lwp_create 159
+#define SOLARIS_lwp_exit 160
+#define SOLARIS_lwp_suspend 161
+#define SOLARIS_lwp_continue 162
+#define SOLARIS_lwp_kill 163
+#define SOLARIS_lwp_self 164
+#define SOLARIS_lwp_setprivate 165
+#define SOLARIS_lwp_getprivate 166
+#define SOLARIS_lwp_wait 167
+#define SOLARIS_lwp_mutex_unlock 168
+#define SOLARIS_lwp_mutex_lock 169
+#define SOLARIS_lwp_cond_wait 170
+#define SOLARIS_lwp_cond_signal 171
+#define SOLARIS_lwp_cond_broadcast 172
+#define SOLARIS_pread 173
+#define SOLARIS_pwrite 174
+#define SOLARIS_llseek 175
+#define SOLARIS_inst_sync 176
+#define SOLARIS_kaio 178
+#define SOLARIS_tsolsys 184
+#define SOLARIS_acl 185
+#define SOLARIS_auditsys 186
+#define SOLARIS_processor_bind 187
+#define SOLARIS_processor_info 188
+#define SOLARIS_p_online 189
+#define SOLARIS_sigqueue 190
+#define SOLARIS_clock_gettime 191
+#define SOLARIS_clock_settime 192
+#define SOLARIS_clock_getres 193
+#define SOLARIS_timer_create 194
+#define SOLARIS_timer_delete 195
+#define SOLARIS_timer_settime 196
+#define SOLARIS_timer_gettime 197
+#define SOLARIS_timer_getoverrun 198
+#define SOLARIS_nanosleep 199
+#define SOLARIS_facl 200
+#define SOLARIS_door 201
+#define SOLARIS_setreuid 202
+#define SOLARIS_setregid 203
+#define SOLARIS_signotifywait 210
+#define SOLARIS_lwp_sigredirect 211
+#define SOLARIS_lwp_alarm 212
+
+#include "dummy2.h"
+
+extern int solaris_syscall();
+extern int solaris_exit();
+extern int solaris_fork();
+extern int solaris_read();
+extern int solaris_write();
+extern int solaris_open();
+extern int solaris_close();
+extern int solaris_wait();
+extern int solaris_creat();
+extern int solaris_link();
+extern int solaris_unlink();
+extern int solaris_exec();
+extern int solaris_chdir();
+extern int solaris_time();
+extern int solaris_mknod();
+extern int solaris_chmod();
+extern int solaris_chown();
+extern int solaris_brk();
+extern int solaris_stat();
+extern int solaris_lseek();
+extern int solaris_getpid();
+extern int solaris_mount();
+extern int solaris_umount();
+extern int solaris_setuid();
+extern int solaris_getuid();
+extern int solaris_stime();
+extern int solaris_ptrace();
+extern int solaris_alarm();
+extern int solaris_fstat();
+extern int solaris_pause();
+extern int solaris_utime();
+extern int solaris_stty();
+extern int solaris_gtty();
+extern int solaris_access();
+extern int solaris_nice();
+extern int solaris_statfs();
+extern int solaris_sync();
+extern int solaris_kill();
+extern int solaris_fstatfs();
+extern int solaris_pgrpsys();
+extern int solaris_setpgrp();
+extern int solaris_xenix();
+extern int solaris_syssgi();
+extern int solaris_dup();
+extern int solaris_pipe();
+extern int solaris_times();
+extern int solaris_profil();
+extern int solaris_plock();
+extern int solaris_setgid();
+extern int solaris_getgid();
+extern int solaris_sigcall();
+extern int solaris_msgsys();
+extern int solaris_syssun();
+extern int solaris_sysi86();
+extern int solaris_sysmips();
+extern int solaris_sysmachine();
+extern int solaris_acct();
+extern int solaris_shmsys();
+extern int solaris_semsys();
+extern int solaris_ioctl();
+extern int solaris_uadmin();
+extern int solaris_utssys();
+extern int solaris_fdsync();
+extern int solaris_execve();
+extern int solaris_umask();
+extern int solaris_chroot();
+extern int solaris_fcntl();
+extern int solaris_ulimit();
+extern int solaris_rmdir();
+extern int solaris_mkdir();
+extern int solaris_getdents();
+extern int solaris_sysfs();
+extern int solaris_getmsg();
+extern int solaris_putmsg();
+extern int solaris_poll();
+extern int solaris_lstat();
+extern int solaris_symlink();
+extern int solaris_readlink();
+extern int solaris_setgroups();
+extern int solaris_getgroups();
+extern int solaris_fchmod();
+extern int solaris_fchown();
+extern int solaris_sigprocmask();
+extern int solaris_sigsuspend();
+extern int solaris_sigaltstack();
+extern int solaris_sigaction();
+extern int solaris_spcall();
+extern int solaris_context();
+extern int solaris_evsys();
+extern int solaris_evtrapret();
+extern int solaris_statvfs();
+extern int solaris_fstatvfs();
+extern int solaris_nfssys();
+extern int solaris_waitid();
+extern int solaris_sigsendsys();
+extern int solaris_hrtsys();
+extern int solaris_acancel();
+extern int solaris_async();
+extern int solaris_priocntlsys();
+extern int solaris_pathconf();
+extern int solaris_mincore();
+extern int solaris_mmap();
+extern int solaris_mprotect();
+extern int solaris_munmap();
+extern int solaris_fpathconf();
+extern int solaris_vfork();
+extern int solaris_fchdir();
+extern int solaris_readv();
+extern int solaris_writev();
+extern int solaris_xstat();
+extern int solaris_lxstat();
+extern int solaris_fxstat();
+extern int solaris_xmknod();
+extern int solaris_clocal();
+extern int solaris_setrlimit();
+extern int solaris_getrlimit();
+extern int solaris_lchown();
+extern int solaris_memcntl();
+extern int solaris_getpmsg();
+extern int solaris_putpmsg();
+extern int solaris_rename();
+extern int solaris_uname();
+extern int solaris_setegid();
+extern int solaris_sysconfig();
+extern int solaris_adjtime();
+extern int solaris_sysinfo();
+extern int solaris_seteuid();
+extern int solaris_vtrace();
+extern int solaris_fork1();
+extern int solaris_sigtimedwait();
+extern int solaris_lwp_info();
+extern int solaris_yield();
+extern int solaris_lwp_sema_wait();
+extern int solaris_lwp_sema_post();
+extern int solaris_modctl();
+extern int solaris_fchroot();
+extern int solaris_utimes();
+extern int solaris_vhangup();
+extern int solaris_gettimeofday();
+extern int solaris_getitimer();
+extern int solaris_setitimer();
+extern int solaris_lwp_create();
+extern int solaris_lwp_exit();
+extern int solaris_lwp_suspend();
+extern int solaris_lwp_continue();
+extern int solaris_lwp_kill();
+extern int solaris_lwp_self();
+extern int solaris_lwp_setprivate();
+extern int solaris_lwp_getprivate();
+extern int solaris_lwp_wait();
+extern int solaris_lwp_mutex_unlock();
+extern int solaris_lwp_mutex_lock();
+extern int solaris_lwp_cond_wait();
+extern int solaris_lwp_cond_signal();
+extern int solaris_lwp_cond_broadcast();
+extern int solaris_pread();
+extern int solaris_pwrite();
+extern int solaris_llseek();
+extern int solaris_inst_sync();
+extern int solaris_auditsys();
+extern int solaris_processor_bind();
+extern int solaris_processor_info();
+extern int solaris_p_online();
+extern int solaris_sigqueue();
+extern int solaris_clock_gettime();
+extern int solaris_clock_settime();
+extern int solaris_clock_getres();
+extern int solaris_timer_create();
+extern int solaris_timer_delete();
+extern int solaris_timer_settime();
+extern int solaris_timer_gettime();
+extern int solaris_timer_getoverrun();
+extern int solaris_nanosleep();
+
+/* solaris_pgrpsys subcalls */
+
+extern int solaris_getpgrp(), solaris_setpgrp(), solaris_getsid();
+extern int solaris_setsid(), solaris_getpgid(), solaris_setpgid();
+
+#define SOLARIS_pgrpsys_subcall 300
+#define SOLARIS_getpgrp (SOLARIS_pgrpsys_subcall + 0)
+#define SOLARIS_setpgrp (SOLARIS_pgrpsys_subcall + 1)
+#define SOLARIS_getsid (SOLARIS_pgrpsys_subcall + 2)
+#define SOLARIS_setsid (SOLARIS_pgrpsys_subcall + 3)
+#define SOLARIS_getpgid (SOLARIS_pgrpsys_subcall + 4)
+#define SOLARIS_setpgid (SOLARIS_pgrpsys_subcall + 5)
+
+#define SOLARIS_pgrpsys_nsubcalls 6
+
+/* solaris_sigcall subcalls */
+
+#undef SOLARIS_signal
+#define SOLARIS_sigcall 48
+
+extern int solaris_signal(), solaris_sigset(), solaris_sighold();
+extern int solaris_sigrelse(), solaris_sigignore(), solaris_sigpause();
+
+#define SOLARIS_sigcall_subcall 310
+#define SOLARIS_signal (SOLARIS_sigcall_subcall + 0)
+#define SOLARIS_sigset (SOLARIS_sigcall_subcall + 1)
+#define SOLARIS_sighold (SOLARIS_sigcall_subcall + 2)
+#define SOLARIS_sigrelse (SOLARIS_sigcall_subcall + 3)
+#define SOLARIS_sigignore (SOLARIS_sigcall_subcall + 4)
+#define SOLARIS_sigpause (SOLARIS_sigcall_subcall + 5)
+
+#define SOLARIS_sigcall_nsubcalls 6
+
+/* msgsys subcalls */
+
+extern int solaris_msgget(), solaris_msgctl(), solaris_msgrcv(), solaris_msgsnd();
+
+#define SOLARIS_msgsys_subcall 320
+#define SOLARIS_msgget (SOLARIS_msgsys_subcall + 0)
+#define SOLARIS_msgctl (SOLARIS_msgsys_subcall + 1)
+#define SOLARIS_msgrcv (SOLARIS_msgsys_subcall + 2)
+#define SOLARIS_msgsnd (SOLARIS_msgsys_subcall + 3)
+
+#define SOLARIS_msgsys_nsubcalls 4
+
+/* shmsys subcalls */
+
+extern int solaris_shmat(), solaris_shmctl(), solaris_shmdt(), solaris_shmget();
+
+#define SOLARIS_shmsys_subcall 330
+#define SOLARIS_shmat (SOLARIS_shmsys_subcall + 0)
+#define SOLARIS_shmctl (SOLARIS_shmsys_subcall + 1)
+#define SOLARIS_shmdt (SOLARIS_shmsys_subcall + 2)
+#define SOLARIS_shmget (SOLARIS_shmsys_subcall + 3)
+
+#define SOLARIS_shmsys_nsubcalls 4
+
+/* semsys subcalls */
+
+extern int solaris_semctl(), solaris_semget(), solaris_semop();
+
+#define SOLARIS_semsys_subcall 340
+#define SOLARIS_semctl (SOLARIS_semsys_subcall + 0)
+#define SOLARIS_semget (SOLARIS_semsys_subcall + 1)
+#define SOLARIS_semop (SOLARIS_semsys_subcall + 2)
+
+#define SOLARIS_semsys_nsubcalls 3
+
+/* utssys subcalls */
+
+extern int solaris_olduname(), solaris_ustat(), solaris_fusers();
+
+#define SOLARIS_utssys_subcall 350
+
+#define SOLARIS_olduname (SOLARIS_utssys_subcall + 0)
+ /* 1 is unused */
+#define SOLARIS_ustat (SOLARIS_utssys_subcall + 2)
+#define SOLARIS_fusers (SOLARIS_utssys_subcall + 3)
+
+#define SOLARIS_utssys_nsubcalls 4
+
+/* sysfs subcalls */
+
+extern int solaris_sysfs1(), solaris_sysfs2(), solaris_sysfs3();
+
+#define SOLARIS_sysfs_subcall 360
+ /* 0 is unused */
+#define SOLARIS_sysfs1 (SOLARIS_sysfs_subcall + 1)
+#define SOLARIS_sysfs2 (SOLARIS_sysfs_subcall + 2)
+#define SOLARIS_sysfs3 (SOLARIS_sysfs_subcall + 3)
+
+#define SOLARIS_sysfs_nsubcalls 4
+
+/* solaris_spcall subcalls */
+
+#undef SOLARIS_sigpending
+#define SOLARIS_spcall 99
+
+extern int solaris_sigpending(), solaris_sigfillset();
+
+#define SOLARIS_spcall_subcall 370
+ /* 0 is unused */
+#define SOLARIS_sigpending (SOLARIS_spcall_subcall + 1)
+#define SOLARIS_sigfillset (SOLARIS_spcall_subcall + 2)
+
+#define SOLARIS_spcall_nsubcalls 3
+
+/* solaris_context subcalls */
+
+extern int solaris_getcontext(), solaris_setcontext();
+
+#define SOLARIS_context_subcall 380
+#define SOLARIS_getcontext (SOLARIS_context_subcall + 0)
+#define SOLARIS_setcontext (SOLARIS_context_subcall + 1)
+
+#define SOLARIS_context_nsubcalls 2
+
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
new file mode 100644
index 0000000..4be6d5e
--- /dev/null
+++ b/linux/sparc/syscallent.h
@@ -0,0 +1,357 @@
+ { 1, 0, sys_setup, "setup" }, /* 0 */
+ { 1, TP, sys_exit, "exit" }, /* 1 */
+ { 0, TP, sys_fork, "fork" }, /* 2 */
+ { 3, 0, sys_read, "read" }, /* 3 */
+ { 3, 0, sys_write, "write" }, /* 4 */
+ { 3, TF, sys_open, "open" }, /* 5 */
+ { 1, 0, sys_close, "close" }, /* 6 */
+ { 4, TP, sys_wait4, "wait4" }, /* 7 */
+ { 2, TF, sys_creat, "creat" }, /* 8 */
+ { 2, TF, sys_link, "link" }, /* 9 */
+ { 1, TF, sys_unlink, "unlink" }, /* 10 */
+ { 2, TF|TP, sys_execv, "execv" }, /* 11 */
+ { 1, TF, sys_chdir, "chdir" }, /* 12 */
+ { 0, 0, printargs, "sunos-time!"}, /* 13 */
+ { 3, TF, sys_mknod, "mknod" }, /* 14 */
+ { 2, TF, sys_chmod, "chmod" }, /* 15 */
+ { 3, TF, sys_chown, "chown" }, /* 16 */
+ { 1, 0, sys_brk, "brk" }, /* 17 */
+ { 2, 0, printargs, "SYS_18" }, /* 18 */
+ { 3, 0, sys_lseek, "lseek" }, /* 19 */
+ { 0, 0, sys_getpid, "getpid" }, /* 20 */
+ { 0, 0, printargs, "SYS_21" }, /* 21 */
+ { 1, TF, printargs, "SYS_22" }, /* 22 */
+ { 1, 0, sys_setuid, "setuid" }, /* 23 */
+ { 0, 0, sys_getuid, "getuid" }, /* 24 */
+ { 1, 0, printargs, "SYS_25" }, /* 25 */
+ { 5, 0, sys_ptrace, "ptrace" }, /* 26 */
+ { 1, 0, sys_alarm, "alarm" }, /* 27 */
+ { 2, 0, printargs, "SYS_28" }, /* 28 */
+ { 0, TS, sys_pause, "pause" }, /* 29 */
+ { 2, TF, sys_utime, "utime" }, /* 30 */
+ { 2, 0, sys_stty, "stty" }, /* 31 */
+ { 2, 0, sys_gtty, "gtty" }, /* 32 */
+ { 2, TF, sys_access, "access" }, /* 33 */
+ { 1, 0, sys_nice, "nice" }, /* 34 */
+ { 1, 0, sys_ftime, "ftime" }, /* 35 */
+ { 0, 0, sys_sync, "sync" }, /* 36 */
+ { 2, TS, sys_kill, "kill" }, /* 37 */
+ { 2, TF, sys_stat, "stat" }, /* 38 */
+ { 2, 0, printargs, "SYS_39" }, /* 39 */
+ { 2, TF, sys_lstat, "lstat" }, /* 40 */
+ { 2, 0, sys_dup, "dup" }, /* 41 */
+ { 0, 0, sys_pipe, "pipe" }, /* 42 */
+ { 1, 0, sys_times, "times" }, /* 43 */
+ { 4, 0, sys_profil, "profil" }, /* 44 */
+ { 0, 0, printargs, "SYS_45" }, /* 45 */
+ { 1, 0, sys_setgid, "setgid" }, /* 46 */
+ { 0, 0, sys_getgid, "getgid" }, /* 47 */
+ { 2, 0, sys_signal, "signal" }, /* 48 */
+ { 0, 0, sys_geteuid, "geteuid" }, /* 49 */
+ { 0, 0, sys_getegid, "getegid" }, /* 50 */
+ { 1, 0, sys_acct, "acct" }, /* 51 */
+ { 0, 0, printargs, "SYS_52" }, /* 52 */
+ { 4, 0, sys_mctl, "mctl" }, /* 53 */
+ { 3, 0, sys_ioctl, "ioctl" }, /* 54 */
+ { 2, 0, sys_reboot, "reboot" }, /* 55 */
+ { 3, 0, printargs, "SYS_56" }, /* 56 */
+ { 2, TF, sys_symlink, "symlink" }, /* 57 */
+ { 3, TF, sys_readlink, "readlink" }, /* 58 */
+ { 3, TF|TP, sys_execve, "execve" }, /* 59 */
+ { 1, 0, sys_umask, "umask" }, /* 60 */
+ { 1, TF, sys_chroot, "chroot" }, /* 61 */
+ { 2, 0, sys_fstat, "fstat" }, /* 62 */
+ { 0, 0, printargs, "SYS_63" }, /* 63 */
+ { 1, 0, sys_getpagesize,"getpagesize" }, /* 64 */
+ { 3, 0, sys_msync, "msync" }, /* 65 */
+ { 0, TP, printargs, "SYS_66" }, /* 66 */
+ { 0, 0, printargs, "SYS_67" }, /* 67 */
+ { 0, 0, printargs, "SYS_68" }, /* 68 */
+ { 1, 0, sys_sbrk, "sbrk" }, /* 69 */
+ { 1, 0, printargs, "sstk" }, /* 70 */
+ { 6, 0, sys_mmap, "mmap" }, /* 71 */
+ { 1, 0, printargs, "vadvise" }, /* 72 */
+ { 2, 0, sys_munmap, "munmap" }, /* 73 */
+ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
+ { 3, 0, printargs, "madvise" }, /* 75 */
+ { 1, 0, sys_vhangup, "vhangup" }, /* 76 */
+ { 2, 0, printargs, "SYS_77" }, /* 77 */
+ { 3, 0, sys_mincore, "mincore" }, /* 78 */
+ { 2, 0, sys_getgroups, "getgroups" }, /* 79 */
+ { 2, 0, sys_setgroups, "setgroups" }, /* 80 */
+ { 1, 0, sys_getpgrp, "getpgrp" }, /* 81 */
+ { 2, 0, sys_setpgrp, "setpgrp" }, /* 82 */
+ { 3, 0, sys_setitimer, "setitimer" }, /* 83 */
+ { 0, 0, printargs, "SYS_84" }, /* 84 */
+ { 1, TF, sys_swapon, "swapon" }, /* 85 */
+ { 2, 0, sys_getitimer, "getitimer" }, /* 86 */
+ { 2, 0, sys_gethostname,"gethostname" }, /* 87 */
+ { 2, 0, sys_sethostname,"sethostname" }, /* 88 */
+ { 0, 0, sys_getdtablesize,"getdtablesize" }, /* 89 */
+ { 2, 0, sys_dup2, "dup2" }, /* 90 */
+ { 2, 0, printargs, "getdopt" }, /* 91 */
+ { 3, 0, sys_fcntl, "fcntl" }, /* 92 */
+ { 5, 0, sys_select, "select" }, /* 93 */
+ { 2, 0, printargs, "setdopt" }, /* 94 */
+ { 1, 0, sys_fsync, "fsync" }, /* 95 */
+ { 3, 0, sys_setpriority,"setpriority" }, /* 96 */
+ { 3, TN, sys_socket, "socket" }, /* 97 */
+ { 3, TN, sys_connect, "connect" }, /* 98 */
+ { 3, TN, sys_accept, "accept" }, /* 99 */
+ { 2, 0, sys_getpriority,"getpriority" }, /* 100 */
+ { 4, TN, sys_send, "send" }, /* 101 */
+ { 4, TN, sys_recv, "recv" }, /* 102 */
+ { 0, 0, printargs, "SYS_103" }, /* 103 */
+ { 3, TN, sys_bind, "bind" }, /* 104 */
+ { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */
+ { 2, TN, sys_listen, "listen" }, /* 106 */
+ { 2, 0, printargs, "SYS_107" }, /* 107 */
+ { 3, TS, printargs, "sigvec" }, /* 108 */
+ { 1, TS, sys_sigblock, "sigblock" }, /* 109 */
+ { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 110 */
+ { 1, TS, printargs, "sigpause" }, /* 111 */
+ { 2, TS, printargs, "sigstack" }, /* 112 */
+ { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */
+ { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */
+ { 3, 0, printargs, "vtrace" }, /* 115 */
+ { 2, 0, sys_gettimeofday,"gettimeofday" }, /* 116 */
+ { 2, 0, sys_getrusage, "getrusage" }, /* 117 */
+ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */
+ { 0, 0, printargs, "SYS_119" }, /* 119 */
+ { 3, 0, sys_readv, "readv" }, /* 120 */
+ { 3, 0, sys_writev, "writev" }, /* 121 */
+ { 2, 0, sys_settimeofday,"settimeofday" }, /* 122 */
+ { 3, 0, sys_fchown, "fchown" }, /* 123 */
+ { 2, 0, sys_fchmod, "fchmod" }, /* 124 */
+ { 6, TN, sys_recvfrom, "recvfrom" }, /* 125 */
+ { 2, 0, sys_setreuid, "setreuid" }, /* 126 */
+ { 2, 0, sys_setregid, "setregid" }, /* 127 */
+ { 2, TF, sys_rename, "rename" }, /* 128 */
+ { 2, TF, sys_truncate, "truncate" }, /* 129 */
+ { 2, 0, sys_ftruncate, "ftruncate" }, /* 130 */
+ { 2, 0, sys_flock, "flock" }, /* 131 */
+ { 0, 0, printargs, "SYS_132" }, /* 132 */
+ { 6, TN, sys_sendto, "sendto" }, /* 133 */
+ { 2, TN, sys_shutdown, "shutdown" }, /* 134 */
+ { 5, TN, sys_socketpair, "socketpair" }, /* 135 */
+ { 2, TF, sys_mkdir, "mkdir" }, /* 136 */
+ { 1, TF, sys_rmdir, "rmdir" }, /* 137 */
+ { 2, TF, sys_utimes, "utimes" }, /* 138 */
+ { 0, TS, printargs, "SYS_139" }, /* 139 */
+ { 2, 0, sys_adjtime, "adjtime" }, /* 140 */
+ { 3, TN, sys_getpeername,"getpeername" }, /* 141 */
+ { 2, 0, sys_gethostid, "gethostid" }, /* 142 */
+ { 0, 0, printargs, "SYS_143" }, /* 143 */
+ { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */
+ { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */
+ { 2, TS, sys_killpg, "killpg" }, /* 146 */
+ { 0, 0, printargs, "SYS_147" }, /* 147 */
+ { 0, 0, printargs, "SYS_148" }, /* 148 */
+ { 0, 0, printargs, "SYS_149" }, /* 149 */
+ { 3, TN, sys_getsockname,"getsockname" }, /* 150 */
+ { 4, TN, sys_getmsg, "getmsg" }, /* 151 */
+ { 4, TN, sys_putmsg, "putmsg" }, /* 152 */
+ { 4, TN, printargs, "poll" }, /* 153 */
+ { 0, 0, printargs, "SYS_154" }, /* 154 */
+ { 1, 0, printargs, "nfssvc" }, /* 155 */
+ { 4, 0, printargs, "getdirentries" }, /* 156 */
+ { 2, TF, sys_statfs, "statfs" }, /* 157 */
+ { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */
+ { 1, TF, sys_umount, "umount" }, /* 159 */
+ { 0, 0, printargs, "async_daemon" }, /* 160 */
+ { 2, 0, printargs, "getfh" }, /* 161 */
+ { 2, 0, printargs, "getdomainname" }, /* 162 */
+ { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */
+ { 5, 0, printargs, "SYS_164" }, /* 164 */
+ { 4, 0, sys_quotactl, "quotactl" }, /* 165 */
+ { 2, 0, printargs, "exportfs" }, /* 166 */
+ { 4, TF, sys_mount, "mount" }, /* 167 */
+ { 2, 0, sys_ustat, "ustat" }, /* 168 */
+ { 5, TI, printargs, "semsys" }, /* 169 */
+ { 5, TI, printargs, "msgsys" }, /* 170 */
+ { 5, TI, printargs, "shmsys" }, /* 171 */
+ { 4, 0, printargs, "auditsys" }, /* 172 */
+ { 5, 0, printargs, "rfssys" }, /* 173 */
+ { 3, 0, sys_getdents, "getdents" }, /* 174 */
+ { 1, 0, sys_setsid, "setsid" }, /* 175 */
+ { 1, 0, sys_fchdir, "fchdir" }, /* 176 */
+ { 1, 0, sys_fchroot, "fchroot" }, /* 177 */
+ { 2, 0, printargs, "vpixsys" }, /* 178 */
+ { 6, 0, printargs, "aioread" }, /* 179 */
+ { 6, 0, printargs, "aiowrite" }, /* 180 */
+ { 1, 0, printargs, "aiowait" }, /* 181 */
+ { 1, 0, printargs, "aiocancel" }, /* 182 */
+ { 1, TS, sys_sigpending, "sigpending" }, /* 183 */
+ { 0, 0, printargs, "SYS_184" }, /* 184 */
+ { 2, 0, sys_setpgid, "setpgid" }, /* 185 */
+ { 2, TF, printargs, "pathconf" }, /* 186 */
+ { 2, 0, printargs, "fpathconf" }, /* 187 */
+ { 1, 0, printargs, "sysconf" }, /* 188 */
+ { 1, 0, sys_uname, "uname" }, /* 189 */
+
+ /* Linux only system calls */
+
+ { 4, 0, sys_init_module,"init_module" }, /* 190 */
+ { 1, 0, sys_personality,"personality" }, /* 191 */
+ { 0, 0, sys_prof, "prof" }, /* 192 */
+ { 0, 0, sys_break, "break" }, /* 193 */
+ { 0, 0, sys_lock, "lock" }, /* 194 */
+ { 0, 0, sys_mpx, "mpx" }, /* 195 */
+ { 2, 0, sys_ulimit, "ulimit" }, /* 196 */
+ { 0, 0, sys_getppid, "getppid" }, /* 197 */
+ { 3, TS, sys_sigaction, "sigaction" }, /* 198 */
+ { 5, 0, printargs, "sgetmask" }, /* 199 */
+ { 5, 0, printargs, "ssetmask" }, /* 200 */
+ { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 201 */
+ { 2, TF, sys_oldlstat, "oldlstat" }, /* 202 */
+ { 1, TF, sys_uselib, "uselib" }, /* 203 */
+ { 3, 0, sys_readdir, "readdir" }, /* 204 */
+ { 3, 0, sys_ioperm, "ioperm" }, /* 205 */
+ { 2, 0, sys_socketcall, "socketcall" }, /* 206 */
+ { 3, 0, sys_syslog, "syslog" }, /* 207 */
+ { 1, 0, sys_olduname, "olduname" }, /* 208 */
+ { 1, 0, sys_iopl, "iopl" }, /* 209 */
+ { 0, 0, sys_idle, "idle" }, /* 210 */
+ { 1, 0, sys_vm86, "vm86" }, /* 211 */
+ { 3, TP, sys_waitpid, "waitpid" }, /* 212 */
+ { 1, 0, sys_swapoff, "swapoff" }, /* 213 */
+ { 1, 0, sys_sysinfo, "sysinfo" }, /* 214 */
+ { 5, 0, sys_ipc, "ipc" }, /* 215 */
+ { 1, TS, sys_sigreturn, "sigreturn" }, /* 216 */
+ { 2, TP, sys_clone, "clone" }, /* 217 */
+ { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 218 */
+ { 1, 0, sys_adjtimex, "adjtimex" }, /* 219 */
+ { 3, TS, sys_sigprocmask,"sigprocmask" }, /* 220 */
+ { 2, 0, sys_create_module,"create_module" }, /* 221 */
+ { 1, 0, sys_delete_module,"delete_module" },
+ { 1, 0, sys_get_kernel_syms,"get_kernel_syms"}, /* 223 */
+ { 1, 0, sys_getpgid, "getpgid" }, /* 224 */
+ { 0, 0, sys_bdflush, "bdflush" }, /* 225 */
+ { 3, 0, sys_sysfs, "sysfs" }, /* 226 */
+ { 5, 0, sys_afs_syscall,"afs_syscall" }, /* 227 */
+ { 1, 0, sys_setfsuid, "setfsuid" }, /* 228 */
+ { 1, 0, sys_setfsgid, "setfsgid" }, /* 229 */
+ { 5, 0, printargs, "_newselect" }, /* 230 */
+ { 1, 0, sys_time, "time" }, /* 231 */
+ { 2, TF, sys_oldstat, "oldstat" }, /* 232 */
+ { 1, 0, sys_stime, "stime" }, /* 233 */
+ { 2, 0, sys_oldfstat, "oldfstat" }, /* 234 */
+ { 0, 0, sys_phys, "phys" }, /* 235 */
+ { 5, 0, printargs, "_llseek" }, /* 236 */
+ { 5, 0, sys_mlock, "mlock" }, /* 237 */
+ { 5, 0, sys_munlock, "munlock" }, /* 238 */
+ { 5, 0, sys_mlockall, "mlockall" }, /* 239 */
+ { 5, 0, sys_munlockall, "munlockall" }, /* 240 */
+ { 5, 0, sys_sched_setparam,"sched_setparam"}, /* 241 */
+ { 5, 0, sys_sched_getparam,"sched_getparam"}, /* 242 */
+{ 5, 0, sys_sched_setscheduler,"sched_setscheduler"}, /* 243 */
+{ 5, 0, sys_sched_getscheduler,"sched_getscheduler"}, /* 244 */
+{ 5, 0, sys_sched_yield,"sched_yield" }, /* 245 */
+{ 5, 0,sys_sched_get_priority_max,"sched_get_priority_max"}, /* 246 */
+{ 5, 0,sys_sched_get_priority_min,"sched_get_priority_min"}, /* 247 */
+{ 5, 0,sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 248 */
+ { 5, 0, sys_nanosleep, "nanosleep" }, /* 249 */
+ { 5, 0, sys_mremap, "mremap" }, /* 250 */
+ { 5, 0, sys_sysctl, "_sysctl" }, /* 251 */
+ { 5, 0, sys_getsid, "getsid" }, /* 252 */
+ { 5, 0, sys_fdatasync, "fdatasync" }, /* 253 */
+ { 5, 0, printargs, "SYS_254" }, /* 254 */
+ { 5, 0, printargs, "SYS_255" }, /* 255 */
+ { 5, 0, printargs, "SYS_256" }, /* 256 */
+ { 5, 0, printargs, "SYS_257" }, /* 257 */
+ { 5, 0, printargs, "SYS_258" }, /* 258 */
+ { 5, 0, printargs, "SYS_259" }, /* 259 */
+ { 5, 0, printargs, "SYS_260" }, /* 260 */
+ { 5, 0, printargs, "SYS_261" }, /* 261 */
+ { 5, 0, printargs, "SYS_262" }, /* 262 */
+ { 5, 0, printargs, "SYS_263" }, /* 263 */
+ { 5, 0, printargs, "SYS_264" }, /* 264 */
+ { 5, 0, printargs, "SYS_265" }, /* 265 */
+ { 5, 0, printargs, "SYS_266" }, /* 266 */
+ { 5, 0, printargs, "SYS_267" }, /* 267 */
+ { 5, 0, printargs, "SYS_268" }, /* 268 */
+ { 5, 0, printargs, "SYS_269" }, /* 269 */
+ { 5, 0, printargs, "SYS_270" }, /* 270 */
+ { 5, 0, printargs, "SYS_271" }, /* 271 */
+ { 5, 0, printargs, "SYS_272" }, /* 272 */
+ { 5, 0, printargs, "SYS_273" }, /* 273 */
+ { 5, 0, printargs, "SYS_274" }, /* 274 */
+ { 5, 0, printargs, "SYS_275" }, /* 275 */
+ { 5, 0, printargs, "SYS_276" }, /* 276 */
+ { 5, 0, printargs, "SYS_277" }, /* 277 */
+ { 5, 0, printargs, "SYS_278" }, /* 278 */
+ { 5, 0, printargs, "SYS_279" }, /* 279 */
+ { 5, 0, printargs, "SYS_280" }, /* 280 */
+ { 5, 0, printargs, "SYS_281" }, /* 281 */
+ { 5, 0, printargs, "SYS_282" }, /* 282 */
+ { 5, 0, printargs, "SYS_283" }, /* 283 */
+ { 5, 0, printargs, "SYS_284" }, /* 284 */
+ { 5, 0, printargs, "SYS_285" }, /* 285 */
+ { 5, 0, printargs, "SYS_286" }, /* 286 */
+ { 5, 0, printargs, "SYS_287" }, /* 287 */
+ { 5, 0, printargs, "SYS_288" }, /* 288 */
+ { 5, 0, printargs, "SYS_289" }, /* 289 */
+ { 5, 0, printargs, "SYS_290" }, /* 290 */
+ { 5, 0, printargs, "SYS_291" }, /* 291 */
+ { 5, 0, printargs, "SYS_292" }, /* 292 */
+ { 5, 0, printargs, "SYS_293" }, /* 293 */
+ { 5, 0, printargs, "SYS_294" }, /* 294 */
+ { 5, 0, printargs, "SYS_295" }, /* 295 */
+ { 5, 0, printargs, "SYS_296" }, /* 296 */
+ { 5, 0, printargs, "SYS_297" }, /* 297 */
+ { 5, 0, printargs, "SYS_298" }, /* 298 */
+ { 5, 0, printargs, "SYS_299" }, /* 299 */
+ { 5, 0, printargs, "SYS_300" }, /* 300 */
+ { 5, 0, printargs, "SYS_301" }, /* 301 */
+ { 5, 0, printargs, "SYS_302" }, /* 302 */
+ { 5, 0, printargs, "SYS_303" }, /* 303 */
+ { 5, 0, printargs, "SYS_304" }, /* 304 */
+ { 5, 0, printargs, "SYS_305" }, /* 305 */
+ { 5, 0, printargs, "SYS_306" }, /* 306 */
+ { 5, 0, printargs, "SYS_307" }, /* 307 */
+ { 5, 0, printargs, "SYS_308" }, /* 308 */
+ { 5, 0, printargs, "SYS_309" }, /* 309 */
+ { 5, 0, printargs, "SYS_310" }, /* 310 */
+ { 5, 0, printargs, "SYS_311" }, /* 311 */
+ { 5, 0, printargs, "SYS_312" }, /* 312 */
+ { 5, 0, printargs, "SYS_313" }, /* 313 */
+ { 5, 0, printargs, "SYS_314" }, /* 314 */
+ { 5, 0, printargs, "SYS_315" }, /* 315 */
+ { 5, 0, printargs, "SYS_316" }, /* 316 */
+ { 5, 0, printargs, "SYS_317" }, /* 317 */
+ { 5, 0, printargs, "SYS_318" }, /* 318 */
+ { 5, 0, printargs, "SYS_319" }, /* 319 */
+ { 5, 0, printargs, "SYS_320" }, /* 320 */
+ { 5, 0, printargs, "SYS_321" }, /* 321 */
+ { 5, 0, printargs, "SYS_322" }, /* 322 */
+ { 5, 0, printargs, "SYS_323" }, /* 323 */
+ { 5, 0, printargs, "SYS_324" }, /* 324 */
+ { 5, 0, printargs, "SYS_325" }, /* 325 */
+ { 5, 0, printargs, "SYS_326" }, /* 326 */
+ { 5, 0, printargs, "SYS_327" }, /* 327 */
+ { 5, 0, printargs, "SYS_328" }, /* 328 */
+ { 5, 0, printargs, "SYS_329" }, /* 329 */
+ { 5, 0, printargs, "SYS_330" }, /* 330 */
+ { 5, 0, printargs, "SYS_331" }, /* 331 */
+ { 5, 0, printargs, "SYS_332" }, /* 332 */
+ { 5, 0, printargs, "SYS_333" }, /* 333 */
+ { 5, 0, printargs, "SYS_334" }, /* 334 */
+ { 5, 0, printargs, "SYS_335" }, /* 335 */
+ { 5, 0, printargs, "SYS_336" }, /* 336 */
+ { 5, 0, printargs, "SYS_337" }, /* 337 */
+ { 5, 0, printargs, "SYS_338" }, /* 338 */
+ { 5, 0, printargs, "SYS_339" }, /* 339 */
+ { 5, 0, printargs, "SYS_340" }, /* 340 */
+ { 5, 0, printargs, "SYS_341" }, /* 341 */
+ { 5, 0, printargs, "SYS_342" }, /* 342 */
+ { 5, 0, printargs, "SYS_343" }, /* 343 */
+ { 5, 0, printargs, "SYS_344" }, /* 344 */
+ { 5, 0, printargs, "SYS_345" }, /* 345 */
+ { 5, 0, printargs, "SYS_346" }, /* 346 */
+ { 5, 0, printargs, "SYS_347" }, /* 347 */
+ { 5, 0, printargs, "SYS_348" }, /* 348 */
+ { 5, 0, printargs, "SYS_349" }, /* 349 */
+ { 5, 0, printargs, "SYS_350" }, /* 350 */
+ { 5, 0, printargs, "SYS_351" }, /* 351 */
+ { 5, 0, printargs, "SYS_352" }, /* 352 */
+
diff --git a/linux/sparc/syscallent1.h b/linux/sparc/syscallent1.h
new file mode 100644
index 0000000..821b3a9
--- /dev/null
+++ b/linux/sparc/syscallent1.h
@@ -0,0 +1,439 @@
+/*
+ * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
+ */
+
+ { 6, 0, solaris_syscall, "syscall" }, /* 0 */
+ { 6, TP, solaris_exit, "_exit" }, /* 1 */
+ { 6, TP, solaris_fork, "fork" }, /* 2 */
+ { 6, 0, solaris_read, "read" }, /* 3 */
+ { 6, 0, solaris_write, "write" }, /* 4 */
+ { 6, TF, solaris_open, "open" }, /* 5 */
+ { 6, 0, solaris_close, "close" }, /* 6 */
+ { 6, TP, solaris_wait, "wait" }, /* 7 */
+ { 6, TF, solaris_creat, "creat" }, /* 8 */
+ { 6, TF, solaris_link, "link" }, /* 9 */
+ { 6, TF, solaris_unlink, "unlink" }, /* 10 */
+ { 6, TF|TP, solaris_exec, "exec" }, /* 11 */
+ { 6, TF, solaris_chdir, "chdir" }, /* 12 */
+ { 6, 0, solaris_time, "time" }, /* 13 */
+ { 6, TF, solaris_mknod, "mknod" }, /* 14 */
+ { 6, TF, solaris_chmod, "chmod" }, /* 15 */
+ { 6, TF, solaris_chown, "chown" }, /* 16 */
+ { 6, 0, solaris_brk, "brk" }, /* 17 */
+ { 6, TF, solaris_stat, "stat" }, /* 18 */
+ { 6, 0, solaris_lseek, "lseek" }, /* 19 */
+ { 6, 0, solaris_getpid, "getpid" }, /* 20 */
+ { 6, TF, solaris_mount, "mount" }, /* 21 */
+ { 6, TF, solaris_umount, "umount" }, /* 22 */
+ { 6, 0, solaris_setuid, "setuid" }, /* 23 */
+ { 6, 0, solaris_getuid, "getuid" }, /* 24 */
+ { 6, 0, solaris_stime, "stime" }, /* 25 */
+ { 6, 0, solaris_ptrace, "ptrace" }, /* 26 */
+ { 6, 0, solaris_alarm, "alarm" }, /* 27 */
+ { 6, 0, solaris_fstat, "fstat" }, /* 28 */
+ { 6, TS, solaris_pause, "pause" }, /* 29 */
+ { 6, TF, solaris_utime, "utime" }, /* 30 */
+ { 6, 0, solaris_stty, "stty" }, /* 31 */
+ { 6, 0, solaris_gtty, "gtty" }, /* 32 */
+ { 6, TF, solaris_access, "access" }, /* 33 */
+ { 6, 0, solaris_nice, "nice" }, /* 34 */
+ { 6, TF, solaris_statfs, "statfs" }, /* 35 */
+ { 6, 0, solaris_sync, "sync" }, /* 36 */
+ { 6, TS, solaris_kill, "kill" }, /* 37 */
+ { 6, 0, solaris_fstatfs, "fstatfs" }, /* 38 */
+ { 6, 0, solaris_pgrpsys, "pgrpsys" }, /* 39 */
+ { 6, 0, solaris_xenix, "xenix" }, /* 40 */
+ { 6, 0, solaris_dup, "dup" }, /* 41 */
+ { 6, 0, solaris_pipe, "pipe" }, /* 42 */
+ { 6, 0, solaris_times, "times" }, /* 43 */
+ { 6, 0, solaris_profil, "profil" }, /* 44 */
+ { 6, 0, solaris_plock, "plock" }, /* 45 */
+ { 6, 0, solaris_setgid, "setgid" }, /* 46 */
+ { 6, 0, solaris_getgid, "getgid" }, /* 47 */
+ { 6, 0, solaris_sigcall, "sigcall" }, /* 48 */
+ { 6, TI, solaris_msgsys, "msgsys" }, /* 49 */
+ { 6, 0, solaris_syssun, "syssun" }, /* 50 */
+ { 6, TF, solaris_acct, "acct" }, /* 51 */
+ { 6, TI, solaris_shmsys, "shmsys" }, /* 52 */
+ { 6, TI, solaris_semsys, "semsys" }, /* 53 */
+ { 6, 0, solaris_ioctl, "ioctl" }, /* 54 */
+ { 6, 0, solaris_uadmin, "uadmin" }, /* 55 */
+ { 6, 0, solaris_sysmp, "sysmp" }, /* 56 */
+ { 6, 0, solaris_utssys, "utssys" }, /* 57 */
+ { 6, 0, solaris_fdsync, "fdsync" }, /* 58 */
+ { 6, TF|TP, solaris_execve, "execve" }, /* 59 */
+ { 6, 0, solaris_umask, "umask" }, /* 60 */
+ { 6, TF, solaris_chroot, "chroot" }, /* 61 */
+ { 6, 0, solaris_fcntl, "fcntl" }, /* 62 */
+ { 6, 0, solaris_ulimit, "ulimit" }, /* 63 */
+ { 6, 0, printargs, "SYS_64" }, /* 64 */
+ { 6, 0, printargs, "SYS_65" }, /* 65 */
+ { 6, 0, printargs, "SYS_66" }, /* 66 */
+ { 6, 0, printargs, "SYS_67" }, /* 67 */
+ { 6, 0, printargs, "SYS_68" }, /* 68 */
+ { 6, 0, printargs, "SYS_69" }, /* 69 */
+ { 6, 0, printargs, "SYS_70" }, /* 70 */
+ { 6, 0, printargs, "SYS_71" }, /* 71 */
+ { 6, 0, printargs, "SYS_72" }, /* 72 */
+ { 6, 0, printargs, "SYS_73" }, /* 73 */
+ { 6, 0, printargs, "SYS_74" }, /* 74 */
+ { 6, 0, printargs, "SYS_75" }, /* 75 */
+ { 6, 0, printargs, "SYS_76" }, /* 76 */
+ { 6, 0, printargs, "SYS_77" }, /* 77 */
+ { 6, 0, printargs, "SYS_78" }, /* 78 */
+ { 6, TF, solaris_rmdir, "rmdir" }, /* 79 */
+ { 6, TF, solaris_mkdir, "mkdir" }, /* 80 */
+ { 6, 0, solaris_getdents, "getdents" }, /* 81 */
+ { 6, 0, solaris_sginap, "sginap" }, /* 82 */
+ { 6, 0, solaris_sgikopt, "sgikopt" }, /* 83 */
+ { 6, 0, solaris_sysfs, "sysfs" }, /* 84 */
+ { 6, TN, sys_getmsg, "getmsg" }, /* 85 */
+ { 6, TN, sys_putmsg, "putmsg" }, /* 86 */
+ { 6, TN, solaris_poll, "poll" }, /* 87 */
+ { 6, TF, solaris_lstat, "lstat" }, /* 88 */
+ { 6, TF, solaris_symlink, "symlink" }, /* 89 */
+ { 6, TF, solaris_readlink, "readlink" }, /* 90 */
+ { 6, 0, solaris_setgroups, "setgroups" }, /* 91 */
+ { 6, 0, solaris_getgroups, "getgroups" }, /* 92 */
+ { 6, 0, solaris_fchmod, "fchmod" }, /* 93 */
+ { 6, 0, solaris_fchown, "fchown" }, /* 94 */
+ { 6, TS, solaris_sigprocmask, "sigprocmask" }, /* 95 */
+ { 6, TS, solaris_sigsuspend, "sigsuspend" }, /* 96 */
+ { 6, TS, solaris_sigaltstack, "sigaltstack" }, /* 97 */
+ { 6, TS, solaris_sigaction, "sigaction" }, /* 98 */
+ { 6, 0, solaris_spcall, "spcall" }, /* 99 */
+ { 6, 0, solaris_context, "context" }, /* 100 */
+ { 6, 0, solaris_evsys, "evsys" }, /* 101 */
+ { 6, 0, solaris_evtrapret, "evtrapret" }, /* 102 */
+ { 6, TF, solaris_statvfs, "statvfs" }, /* 103 */
+ { 6, 0, solaris_fstatvfs, "fstatvfs" }, /* 104 */
+ { 6, 0, printargs, "SYS_105" }, /* 105 */
+ { 6, 0, solaris_nfssys, "nfssys" }, /* 106 */
+ { 6, TP, solaris_waitid, "waitid" }, /* 107 */
+ { 6, 0, solaris_sigsendsys, "sigsendsys" }, /* 108 */
+ { 6, 0, solaris_hrtsys, "hrtsys" }, /* 109 */
+ { 6, 0, solaris_acancel, "acancel" }, /* 110 */
+ { 6, 0, solaris_async, "async" }, /* 111 */
+ { 6, 0, solaris_priocntlsys, "priocntlsys" }, /* 112 */
+ { 6, TF, solaris_pathconf, "pathconf" }, /* 113 */
+ { 6, 0, solaris_mincore, "mincore" }, /* 114 */
+ { 6, 0, solaris_mmap, "mmap" }, /* 115 */
+ { 6, 0, solaris_mprotect, "mprotect" }, /* 116 */
+ { 6, 0, solaris_munmap, "munmap" }, /* 117 */
+ { 6, 0, solaris_fpathconf, "fpathconf" }, /* 118 */
+ { 6, TP, solaris_vfork, "vfork" }, /* 119 */
+ { 6, 0, solaris_fchdir, "fchdir" }, /* 120 */
+ { 6, 0, solaris_readv, "readv" }, /* 121 */
+ { 6, 0, solaris_writev, "writev" }, /* 122 */
+ { 6, TF, solaris_xstat, "xstat" }, /* 123 */
+ { 6, TF, solaris_lxstat, "lxstat" }, /* 124 */
+ { 6, 0, solaris_fxstat, "fxstat" }, /* 125 */
+ { 6, TF, solaris_xmknod, "xmknod" }, /* 126 */
+ { 6, 0, solaris_clocal, "clocal" }, /* 127 */
+ { 6, 0, solaris_setrlimit, "setrlimit" }, /* 128 */
+ { 6, 0, solaris_getrlimit, "getrlimit" }, /* 129 */
+ { 6, TF, solaris_lchown, "lchown" }, /* 130 */
+ { 6, 0, solaris_memcntl, "memcntl" }, /* 131 */
+ { 6, TN, solaris_getpmsg, "getpmsg" }, /* 132 */
+ { 6, TN, solaris_putpmsg, "putpmsg" }, /* 133 */
+ { 6, TF, solaris_rename, "rename" }, /* 134 */
+ { 6, 0, solaris_uname, "uname" }, /* 135 */
+ { 6, 0, solaris_setegid, "setegid" }, /* 136 */
+ { 6, 0, solaris_sysconfig, "sysconfig" }, /* 137 */
+ { 6, 0, solaris_adjtime, "adjtime" }, /* 138 */
+ { 6, 0, solaris_sysinfo, "sysinfo" }, /* 139 */
+ { 6, 0, printargs, "SYS_140" }, /* 140 */
+ { 6, 0, solaris_seteuid, "seteuid" }, /* 141 */
+ { 6, 0, solaris_vtrace, "vtrace" }, /* 142 */
+ { 6, TP, solaris_fork1, "fork1" }, /* 143 */
+ { 6, TS, solaris_sigtimedwait, "sigtimedwait" }, /* 144 */
+ { 6, 0, solaris_lwp_info, "lwp_info" }, /* 145 */
+ { 6, 0, solaris_yield, "yield" }, /* 146 */
+ { 6, 0, solaris_lwp_sema_wait, "lwp_sema_wait" }, /* 147 */
+ { 6, 0, solaris_lwp_sema_post, "lwp_sema_post" }, /* 148 */
+ { 6, 0, printargs, "SYS_149" }, /* 149 */
+ { 6, 0, printargs, "SYS_150" }, /* 150 */
+ { 6, 0, printargs, "SYS_151" }, /* 151 */
+ { 6, 0, solaris_modctl, "modctl" }, /* 152 */
+ { 6, 0, solaris_fchroot, "fchroot" }, /* 153 */
+ { 6, TF, solaris_utimes, "utimes" }, /* 154 */
+ { 6, 0, solaris_vhangup, "vhangup" }, /* 155 */
+ { 6, 0, solaris_gettimeofday, "gettimeofday" }, /* 156 */
+ { 6, 0, solaris_getitimer, "getitimer" }, /* 157 */
+ { 6, 0, solaris_setitimer, "setitimer" }, /* 158 */
+ { 6, 0, solaris_lwp_create, "lwp_create" }, /* 159 */
+ { 6, 0, solaris_lwp_exit, "lwp_exit" }, /* 160 */
+ { 6, 0, solaris_lwp_suspend, "lwp_suspend" }, /* 161 */
+ { 6, 0, solaris_lwp_continue, "lwp_continue" }, /* 162 */
+ { 6, 0, solaris_lwp_kill, "lwp_kill" }, /* 163 */
+ { 6, 0, solaris_lwp_self, "lwp_self" }, /* 164 */
+ { 6, 0, solaris_lwp_setprivate, "lwp_setprivate"}, /* 165 */
+ { 6, 0, solaris_lwp_getprivate, "lwp_getprivate"}, /* 166 */
+ { 6, 0, solaris_lwp_wait, "lwp_wait" }, /* 167 */
+ { 6, 0, solaris_lwp_mutex_unlock,"lwp_mutex_unlock"}, /* 168 */
+ { 6, 0, solaris_lwp_mutex_lock, "lwp_mutex_lock"}, /* 169 */
+ { 6, 0, solaris_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */
+ { 6, 0, solaris_lwp_cond_signal,"lwp_cond_signal"}, /* 171 */
+ { 6, 0, solaris_lwp_cond_broadcast,"lwp_cond_broadcast"}, /* 172 */
+ { 6, 0, solaris_pread, "pread" }, /* 173 */
+ { 6, 0, solaris_pwrite, "pwrite" }, /* 174 */
+ { 6, 0, solaris_llseek, "llseek" }, /* 175 */
+ { 6, 0, solaris_inst_sync, "inst_sync" }, /* 176 */
+ { 6, 0, printargs, "SYS_177" }, /* 177 */
+ { 6, 0, printargs, "SYS_178" }, /* 178 */
+ { 6, 0, printargs, "SYS_179" }, /* 179 */
+ { 6, 0, printargs, "SYS_180" }, /* 180 */
+ { 6, 0, printargs, "SYS_181" }, /* 181 */
+ { 6, 0, printargs, "SYS_182" }, /* 182 */
+ { 6, 0, printargs, "SYS_183" }, /* 183 */
+ { 6, 0, printargs, "SYS_184" }, /* 184 */
+ { 6, 0, printargs, "SYS_185" }, /* 185 */
+ { 6, 0, solaris_auditsys, "auditsys" }, /* 186 */
+ { 6, 0, solaris_processor_bind, "processor_bind"}, /* 187 */
+ { 6, 0, solaris_processor_info, "processor_info"}, /* 188 */
+ { 6, 0, solaris_p_online, "p_online" }, /* 189 */
+ { 6, 0, solaris_sigqueue, "sigqueue" }, /* 190 */
+ { 6, 0, solaris_clock_gettime, "clock_gettime" }, /* 191 */
+ { 6, 0, solaris_clock_settime, "clock_settime" }, /* 192 */
+ { 6, 0, solaris_clock_getres, "clock_getres" }, /* 193 */
+ { 6, 0, solaris_timer_create, "timer_create" }, /* 194 */
+ { 6, 0, solaris_timer_delete, "timer_delete" }, /* 195 */
+ { 6, 0, solaris_timer_settime, "timer_settime" }, /* 196 */
+ { 6, 0, solaris_timer_gettime, "timer_gettime" }, /* 197 */
+ { 6, 0, solaris_timer_getoverrun,"timer_getoverrun"}, /* 198 */
+ { 6, 0, solaris_nanosleep, "nanosleep" }, /* 199 */
+ { 6, 0, printargs, "SYS_200" }, /* 200 */
+ { 6, 0, printargs, "SYS_201" }, /* 201 */
+ { 6, 0, printargs, "SYS_202" }, /* 202 */
+ { 6, 0, printargs, "SYS_203" }, /* 203 */
+ { 6, 0, printargs, "SYS_204" }, /* 204 */
+ { 6, 0, printargs, "SYS_205" }, /* 205 */
+ { 6, 0, printargs, "SYS_206" }, /* 206 */
+ { 6, 0, printargs, "SYS_207" }, /* 207 */
+ { 6, 0, printargs, "SYS_208" }, /* 208 */
+ { 6, 0, printargs, "SYS_209" }, /* 209 */
+ { 6, 0, printargs, "SYS_210" }, /* 210 */
+ { 6, 0, printargs, "SYS_211" }, /* 211 */
+ { 6, 0, printargs, "SYS_212" }, /* 212 */
+ { 6, 0, printargs, "SYS_213" }, /* 213 */
+ { 6, 0, printargs, "SYS_214" }, /* 214 */
+ { 6, 0, printargs, "SYS_215" }, /* 215 */
+ { 6, 0, printargs, "SYS_216" }, /* 216 */
+ { 6, 0, printargs, "SYS_217" }, /* 217 */
+ { 6, 0, printargs, "SYS_218" }, /* 218 */
+ { 6, 0, printargs, "SYS_219" }, /* 219 */
+ { 6, 0, printargs, "SYS_220" }, /* 220 */
+ { 6, 0, printargs, "SYS_221" }, /* 221 */
+ { 6, 0, printargs, "SYS_222" }, /* 222 */
+ { 6, 0, printargs, "SYS_223" }, /* 223 */
+ { 6, 0, printargs, "SYS_224" }, /* 224 */
+ { 6, 0, printargs, "SYS_225" }, /* 225 */
+ { 6, 0, printargs, "SYS_226" }, /* 226 */
+ { 6, 0, printargs, "SYS_227" }, /* 227 */
+ { 6, 0, printargs, "SYS_228" }, /* 228 */
+ { 6, 0, printargs, "SYS_229" }, /* 229 */
+ { 6, 0, printargs, "SYS_230" }, /* 230 */
+ { 6, 0, printargs, "SYS_231" }, /* 231 */
+ { 6, 0, printargs, "SYS_232" }, /* 232 */
+ { 6, 0, printargs, "SYS_233" }, /* 233 */
+ { 6, 0, printargs, "SYS_234" }, /* 234 */
+ { 6, 0, printargs, "SYS_235" }, /* 235 */
+ { 6, 0, printargs, "SYS_236" }, /* 236 */
+ { 6, 0, printargs, "SYS_237" }, /* 237 */
+ { 6, 0, printargs, "SYS_238" }, /* 238 */
+ { 6, 0, printargs, "SYS_239" }, /* 239 */
+ { 6, 0, printargs, "SYS_240" }, /* 240 */
+ { 6, 0, printargs, "SYS_241" }, /* 241 */
+ { 6, 0, printargs, "SYS_242" }, /* 242 */
+ { 6, 0, printargs, "SYS_243" }, /* 243 */
+ { 6, 0, printargs, "SYS_244" }, /* 244 */
+ { 6, 0, printargs, "SYS_245" }, /* 245 */
+ { 6, 0, printargs, "SYS_246" }, /* 246 */
+ { 6, 0, printargs, "SYS_247" }, /* 247 */
+ { 6, 0, printargs, "SYS_248" }, /* 248 */
+ { 6, 0, printargs, "SYS_249" }, /* 249 */
+ { 6, 0, printargs, "SYS_250" }, /* 250 */
+ { 6, 0, printargs, "SYS_251" }, /* 251 */
+ { 6, 0, printargs, "SYS_252" }, /* 252 */
+ { 6, 0, printargs, "SYS_253" }, /* 253 */
+ { 6, 0, printargs, "SYS_254" }, /* 254 */
+ { 6, 0, printargs, "SYS_255" }, /* 255 */
+ { 6, 0, printargs, "SYS_256" }, /* 256 */
+ { 6, 0, printargs, "SYS_257" }, /* 257 */
+ { 6, 0, printargs, "SYS_258" }, /* 258 */
+ { 6, 0, printargs, "SYS_259" }, /* 259 */
+ { 6, 0, printargs, "SYS_260" }, /* 260 */
+ { 6, 0, printargs, "SYS_261" }, /* 261 */
+ { 6, 0, printargs, "SYS_262" }, /* 262 */
+ { 6, 0, printargs, "SYS_263" }, /* 263 */
+ { 6, 0, printargs, "SYS_264" }, /* 264 */
+ { 6, 0, printargs, "SYS_265" }, /* 265 */
+ { 6, 0, printargs, "SYS_266" }, /* 266 */
+ { 6, 0, printargs, "SYS_267" }, /* 267 */
+ { 6, 0, printargs, "SYS_268" }, /* 268 */
+ { 6, 0, printargs, "SYS_269" }, /* 269 */
+ { 6, 0, printargs, "SYS_270" }, /* 270 */
+ { 6, 0, printargs, "SYS_271" }, /* 271 */
+ { 6, 0, printargs, "SYS_272" }, /* 272 */
+ { 6, 0, printargs, "SYS_273" }, /* 273 */
+ { 6, 0, printargs, "SYS_274" }, /* 274 */
+ { 6, 0, printargs, "SYS_275" }, /* 275 */
+ { 6, 0, printargs, "SYS_276" }, /* 276 */
+ { 6, 0, printargs, "SYS_277" }, /* 277 */
+ { 6, 0, printargs, "SYS_278" }, /* 278 */
+ { 6, 0, printargs, "SYS_279" }, /* 279 */
+ { 6, 0, printargs, "SYS_280" }, /* 280 */
+ { 6, 0, printargs, "SYS_281" }, /* 281 */
+ { 6, 0, printargs, "SYS_282" }, /* 282 */
+ { 6, 0, printargs, "SYS_283" }, /* 283 */
+ { 6, 0, printargs, "SYS_284" }, /* 284 */
+ { 6, 0, printargs, "SYS_285" }, /* 285 */
+ { 6, 0, printargs, "SYS_286" }, /* 286 */
+ { 6, 0, printargs, "SYS_287" }, /* 287 */
+ { 6, 0, printargs, "SYS_288" }, /* 288 */
+ { 6, 0, printargs, "SYS_289" }, /* 289 */
+ { 6, 0, printargs, "SYS_290" }, /* 290 */
+ { 6, 0, printargs, "SYS_291" }, /* 291 */
+ { 6, 0, printargs, "SYS_292" }, /* 292 */
+ { 6, 0, printargs, "SYS_293" }, /* 293 */
+ { 6, 0, printargs, "SYS_294" }, /* 294 */
+ { 6, 0, printargs, "SYS_295" }, /* 295 */
+ { 6, 0, printargs, "SYS_296" }, /* 296 */
+ { 6, 0, printargs, "SYS_297" }, /* 297 */
+ { 6, 0, printargs, "SYS_298" }, /* 298 */
+ { 6, 0, printargs, "SYS_299" }, /* 299 */
+
+ { 6, 0, solaris_getpgrp, "getpgrp" }, /* 300 */
+ { 6, 0, solaris_setpgrp, "setpgrp" }, /* 301 */
+ { 6, 0, solaris_getsid, "getsid" }, /* 302 */
+ { 6, 0, solaris_setsid, "setsid" }, /* 303 */
+ { 6, 0, solaris_getpgid, "getpgid" }, /* 304 */
+ { 6, 0, solaris_setpgid, "setpgid" }, /* 305 */
+ { 6, 0, printargs, "SYS_306" }, /* 306 */
+ { 6, 0, printargs, "SYS_307" }, /* 307 */
+ { 6, 0, printargs, "SYS_308" }, /* 308 */
+ { 6, 0, printargs, "SYS_309" }, /* 309 */
+
+ { 6, TS, solaris_signal, "signal" }, /* 310 */
+ { 6, TS, solaris_sigset, "sigset" }, /* 311 */
+ { 6, TS, solaris_sighold, "sighold" }, /* 312 */
+ { 6, TS, solaris_sigrelse, "sigrelse" }, /* 313 */
+ { 6, TS, solaris_sigignore, "sigignore" }, /* 314 */
+ { 6, TS, solaris_sigpause, "sigpause" }, /* 315 */
+ { 6, 0, printargs, "SYS_316" }, /* 316 */
+ { 6, 0, printargs, "SYS_317" }, /* 317 */
+ { 6, 0, printargs, "SYS_318" }, /* 318 */
+ { 6, 0, printargs, "SYS_319" }, /* 319 */
+
+ { 6, TI, solaris_msgget, "msgget" }, /* 320 */
+ { 6, TI, solaris_msgctl, "msgctl" }, /* 321 */
+ { 6, TI, solaris_msgrcv, "msgrcv" }, /* 322 */
+ { 6, TI, solaris_msgsnd, "msgsnd" }, /* 323 */
+ { 6, 0, printargs, "SYS_324" }, /* 324 */
+ { 6, 0, printargs, "SYS_325" }, /* 325 */
+ { 6, 0, printargs, "SYS_326" }, /* 326 */
+ { 6, 0, printargs, "SYS_327" }, /* 327 */
+ { 6, 0, printargs, "SYS_328" }, /* 328 */
+ { 6, 0, printargs, "SYS_329" }, /* 329 */
+
+ { 6, TI, solaris_shmat, "shmat" }, /* 330 */
+ { 6, TI, solaris_shmctl, "shmctl" }, /* 331 */
+ { 6, TI, solaris_shmdt, "shmdt" }, /* 332 */
+ { 6, TI, solaris_shmget, "shmget" }, /* 333 */
+ { 6, 0, printargs, "SYS_334" }, /* 334 */
+ { 6, 0, printargs, "SYS_335" }, /* 335 */
+ { 6, 0, printargs, "SYS_336" }, /* 336 */
+ { 6, 0, printargs, "SYS_337" }, /* 337 */
+ { 6, 0, printargs, "SYS_338" }, /* 338 */
+ { 6, 0, printargs, "SYS_339" }, /* 339 */
+
+ { 6, TI, solaris_semctl, "semctl" }, /* 340 */
+ { 6, TI, solaris_semget, "semget" }, /* 341 */
+ { 6, TI, solaris_semop, "semop" }, /* 342 */
+ { 6, 0, printargs, "SYS_343" }, /* 343 */
+ { 6, 0, printargs, "SYS_344" }, /* 344 */
+ { 6, 0, printargs, "SYS_345" }, /* 345 */
+ { 6, 0, printargs, "SYS_346" }, /* 346 */
+ { 6, 0, printargs, "SYS_347" }, /* 347 */
+ { 6, 0, printargs, "SYS_348" }, /* 348 */
+ { 6, 0, printargs, "SYS_349" }, /* 349 */
+
+ { 6, 0, solaris_olduname, "olduname" }, /* 350 */
+ { 6, 0, printargs, "utssys1" }, /* 351 */
+ { 6, 0, solaris_ustat, "ustat" }, /* 352 */
+ { 6, 0, solaris_fusers, "fusers" }, /* 353 */
+ { 6, 0, printargs, "SYS_354" }, /* 354 */
+ { 6, 0, printargs, "SYS_355" }, /* 355 */
+ { 6, 0, printargs, "SYS_356" }, /* 356 */
+ { 6, 0, printargs, "SYS_357" }, /* 357 */
+ { 6, 0, printargs, "SYS_358" }, /* 358 */
+ { 6, 0, printargs, "SYS_359" }, /* 359 */
+
+ { 6, 0, printargs, "sysfs0" }, /* 360 */
+ { 6, 0, solaris_sysfs1, "sysfs1" }, /* 361 */
+ { 6, 0, solaris_sysfs2, "sysfs2" }, /* 362 */
+ { 6, 0, solaris_sysfs3, "sysfs3" }, /* 363 */
+ { 6, 0, printargs, "SYS_364" }, /* 364 */
+ { 6, 0, printargs, "SYS_365" }, /* 365 */
+ { 6, 0, printargs, "SYS_366" }, /* 366 */
+ { 6, 0, printargs, "SYS_367" }, /* 367 */
+ { 6, 0, printargs, "SYS_368" }, /* 368 */
+ { 6, 0, printargs, "SYS_369" }, /* 369 */
+
+ { 6, 0, printargs, "spcall0" }, /* 370 */
+ { 6, TS, solaris_sigpending, "sigpending" }, /* 371 */
+ { 6, TS, solaris_sigfillset, "sigfillset" }, /* 372 */
+ { 6, 0, printargs, "SYS_373" }, /* 373 */
+ { 6, 0, printargs, "SYS_374" }, /* 374 */
+ { 6, 0, printargs, "SYS_375" }, /* 375 */
+ { 6, 0, printargs, "SYS_376" }, /* 376 */
+ { 6, 0, printargs, "SYS_377" }, /* 377 */
+ { 6, 0, printargs, "SYS_378" }, /* 378 */
+ { 6, 0, printargs, "SYS_379" }, /* 379 */
+
+ { 6, 0, solaris_getcontext, "getcontext" }, /* 380 */
+ { 6, 0, solaris_setcontext, "setcontext" }, /* 381 */
+ { 6, 0, printargs, "SYS_382" }, /* 382 */
+ { 6, 0, printargs, "SYS_383" }, /* 383 */
+ { 6, 0, printargs, "SYS_384" }, /* 384 */
+ { 6, 0, printargs, "SYS_385" }, /* 385 */
+ { 6, 0, printargs, "SYS_386" }, /* 386 */
+ { 6, 0, printargs, "SYS_387" }, /* 387 */
+ { 6, 0, printargs, "SYS_388" }, /* 388 */
+ { 6, 0, printargs, "SYS_389" }, /* 389 */
+
+ { 6, 0, printargs, "SYS_390" }, /* 390 */
+ { 6, 0, printargs, "SYS_391" }, /* 391 */
+ { 6, 0, printargs, "SYS_392" }, /* 392 */
+ { 6, 0, printargs, "SYS_393" }, /* 393 */
+ { 6, 0, printargs, "SYS_394" }, /* 394 */
+ { 6, 0, printargs, "SYS_395" }, /* 395 */
+ { 6, 0, printargs, "SYS_396" }, /* 396 */
+ { 6, 0, printargs, "SYS_397" }, /* 397 */
+ { 6, 0, printargs, "SYS_398" }, /* 398 */
+ { 6, 0, printargs, "SYS_399" }, /* 399 */