From 6d1a65c759c6c650e47ce5045a26380a4acbdffa Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 12 Jul 2004 07:44:08 +0000 Subject: [PATCH] 2004-07-07 David S. Miller * linux/sparc/syscallent.h: Sync with reality. * linux/sparc/syscall.h (sys_sendfile64, sys_futex, sys_gettid, sys_sched_setaffinity, sys_sched_getaffinity, sys_setxattr, sys_lsetxattr, sys_fsetxattr, sys_getxattr, sys_lgetxattr, sys_fgetxattr, sys_listxattr, sys_llistxattr, sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_fremovexattr, sys_remap_file_pages, sys_readahead, sys_tgkill, sys_statfs64, sys_fstatfs64, sys_clock_settime, sys_clock_gettime, sys_clock_getres, sys_clock_nanosleep, sys_timer_create, sys_timer_settime, sys_timer_gettime): New declarations. * linux/sparc64/dummy2.h, linux/sparc64/syscallent2.h, linux/sparc64/syscall.h, linux/sparc64/errnoent.h, linux/sparc64/errnoent1.h, linux/sparc64/errnoent2.h, linux/sparc64/ioctlent.h, linux/sparc64/ioctlent1.h, linux/sparc64/ioctlent2.h, linux/sparc64/signalent.h, linux/sparc64/signalent.h, linux/sparc64/signalent.h, linux/sparc64/signalent1.h, linux/sparc64/signalent2.h, linux/sparc64/syscall1.h, linux/sparc64/syscallent.h, linux/sparc64/syscallent1.h: New files. * defs.h (LINUXSPARC): Define also when SPARC64. (LINUX && SPARC64): Set SUPPORTED_PERSONALITIES to 3. Ignore SIGTRAP after execve by defining TCB_WAITEXECVE. Define possibly missing __NR_exit_group. Declare getrval2. * configure.ac (sparc64): New architecture case. * config.h.in (SPARC64): New define. * file.c (stat_sparc64): New structure. (printstat_sparc64): New output routine for that. (printstat): Call it, if personality is 2. (printstat64): Likewise. * util.c: Conditionalize ptrace defines on LINUXSPARC not LINUX && SPARC. (SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS to PTRACE_FOOREGS64 so that more sparc code can be shared between 64-bit and 32-bit. (_hack_syscall5): Correct trap number when SPARC64. (PTRACE_WRITE{TEXT,DATA}): Add SPARC64 to ifdef guard. (getpc): Handle SPARC64 && LINUX. (printcall): Likewise. (arg fetching/setting): Use same code for SPARC64 LINUX as for SPARC. (setbpt): Handle SPARC64 && LINUX. (clearbpt): Likewise. * signal.c: Conditionalize ptrace defines on SPARC and SPARC64. (SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS to PTRACE_FOOREGS64 so that more sparc code can be shared between 64-bit and 32-bit. (m_siginfo): Use same definition on SPARC64 as SPARC. (sys_sigreturn): Handle LINUX && SPARC64. * syscall.c: Conditionalize ptrace defines on SPARC and SPARC64. (SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS to PTRACE_FOOREGS64 so that more sparc code can be shared between 64-bit and 32-bit. (getscno): Use same static state on SPARC64 as SPARC, and add SPARC64 handling. (get_error): Handle LINUX && SPARC64. (force_result): Likewise. (syscall_enter): Likewise. (trace_syscall): Handle sys_socketcall and sys_ipc on SPARC64 just like SPARC. (getrval2): Handle LINUX && SPARC64. * process.c: Conditionalize ptrace defines on SPARC and SPARC64. (SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS to PTRACE_FOOREGS64 so that more sparc code can be shared between 64-bit and 32-bit. (change_syscall): Handle LINUX && SPARC64. (struct_user_offsets): Ifdef out those which do not exist on SPARC64. * net.c (sys_pipe): Handle LINUX && SPARC64. * ioctl.c: Fix initializer typo for nioctlents2, was nioctlents1 by accident. --- configure.ac | 4 + defs.h | 12 +- file.c | 89 ++++ ioctl.c | 2 +- linux/sparc/syscall.h | 10 + linux/sparc/syscallent.h | 212 +++++---- linux/sparc64/dummy2.h | 282 ++++++++++++ linux/sparc64/errnoent.h | 127 ++++++ linux/sparc64/errnoent1.h | 1 + linux/sparc64/errnoent2.h | 127 ++++++ linux/sparc64/ioctlent.h | 838 ++++++++++++++++++++++++++++++++++++ linux/sparc64/ioctlent1.h | 1 + linux/sparc64/ioctlent2.h | 838 ++++++++++++++++++++++++++++++++++++ linux/sparc64/signalent.h | 32 ++ linux/sparc64/signalent1.h | 1 + linux/sparc64/signalent2.h | 32 ++ linux/sparc64/syscall.h | 204 +++++++++ linux/sparc64/syscall1.h | 501 +++++++++++++++++++++ linux/sparc64/syscallent.h | 353 +++++++++++++++ linux/sparc64/syscallent1.h | 439 +++++++++++++++++++ linux/sparc64/syscallent2.h | 353 +++++++++++++++ net.c | 4 +- process.c | 30 +- signal.c | 17 +- syscall.c | 65 ++- util.c | 44 +- 26 files changed, 4465 insertions(+), 153 deletions(-) create mode 100644 linux/sparc64/dummy2.h create mode 100644 linux/sparc64/errnoent.h create mode 100644 linux/sparc64/errnoent1.h create mode 100644 linux/sparc64/errnoent2.h create mode 100644 linux/sparc64/ioctlent.h create mode 100644 linux/sparc64/ioctlent1.h create mode 100644 linux/sparc64/ioctlent2.h create mode 100644 linux/sparc64/signalent.h create mode 100644 linux/sparc64/signalent1.h create mode 100644 linux/sparc64/signalent2.h create mode 100644 linux/sparc64/syscall.h create mode 100644 linux/sparc64/syscall1.h create mode 100644 linux/sparc64/syscallent.h create mode 100644 linux/sparc64/syscallent1.h create mode 100644 linux/sparc64/syscallent2.h diff --git a/configure.ac b/configure.ac index d7e17617..637946da 100644 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,10 @@ m68k) arch=m68k AC_DEFINE([M68K], 1, [Define for the m68k architecture.]) ;; +sparc64*) + arch=sparc64 + AC_DEFINE([SPARC64], 1, [Define for the SPARC64 architecture.]) + ;; sparc*) arch=sparc AC_DEFINE([SPARC], 1, [Define for the SPARC architecture.]) diff --git a/defs.h b/defs.h index 95cd897b..ca6240a0 100644 --- a/defs.h +++ b/defs.h @@ -85,7 +85,7 @@ #endif #if defined(LINUX) -# if defined(SPARC) +# if defined(SPARC) || defined(SPARC64) # define LINUXSPARC # endif # if defined(ALPHA) @@ -195,7 +195,11 @@ extern int ptrace(); #include #include #undef SUPPORTED_PERSONALITIES +#if defined(SPARC64) +#define SUPPORTED_PERSONALITIES 3 +#else #define SUPPORTED_PERSONALITIES 2 +#endif /* SPARC64 */ #endif /* LINUXSPARC */ #ifdef X86_64 @@ -318,7 +322,7 @@ struct tcb { #define TCB_FOLLOWFORK 00400 /* Process should have forks followed */ #define TCB_REPRINT 01000 /* We should reprint this syscall on exit */ #ifdef LINUX -# if defined(ALPHA) || defined(SPARC) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM) +# if defined(ALPHA) || defined(SPARC) || defined(SPARC64) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM) # define TCB_WAITEXECVE 02000 /* ignore SIGTRAP after exceve */ # endif # define TCB_CLONE_DETACHED 04000 /* CLONE_DETACHED set in creating syscall */ @@ -337,7 +341,7 @@ struct tcb { # define __NR_exit_group 234 # elif defined S390 || defined S390X # define __NR_exit_group 248 -# elif defined SPARC +# elif defined SPARC || defined SPARC64 # define __NR_exit_group 188 # endif /* ALPHA et al */ # endif /* !__NR_exit_group */ @@ -485,7 +489,7 @@ extern void tv_div P((struct timeval *, struct timeval *, int)); #ifdef SUNOS4 extern int fixvfork P((struct tcb *)); #endif -#if !(defined(LINUX) && !defined(SPARC) && !defined(IA64)) +#if !(defined(LINUX) && !defined(SPARC) && !defined(SPARC64) && !defined(IA64)) extern long getrval2 P((struct tcb *)); #endif #ifdef USE_PROCFS diff --git a/file.c b/file.c index 67cbc03b..294a97ec 100644 --- a/file.c +++ b/file.c @@ -66,6 +66,24 @@ struct stat { int st_blocks; unsigned int __unused4[2]; }; +#if defined(SPARC64) +struct stat_sparc64 { + unsigned int st_dev; + unsigned long st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + unsigned int st_rdev; + long st_size; + long st_atime; + long st_mtime; + long st_ctime; + long st_blksize; + long st_blocks; + unsigned long __unused4[2]; +}; +#endif /* SPARC64 */ # define stat kernel_stat # include # undef stat @@ -658,6 +676,65 @@ long addr; else tprintf("...}"); } + +#if defined (SPARC64) +static void +printstat_sparc64(tcp, addr) +struct tcb *tcp; +long addr; +{ + struct stat_sparc64 statbuf; + + if (!addr) { + tprintf("NULL"); + return; + } + if (syserror(tcp) || !verbose(tcp)) { + tprintf("%#lx", addr); + return; + } + if (umove(tcp, addr, &statbuf) < 0) { + tprintf("{...}"); + return; + } + + if (!abbrev(tcp)) { + tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ", + (unsigned long) major(statbuf.st_dev), + (unsigned long) minor(statbuf.st_dev), + (unsigned long) statbuf.st_ino, + sprintmode(statbuf.st_mode)); + tprintf("st_nlink=%lu, st_uid=%lu, st_gid=%lu, ", + (unsigned long) statbuf.st_nlink, + (unsigned long) statbuf.st_uid, + (unsigned long) statbuf.st_gid); + tprintf("st_blksize=%lu, ", + (unsigned long) statbuf.st_blksize); + tprintf("st_blocks=%lu, ", + (unsigned long) statbuf.st_blocks); + } + else + tprintf("{st_mode=%s, ", sprintmode(statbuf.st_mode)); + switch (statbuf.st_mode & S_IFMT) { + case S_IFCHR: case S_IFBLK: + tprintf("st_rdev=makedev(%lu, %lu), ", + (unsigned long) major(statbuf.st_rdev), + (unsigned long) minor(statbuf.st_rdev)); + break; + default: + tprintf("st_size=%lu, ", statbuf.st_size); + break; + } + if (!abbrev(tcp)) { + tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime)); + tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime)); + tprintf("st_ctime=%s", sprinttime(statbuf.st_ctime)); + tprintf("}"); + } + else + tprintf("...}"); +} +#endif /* SPARC64 */ #endif /* LINUXSPARC */ struct xlat fileflags[] = { @@ -797,6 +874,12 @@ long addr; printstatsol(tcp, addr); return; } +#ifdef SPARC64 + else if (current_personality == 2) { + printstat_sparc64(tcp, addr); + return; + } +#endif #endif /* LINUXSPARC */ if (!addr) { @@ -829,6 +912,12 @@ long addr; printstatsol(tcp, addr); return; } +#ifdef SPARC64 + else if (current_personality == 2) { + printstat_sparc64(tcp, addr); + return; + } +#endif #endif /* LINUXSPARC */ if (!addr) { diff --git a/ioctl.c b/ioctl.c index a49e7d6e..d7518be1 100644 --- a/ioctl.c +++ b/ioctl.c @@ -62,7 +62,7 @@ struct ioctlent ioctlent2[] = { #include "ioctlent2.h" }; -int nioctlents1 = sizeof ioctlent2 / sizeof ioctlent2[0]; +int nioctlents2 = sizeof ioctlent2 / sizeof ioctlent2[0]; #endif /* SUPPORTED_PERSONALITIES >= 3 */ struct ioctlent *ioctlent; diff --git a/linux/sparc/syscall.h b/linux/sparc/syscall.h index b1ef2ca9..dc23258e 100644 --- a/linux/sparc/syscall.h +++ b/linux/sparc/syscall.h @@ -191,4 +191,14 @@ int sys_poll(); int sys_vpixsys(); /* VP/ix system calls */ +int sys_sendfile64(), sys_futex(), sys_gettid(), sys_sched_setaffinity(); +int sys_sched_getaffinity(), sys_setxattr(), sys_lsetxattr(); +int sys_fsetxattr(), sys_getxattr(), sys_lgetxattr(), sys_fgetxattr(); +int sys_listxattr(), sys_llistxattr(), sys_flistxattr(); +int sys_removexattr(), sys_lremovexattr(), sys_fremovexattr(); +int sys_remap_file_pages(), sys_readahead(), sys_tgkill(), sys_statfs64(); +int sys_fstatfs64(), sys_clock_settime(), sys_clock_gettime(); +int sys_clock_getres(), sys_clock_nanosleep(); +int sys_timer_create(), sys_timer_settime(), sys_timer_gettime(); + #include "syscall1.h" diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index 7283bbd7..8e1555f0 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -16,7 +16,7 @@ { 2, TF, sys_chmod, "chmod" }, /* 15 */ { 3, TF, sys_chown, "lchown" }, /* 16 */ { 1, 0, sys_brk, "brk" }, /* 17 */ - { 2, 0, printargs, "perfctr" }, /* 18 */ + { 4, 0, printargs, "perfctr" }, /* 18 */ { 3, 0, sys_lseek, "lseek" }, /* 19 */ { 0, 0, sys_getpid, "getpid" }, /* 20 */ { 2, 0, sys_capget, "capget" }, /* 21 */ @@ -29,11 +29,11 @@ { 2, TS, sys_sigaltstack,"sigaltstack" }, /* 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 */ + { 3, TF, sys_chown, "lchown32" }, /* 31 */ + { 3, 0, sys_fchown, "fchown32" }, /* 32 */ { 2, TF, sys_access, "access" }, /* 33 */ { 1, 0, sys_nice, "nice" }, /* 34 */ - { 1, 0, sys_ftime, "ftime" }, /* 35 */ + { 3, TF, sys_chown, "chown32" }, /* 35 */ { 0, 0, sys_sync, "sync" }, /* 36 */ { 2, TS, sys_kill, "kill" }, /* 37 */ { 2, TF, sys_stat, "stat" }, /* 38 */ @@ -42,19 +42,19 @@ { 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, sys_getuid, "getuid32" }, /* 44 */ { 2, TF, sys_umount2, "umount" }, /* 45 */ { 1, 0, sys_setgid, "setgid" }, /* 46 */ { 0, 0, sys_getgid, "getgid" }, /* 47 */ - { 2, 0, sys_signal, "signal" }, /* 48 */ + { 3, TS, 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 */ + { 1, TF, sys_acct, "acct" }, /* 51 */ + { 2, 0, printargs, "memory_ordering" }, /* 52 */ + { 0, 0, sys_getgid, "getgid32" }, /* 53 */ { 3, 0, sys_ioctl, "ioctl" }, /* 54 */ - { 2, 0, sys_reboot, "reboot" }, /* 55 */ - { 3, 0, printargs, "SYS_56" }, /* 56 */ + { 3, 0, sys_reboot, "reboot" }, /* 55 */ + { 6, 0, sys_mmap, "mmap2" }, /* 56 */ { 2, TF, sys_symlink, "symlink" }, /* 57 */ { 3, TF, sys_readlink, "readlink" }, /* 58 */ { 3, TF|TP, sys_execve, "execve" }, /* 59 */ @@ -62,62 +62,62 @@ { 1, TF, sys_chroot, "chroot" }, /* 61 */ { 2, 0, sys_fstat, "fstat" }, /* 62 */ { 2, TF, sys_fstat64, "fstat64" }, /* 63 */ - { 1, 0, sys_getpagesize,"getpagesize" }, /* 64 */ + { 0, 0, sys_getpagesize,"getpagesize" }, /* 64 */ { 3, 0, sys_msync, "msync" }, /* 65 */ { 0, TP, sys_vfork, "vfork" }, /* 66 */ { 5, TF, sys_pread, "pread" }, /* 67 */ { 5, TF, sys_pwrite, "pwrite" }, /* 68 */ - { 1, 0, sys_sbrk, "sbrk" }, /* 69 */ - { 1, 0, printargs, "sstk" }, /* 70 */ + { 0, 0, sys_geteuid, "geteuid32" }, /* 69 */ + { 0, 0, sys_getegid, "getegid32" }, /* 70 */ { 6, 0, sys_mmap, "mmap" }, /* 71 */ - { 1, 0, printargs, "vadvise" }, /* 72 */ + { 2, 0, sys_setreuid, "setreuid32" }, /* 72 */ { 2, 0, sys_munmap, "munmap" }, /* 73 */ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ { 3, 0, sys_madvise, "madvise" }, /* 75 */ - { 1, 0, sys_vhangup, "vhangup" }, /* 76 */ - { 2, TF, sys_truncate64, "truncate64" }, /* 77 */ + { 0, 0, sys_vhangup, "vhangup" }, /* 76 */ + { 3, TF, sys_truncate64, "truncate64" }, /* 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 */ + { 0, 0, sys_getpgrp, "getpgrp" }, /* 81 */ + { 2, 0, sys_setgroups, "setgroups32" }, /* 82 */ { 3, 0, sys_setitimer, "setitimer" }, /* 83 */ - { 0, 0, printargs, "SYS_84" }, /* 84 */ + { 2, 0, sys_ftruncate, "ftruncate64" }, /* 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 */ + { 1, 0, sys_setuid, "setuid32" }, /* 87 */ + { 2, 0, sys_sethostname,"sethostname" }, /* 88 */ + { 1, 0, sys_setgid, "setgid32" }, /* 89 */ { 2, 0, sys_dup2, "dup2" }, /* 90 */ - { 2, 0, printargs, "getdopt" }, /* 91 */ + { 1, 0, sys_setfsuid, "setfsuid32" }, /* 91 */ { 3, 0, sys_fcntl, "fcntl" }, /* 92 */ - { 5, 0, sys_oldselect, "select" }, /* 93 */ - { 2, 0, printargs, "setdopt" }, /* 94 */ + { 5, 0, sys_select, "select" }, /* 93 */ + { 1, 0, sys_setfsgid, "setfsgid32" }, /* 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 */ - { 0, TS, printargs, "rt_sigreturn" }, /* 101 */ - { 5, TS, sys_rt_sigaction,"rt_sigaction" }, /* 102 */ + { 1, TS, printargs, "rt_sigreturn" }, /* 101 */ + { 4, TS, sys_rt_sigaction,"rt_sigaction" }, /* 102 */ { 4, TS, sys_rt_sigprocmask,"rt_sigprocmask" }, /* 103 */ { 2, TS, sys_rt_sigpending,"rt_sigpending" }, /* 104 */ { 4, TS, sys_rt_sigtimedwait,"rt_sigtimedwait" },/* 105 */ { 3, TS, sys_rt_sigqueueinfo,"rt_sigqueueinfo" },/* 106 */ { 2, TS, sys_rt_sigsuspend,"rt_sigsuspend" }, /* 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 */ + { 3, TS, sys_setresuid, "setresuid" }, /* 108 */ + { 3, TS, sys_getresuid, "getresuid" }, /* 109 */ + { 3, TS, sys_setresgid, "setresgid" }, /* 110 */ + { 3, TS, sys_getresgid, "getresgid" }, /* 111 */ + { 2, TS, sys_setresgid, "setresgid32" }, /* 112 */ + { 5, TN, sys_recvmsg, "recvmsg" }, /* 113 */ + { 5, TN, sys_sendmsg, "sendmsg" }, /* 114 */ + { 2, 0, sys_getgroups, "getgroups32" }, /* 115 */ { 2, 0, sys_gettimeofday,"gettimeofday" }, /* 116 */ { 2, 0, sys_getrusage, "getrusage" }, /* 117 */ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ - { 2, 0, sys_getcwd, "getcwd" }, /* 119 */ + { 2, TF, sys_getcwd, "getcwd" }, /* 119 */ { 3, 0, sys_readv, "readv" }, /* 120 */ { 3, 0, sys_writev, "writev" }, /* 121 */ { 2, 0, sys_settimeofday,"settimeofday" }, /* 122 */ @@ -133,20 +133,19 @@ { 2, TF, sys_lstat64, "lstat64" }, /* 132 */ { 6, TN, sys_sendto, "sendto" }, /* 133 */ { 2, TN, sys_shutdown, "shutdown" }, /* 134 */ - { 5, TN, sys_socketpair, "socketpair" }, /* 135 */ + { 4, TN, sys_socketpair, "socketpair" }, /* 135 */ { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ { 2, TF, sys_utimes, "utimes" }, /* 138 */ { 2, TF, sys_stat64, "stat64" }, /* 139 */ - { 2, 0, sys_adjtime, "adjtime" }, /* 140 */ + { 4, TF, sys_sendfile64, "sendfile64" }, /* 140 */ { 3, TN, sys_getpeername,"getpeername" }, /* 141 */ - { 2, 0, sys_gethostid, "gethostid" }, /* 142 */ - { 0, 0, printargs, "SYS_143" }, /* 143 */ + { 5, 0, sys_futex, "futex" }, /* 142 */ + { 0, 0, printargs, "gettid" }, /* 143 */ { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */ { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ { 2, TF, sys_pivotroot, "pivot_root" }, /* 146 */ -/* { 2, TS, sys_killpg, "killpg" }, 146 SunOS killpkg, overridden by Linux pivot_root */ - { 5, 0, printargs, "prctl" }, /* 147 */ + { 5, 0, sys_prctl, "prctl" }, /* 147 */ { 5, 0, printargs, "pciconfig_read" }, /* 148 */ { 5, 0, printargs, "pciconfig_write" }, /* 149 */ { 3, TN, sys_getsockname,"getsockname" }, /* 150 */ @@ -154,50 +153,47 @@ { 4, TN, sys_putmsg, "putmsg" }, /* 152 */ { 3, 0, sys_poll, "poll" }, /* 153 */ { 4, 0, sys_getdents64, "getdents64" }, /* 154 */ - { 1, 0, printargs, "nfssvc" }, /* 155 */ + { 3, 0, sys_fcntl, "fcntl64" }, /* 155 */ { 4, 0, printargs, "getdirentries" }, /* 156 */ { 2, TF, sys_statfs, "statfs" }, /* 157 */ { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */ { 1, TF, sys_umount, "oldumount" }, /* 159 */ - { 0, 0, printargs, "async_daemon" }, /* 160 */ - { 2, 0, printargs, "getfh" }, /* 161 */ + { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 160 */ + { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 161 */ { 2, 0, printargs, "getdomainname" }, /* 162 */ { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */ - { 5, 0, printargs, "SYS_164" }, /* 164 */ + { 5, 0, printargs, "utrap_install" }, /* 164 */ { 4, 0, sys_quotactl, "quotactl" }, /* 165 */ - { 2, 0, printargs, "exportfs" }, /* 166 */ - { 4, TF, sys_mount, "mount" }, /* 167 */ + { 1, 0, printargs, "set_tid_address" }, /* 166 */ + { 5, 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 */ + { 5, TF, sys_setxattr, "setxattr" }, /* 169 */ + { 5, TF, sys_setxattr, "lsetxattr" }, /* 170 */ + { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 171 */ + { 4, TF, sys_getxattr, "getxattr" }, /* 172 */ + { 4, TF, sys_getxattr, "lgetxattr" }, /* 173 */ { 3, 0, sys_getdents, "getdents" }, /* 174 */ - { 1, 0, sys_setsid, "setsid" }, /* 175 */ + { 0, 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 */ + { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 177 */ + { 3, TF, sys_listxattr, "listxattr" }, /* 178 */ + { 3, TF, sys_listxattr, "llistxattr" }, /* 179 */ + { 3, 0, sys_flistxattr, "flistxattr" }, /* 180 */ + { 2, TF, sys_removexattr,"removexattr" }, /* 181 */ + { 2, TF, sys_removexattr,"lremovexattr" }, /* 182 */ { 1, TS, sys_sigpending, "sigpending" }, /* 183 */ { 5, 0, sys_query_module,"query_module" }, /* 184 */ { 2, 0, sys_setpgid, "setpgid" }, /* 185 */ - { 2, TF, printargs, "pathconf" }, /* 186 */ - { 2, 0, printargs, "fpathconf" }, /* 187 */ - { 1, 0, printargs, "sysconf" }, /* 188 */ + { 2, 0, sys_fremovexattr,"fremovexattr" }, /* 186 */ + { 2, TS, sys_kill, "tkill" }, /* 187 */ + { 1, TP, sys_exit, "exit_group" }, /* 188 */ { 1, 0, sys_uname, "uname" }, /* 189 */ - - /* Linux only system calls */ - - { 4, 0, sys_init_module,"init_module" }, /* 190 */ + { 2, 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 */ + { 5, 0, sys_remap_file_pages,"remap_file_pages" },/* 192 */ + { 1, 0, printargs, "epoll_create" }, /* 193 */ + { 4, 0, printargs, "epoll_ctl" }, /* 194 */ + { 4, 0, printargs, "epoll_wait" }, /* 195 */ { 2, 0, sys_ulimit, "ulimit" }, /* 196 */ { 0, 0, sys_getppid, "getppid" }, /* 197 */ { 3, TS, sys_sigaction, "sigaction" }, /* 198 */ @@ -207,13 +203,13 @@ { 2, TF, sys_lstat, "lstat" }, /* 202 */ { 1, TF, sys_uselib, "uselib" }, /* 203 */ { 3, 0, sys_readdir, "readdir" }, /* 204 */ - { 3, 0, sys_ioperm, "ioperm" }, /* 205 */ + { 4, 0, sys_readahead, "readahead" }, /* 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_vm86old, "vm86" }, /* 211 */ + { 4, 0, printargs, "lookup_dcookie" }, /* 208 */ + { 6, 0, printargs, "fadvise64" }, /* 209 */ + { 6, 0, printargs, "fadvise64_64" }, /* 210 */ + { 3, TS, sys_tgkill, "tgkill" }, /* 211 */ { 3, TP, sys_waitpid, "waitpid" }, /* 212 */ { 1, 0, sys_swapoff, "swapoff" }, /* 213 */ { 1, 0, sys_sysinfo, "sysinfo" }, /* 214 */ @@ -234,41 +230,41 @@ { 1, 0, sys_setfsgid, "setfsgid" }, /* 229 */ { 5, 0, sys_select, "select" }, /* 230 */ { 1, 0, sys_time, "time" }, /* 231 */ - { 2, TF, printargs, "nis_syscall" }, /* 232 */ + { 2, TF, sys_stat, "stat" }, /* 232 */ { 1, 0, sys_stime, "stime" }, /* 233 */ - { 2, 0, printargs, "nis_syscall" }, /* 234 */ - { 2, 0, printargs, "nis_syscall" }, /* 235 */ + { 3, TF, sys_statfs64, "statfs64" }, /* 234 */ + { 3, 0, sys_fstatfs64, "fstatfs64" }, /* 235 */ { 5, 0, sys_llseek, "_llseek" }, /* 236 */ - { 5, 0, sys_mlock, "mlock" }, /* 237 */ - { 5, 0, sys_munlock, "munlock" }, /* 238 */ - { 5, 0, sys_mlockall, "mlockall" }, /* 239 */ + { 2, 0, sys_mlock, "mlock" }, /* 237 */ + { 2, 0, sys_munlock, "munlock" }, /* 238 */ + { 2, 0, sys_mlockall, "mlockall" }, /* 239 */ { 0, 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, "nfsservctl" }, /* 254 */ + { 2, 0, sys_sched_setparam,"sched_setparam"}, /* 241 */ + { 2, 0, sys_sched_getparam,"sched_getparam"}, /* 242 */ + { 3, 0, sys_sched_setscheduler,"sched_setscheduler"},/* 243 */ + { 1, 0, sys_sched_getscheduler,"sched_getscheduler"},/* 244 */ + { 0, 0, sys_sched_yield,"sched_yield" }, /* 245 */ + { 1,0,sys_sched_get_priority_max,"sched_get_priority_max"},/* 246 */ + { 1,0,sys_sched_get_priority_min,"sched_get_priority_min"},/* 247 */ + { 2, 0,sys_sched_rr_get_interval,"sched_rr_get_interval"},/* 248 */ + { 2, 0, sys_nanosleep, "nanosleep" }, /* 249 */ + { 4, 0, sys_mremap, "mremap" }, /* 250 */ + { 1, 0, sys_sysctl, "_sysctl" }, /* 251 */ + { 1, 0, sys_getsid, "getsid" }, /* 252 */ + { 1, 0, sys_fdatasync, "fdatasync" }, /* 253 */ + { 3, 0, printargs, "nfsservctl" }, /* 254 */ { 5, 0, printargs, "aplib" }, /* 255 */ - { 5, 0, printargs, "nis_syscall" }, /* 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 */ + { 2, 0, sys_clock_settime,"clock_settime" }, /* 256 */ + { 2, 0, sys_clock_gettime,"clock_gettime" }, /* 257 */ + { 2, 0, sys_clock_getres,"clock_getres" }, /* 258 */ + { 4, 0, sys_clock_nanosleep,"clock_nanosleep" },/* 259 */ + { 3, 0, sys_sched_setaffinity,"sched_setaffinity" },/* 260 */ + { 3, 0, sys_sched_getaffinity,"sched_getaffinity" },/* 261 */ + { 4, 0, sys_timer_settime,"timer_settime" }, /* 262 */ + { 2, 0, sys_timer_gettime,"timer_gettime" }, /* 263 */ + { 1, 0, sys_timer_getoverrun,"timer_getoverrun" },/* 264 */ + { 1, 0, sys_timer_delete,"timer_delete" }, /* 265 */ + { 3, 0, sys_timer_create,"timer_create" }, /* 266 */ { 5, 0, printargs, "SYS_267" }, /* 267 */ { 5, 0, printargs, "SYS_268" }, /* 268 */ { 5, 0, printargs, "SYS_269" }, /* 269 */ diff --git a/linux/sparc64/dummy2.h b/linux/sparc64/dummy2.h new file mode 100644 index 00000000..8ff464b9 --- /dev/null +++ b/linux/sparc64/dummy2.h @@ -0,0 +1,282 @@ +/* + * Copyright (c) 1993, 1994, 1995 Rick Sladkey + * 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/sparc64/errnoent.h b/linux/sparc64/errnoent.h new file mode 100644 index 00000000..d2436998 --- /dev/null +++ b/linux/sparc64/errnoent.h @@ -0,0 +1,127 @@ + "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 */ + "ENOMEDIUM", /* 125 */ + "EMEDIUMTYPE", /* 126 */ diff --git a/linux/sparc64/errnoent1.h b/linux/sparc64/errnoent1.h new file mode 100644 index 00000000..4d750bdb --- /dev/null +++ b/linux/sparc64/errnoent1.h @@ -0,0 +1 @@ +#include "../svr4/errnoent.h" diff --git a/linux/sparc64/errnoent2.h b/linux/sparc64/errnoent2.h new file mode 100644 index 00000000..d2436998 --- /dev/null +++ b/linux/sparc64/errnoent2.h @@ -0,0 +1,127 @@ + "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 */ + "ENOMEDIUM", /* 125 */ + "EMEDIUMTYPE", /* 126 */ diff --git a/linux/sparc64/ioctlent.h b/linux/sparc64/ioctlent.h new file mode 100644 index 00000000..c1d6b8a4 --- /dev/null +++ b/linux/sparc64/ioctlent.h @@ -0,0 +1,838 @@ + {"linux/fs.h", "FIBMAP", 0x1}, + {"linux/fs.h", "FIGETBSZ", 0x2}, + {"linux/fd.h", "FDGETPRM", 0x204}, + {"linux/fd.h", "FDGETMAXERRS", 0x20e}, + {"linux/fd.h", "FDGETDRVTYP", 0x20f}, + {"linux/fd.h", "FDGETDRVPRM", 0x211}, + {"linux/fd.h", "FDGETDRVSTAT", 0x212}, + {"linux/fd.h", "FDPOLLDRVSTAT", 0x213}, + {"linux/fd.h", "FDGETFDCSTAT", 0x215}, + {"linux/fd.h", "FDWERRORGET", 0x217}, + {"linux/fd.h", "FDCLRPRM", 0x241}, + {"linux/fd.h", "FDSETPRM", 0x242}, + {"linux/fd.h", "FDDEFPRM", 0x243}, + {"linux/fd.h", "FDMSGON", 0x245}, + {"linux/fd.h", "FDMSGOFF", 0x246}, + {"linux/fd.h", "FDFMTBEG", 0x247}, + {"linux/fd.h", "FDFMTTRK", 0x248}, + {"linux/fd.h", "FDFMTEND", 0x249}, + {"linux/fd.h", "FDSETEMSGTRESH", 0x24a}, + {"linux/fd.h", "FDFLUSH", 0x24b}, + {"linux/fd.h", "FDSETMAXERRS", 0x24c}, + {"linux/fd.h", "FDRESET", 0x254}, + {"linux/fd.h", "FDWERRORCLR", 0x256}, + {"linux/fd.h", "FDRAWCMD", 0x258}, + {"linux/fd.h", "FDTWADDLE", 0x259}, + {"linux/fd.h", "FDEJECT", 0x25a}, + {"linux/fd.h", "FDSETDRVPRM", 0x290}, + {"linux/umsdos_fs.h", "UMSDOS_READDIR_DOS", 0x4d2}, + {"linux/umsdos_fs.h", "UMSDOS_UNLINK_DOS", 0x4d3}, + {"linux/umsdos_fs.h", "UMSDOS_RMDIR_DOS", 0x4d4}, + {"linux/umsdos_fs.h", "UMSDOS_STAT_DOS", 0x4d5}, + {"linux/umsdos_fs.h", "UMSDOS_CREAT_EMD", 0x4d6}, + {"linux/umsdos_fs.h", "UMSDOS_UNLINK_EMD", 0x4d7}, + {"linux/umsdos_fs.h", "UMSDOS_READDIR_EMD", 0x4d8}, + {"linux/umsdos_fs.h", "UMSDOS_GETVERSION", 0x4d9}, + {"linux/umsdos_fs.h", "UMSDOS_INIT_EMD", 0x4da}, + {"linux/umsdos_fs.h", "UMSDOS_DOS_SETUP", 0x4db}, + {"linux/umsdos_fs.h", "UMSDOS_RENAME_DOS", 0x4dc}, + {"linux/fs.h", "BLKROSET", 0x125d}, + {"linux/fs.h", "BLKROGET", 0x125e}, + {"linux/fs.h", "BLKRRPART", 0x125f}, + {"linux/fs.h", "BLKGETSIZE", 0x1260}, + {"linux/fs.h", "BLKFLSBUF", 0x1261}, + {"linux/fs.h", "BLKRASET", 0x1262}, + {"linux/fs.h", "BLKRAGET", 0x1263}, + {"linux/fs.h", "BLKFRASET", 0x1264}, + {"linux/fs.h", "BLKFRAGET", 0x1265}, + {"linux/fs.h", "BLKSECTSET", 0x1266}, + {"linux/fs.h", "BLKSECTGET", 0x1267}, + {"linux/fs.h", "BLKSSZGET", 0x1268}, + {"linux/blkpg.h", "BLKPG", 0x1269}, + {"linux/fs.h", "BLKPG", 0x1269}, + {"linux/elevator.h", "BLKELVGET", 0x126a}, + {"linux/fs.h", "BLKELVGET", 0x126a}, + {"linux/elevator.h", "BLKELVSET", 0x126b}, + {"linux/fs.h", "BLKELVSET", 0x126b}, + {"linux/fs.h", "BLKBSZGET", 0x1270}, + {"linux/fs.h", "BLKBSZSET", 0x1271}, + {"linux/fs.h", "BLKGETSIZE64", 0x1272}, + {"linux/agpgart.h", "AGPIOC_INFO", 0x4100}, + {"linux/agpgart.h", "AGPIOC_ACQUIRE", 0x4101}, + {"linux/apm_bios.h", "APM_IOC_STANDBY", 0x4101}, + {"linux/agpgart.h", "AGPIOC_RELEASE", 0x4102}, + {"linux/apm_bios.h", "APM_IOC_SUSPEND", 0x4102}, + {"linux/agpgart.h", "AGPIOC_SETUP", 0x4103}, + {"linux/agpgart.h", "AGPIOC_RESERVE", 0x4104}, + {"linux/agpgart.h", "AGPIOC_PROTECT", 0x4105}, + {"linux/agpgart.h", "AGPIOC_ALLOCATE", 0x4106}, + {"linux/agpgart.h", "AGPIOC_DEALLOCATE", 0x4107}, + {"linux/agpgart.h", "AGPIOC_BIND", 0x4108}, + {"linux/agpgart.h", "AGPIOC_UNBIND", 0x4109}, + {"linux/pmu.h", "PMU_IOC_SLEEP", 0x4200}, + {"linux/cciss_ioctl.h", "CCISS_GETPCIINFO", 0x4201}, + {"linux/pmu.h", "PMU_IOC_GET_BACKLIGHT", 0x4201}, + {"linux/cciss_ioctl.h", "CCISS_GETINTINFO", 0x4202}, + {"linux/pmu.h", "PMU_IOC_SET_BACKLIGHT", 0x4202}, + {"linux/cciss_ioctl.h", "CCISS_SETINTINFO", 0x4203}, + {"linux/pmu.h", "PMU_IOC_GET_MODEL", 0x4203}, + {"linux/cciss_ioctl.h", "CCISS_GETNODENAME", 0x4204}, + {"linux/pmu.h", "PMU_IOC_HAS_ADB", 0x4204}, + {"linux/cciss_ioctl.h", "CCISS_SETNODENAME", 0x4205}, + {"linux/pmu.h", "PMU_IOC_CAN_SLEEP", 0x4205}, + {"linux/cciss_ioctl.h", "CCISS_GETHEARTBEAT", 0x4206}, + {"linux/cciss_ioctl.h", "CCISS_GETBUSTYPES", 0x4207}, + {"linux/cciss_ioctl.h", "CCISS_GETFIRMVER", 0x4208}, + {"linux/cciss_ioctl.h", "CCISS_GETDRIVVER", 0x4209}, + {"linux/cciss_ioctl.h", "CCISS_REVALIDVOLS", 0x420a}, + {"linux/cciss_ioctl.h", "CCISS_PASSTHRU", 0x420b}, + {"linux/soundcard.h", "SNDCTL_COPR_RESET", 0x4300}, + {"linux/capi.h", "CAPI_REGISTER", 0x4301}, + {"linux/soundcard.h", "SNDCTL_COPR_LOAD", 0x4301}, + {"linux/soundcard.h", "SNDCTL_COPR_RDATA", 0x4302}, + {"linux/soundcard.h", "SNDCTL_COPR_RCODE", 0x4303}, + {"linux/soundcard.h", "SNDCTL_COPR_WDATA", 0x4304}, + {"linux/soundcard.h", "SNDCTL_COPR_WCODE", 0x4305}, + {"linux/capi.h", "CAPI_GET_MANUFACTURER", 0x4306}, + {"linux/soundcard.h", "SNDCTL_COPR_RUN", 0x4306}, + {"linux/capi.h", "CAPI_GET_VERSION", 0x4307}, + {"linux/soundcard.h", "SNDCTL_COPR_HALT", 0x4307}, + {"linux/capi.h", "CAPI_GET_SERIAL", 0x4308}, + {"linux/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x4308}, + {"linux/capi.h", "CAPI_GET_PROFILE", 0x4309}, + {"linux/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4309}, + {"linux/capi.h", "CAPI_MANUFACTURER_CMD", 0x4320}, + {"linux/capi.h", "CAPI_GET_ERRCODE", 0x4321}, + {"linux/capi.h", "CAPI_INSTALLED", 0x4322}, + {"linux/capi.h", "CAPI_GET_FLAGS", 0x4323}, + {"linux/capi.h", "CAPI_SET_FLAGS", 0x4324}, + {"linux/capi.h", "CAPI_CLR_FLAGS", 0x4325}, + {"linux/capi.h", "CAPI_NCCI_OPENCOUNT", 0x4326}, + {"linux/capi.h", "CAPI_NCCI_GETUNIT", 0x4327}, + {"linux/input.h", "EVIOCGVERSION", 0x4501}, + {"linux/input.h", "EVIOCGID", 0x4502}, + {"linux/input.h", "EVIOCGREP", 0x4503}, + {"linux/input.h", "EVIOCSREP", 0x4503}, + {"linux/input.h", "EVIOCGKEYCODE", 0x4504}, + {"linux/input.h", "EVIOCSKEYCODE", 0x4504}, + {"linux/input.h", "EVIOCGKEY", 0x4505}, + {"linux/input.h", "EVIOCGBUS", 0x4507}, + {"linux/input.h", "EVIOCRMFF", 0x4581}, + {"linux/input.h", "EVIOCSGAIN", 0x4582}, + {"linux/input.h", "EVIOCSAUTOCENTER", 0x4583}, + {"linux/input.h", "EVIOCGEFFECTS", 0x4584}, + {"linux/fb.h", "FBIOGET_VBLANK", 0x4612}, + {"linux/hiddev.h", "HIDIOCGVERSION", 0x4801}, + {"linux/hiddev.h", "HIDIOCAPPLICATION", 0x4802}, + {"linux/hiddev.h", "HIDIOCGDEVINFO", 0x4803}, + {"linux/hiddev.h", "HIDIOCGSTRING", 0x4804}, + {"linux/hiddev.h", "HIDIOCINITREPORT", 0x4805}, + {"linux/hiddev.h", "HIDIOCGREPORT", 0x4807}, + {"linux/hiddev.h", "HIDIOCSREPORT", 0x4808}, + {"linux/hiddev.h", "HIDIOCGREPORTINFO", 0x4809}, + {"linux/hiddev.h", "HIDIOCGFIELDINFO", 0x480a}, + {"linux/hiddev.h", "HIDIOCGUSAGE", 0x480b}, + {"linux/hiddev.h", "HIDIOCSUSAGE", 0x480c}, + {"linux/hiddev.h", "HIDIOCGUCODE", 0x480d}, + {"linux/isdn.h", "IIOCNETAIF", 0x4901}, + {"linux/isdn.h", "IIOCNETDIF", 0x4902}, + {"linux/isdn.h", "IIOCNETSCF", 0x4903}, + {"linux/isdn.h", "IIOCNETGCF", 0x4904}, + {"linux/isdn.h", "IIOCNETANM", 0x4905}, + {"linux/isdn.h", "IIOCNETDNM", 0x4906}, + {"linux/isdn.h", "IIOCNETGNM", 0x4907}, + {"linux/isdn.h", "IIOCGETSET", 0x4908}, + {"linux/isdn.h", "IIOCSETSET", 0x4909}, + {"linux/isdn.h", "IIOCSETVER", 0x490a}, + {"linux/isdn.h", "IIOCNETHUP", 0x490b}, + {"linux/isdn.h", "IIOCSETGST", 0x490c}, + {"linux/isdn.h", "IIOCSETBRJ", 0x490d}, + {"linux/isdn.h", "IIOCSIGPRF", 0x490e}, + {"linux/isdn.h", "IIOCGETPRF", 0x490f}, + {"linux/isdn.h", "IIOCSETPRF", 0x4910}, + {"linux/isdn.h", "IIOCGETMAP", 0x4911}, + {"linux/isdn.h", "IIOCSETMAP", 0x4912}, + {"linux/isdn.h", "IIOCNETASL", 0x4913}, + {"linux/isdn.h", "IIOCNETDIL", 0x4914}, + {"linux/isdn.h", "IIOCGETCPS", 0x4915}, + {"linux/isdn.h", "IIOCGETDVR", 0x4916}, + {"linux/isdn.h", "IIOCNETLCR", 0x4917}, + {"linux/isdn.h", "IIOCNETDWRSET", 0x4918}, + {"linux/isdn.h", "IIOCNETALN", 0x4920}, + {"linux/isdn.h", "IIOCNETDLN", 0x4921}, + {"linux/isdn.h", "IIOCNETGPN", 0x4922}, + {"linux/isdn.h", "IIOCDBGVAR", 0x497f}, + {"linux/isdn.h", "IIOCDRVCTL", 0x4980}, + {"linux/soundcard.h", "SOUND_MIXER_INFO", 0x4d65}, + {"linux/soundcard.h", "SOUND_OLD_MIXER_INFO", 0x4d65}, + {"linux/soundcard.h", "SOUND_MIXER_ACCESS", 0x4d66}, + {"linux/soundcard.h", "SOUND_MIXER_AGC", 0x4d67}, + {"linux/soundcard.h", "SOUND_MIXER_3DSE", 0x4d68}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE1", 0x4d6f}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE2", 0x4d70}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE3", 0x4d71}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE4", 0x4d72}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE5", 0x4d73}, + {"linux/soundcard.h", "SOUND_MIXER_GETLEVELS", 0x4d74}, + {"linux/soundcard.h", "SOUND_MIXER_SETLEVELS", 0x4d75}, + {"linux/soundcard.h", "OSS_GETVERSION", 0x4d76}, + {"linux/soundcard.h", "SNDCTL_DSP_RESET", 0x5000}, + {"linux/soundcard.h", "SNDCTL_DSP_SYNC", 0x5001}, + {"linux/soundcard.h", "SNDCTL_DSP_SPEED", 0x5002}, + {"linux/soundcard.h", "SOUND_PCM_READ_RATE", 0x5002}, + {"linux/soundcard.h", "SNDCTL_DSP_STEREO", 0x5003}, + {"linux/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x5004}, + {"linux/soundcard.h", "SNDCTL_DSP_SETFMT", 0x5005}, + {"linux/soundcard.h", "SOUND_PCM_READ_BITS", 0x5005}, + {"linux/soundcard.h", "SNDCTL_DSP_CHANNELS", 0x5006}, + {"linux/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x5006}, + {"linux/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0x5007}, + {"linux/soundcard.h", "SOUND_PCM_READ_FILTER", 0x5007}, + {"linux/soundcard.h", "SNDCTL_DSP_POST", 0x5008}, + {"linux/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0x5009}, + {"linux/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0x500a}, + {"linux/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x500b}, + {"linux/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x500c}, + {"linux/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x500d}, + {"linux/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x500e}, + {"linux/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x500f}, + {"linux/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x5010}, + {"linux/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x5010}, + {"linux/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x5011}, + {"linux/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x5012}, + {"linux/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x5013}, + {"linux/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x5014}, + {"linux/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x5015}, + {"linux/soundcard.h", "SNDCTL_DSP_SETDUPLEX", 0x5016}, + {"linux/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x5017}, + {"linux/soundcard.h", "SNDCTL_DSP_PROFILE", 0x5017}, + {"linux/soundcard.h", "SNDCTL_DSP_GETCHANNELMASK", 0x5040}, + {"linux/soundcard.h", "SNDCTL_DSP_BIND_CHANNEL", 0x5041}, + {"linux/soundcard.h", "SNDCTL_DSP_SETSPDIF", 0x5042}, + {"linux/soundcard.h", "SNDCTL_DSP_GETSPDIF", 0x5043}, + {"linux/soundcard.h", "SNDCTL_SEQ_RESET", 0x5100}, + {"linux/soundcard.h", "SNDCTL_SEQ_SYNC", 0x5101}, + {"linux/soundcard.h", "SNDCTL_SYNTH_INFO", 0x5102}, + {"linux/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0x5103}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x5104}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x5105}, + {"linux/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x5106}, + {"linux/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x5107}, + {"linux/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x5108}, + {"linux/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x5109}, + {"linux/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x510a}, + {"linux/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x510b}, + {"linux/soundcard.h", "SNDCTL_MIDI_INFO", 0x510c}, + {"linux/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x510d}, + {"linux/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0x510e}, + {"linux/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x510f}, + {"linux/soundcard.h", "SNDCTL_SEQ_PANIC", 0x5111}, + {"linux/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x5112}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETTIME", 0x5113}, + {"linux/soundcard.h", "SNDCTL_SYNTH_ID", 0x5114}, + {"linux/soundcard.h", "SNDCTL_SYNTH_CONTROL", 0x5115}, + {"linux/soundcard.h", "SNDCTL_SYNTH_REMOVESAMPLE", 0x5116}, + {"linux/random.h", "RNDGETENTCNT", 0x5200}, + {"linux/random.h", "RNDADDTOENTCNT", 0x5201}, + {"linux/random.h", "RNDGETPOOL", 0x5202}, + {"linux/random.h", "RNDADDENTROPY", 0x5203}, + {"linux/random.h", "RNDZAPENTCNT", 0x5204}, + {"linux/random.h", "RNDCLEARPOOL", 0x5206}, + {"asm/ioctls.h", "TCGETS", 0x5401}, + {"linux/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0x5401}, + {"asm/ioctls.h", "TCSETS", 0x5402}, + {"linux/soundcard.h", "SNDCTL_TMR_START", 0x5402}, + {"asm/ioctls.h", "TCSETSW", 0x5403}, + {"linux/soundcard.h", "SNDCTL_TMR_STOP", 0x5403}, + {"asm/ioctls.h", "TCSETSF", 0x5404}, + {"linux/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x5404}, + {"asm/ioctls.h", "TCGETA", 0x5405}, + {"linux/soundcard.h", "SNDCTL_TMR_TEMPO", 0x5405}, + {"asm/ioctls.h", "TCSETA", 0x5406}, + {"linux/soundcard.h", "SNDCTL_TMR_SOURCE", 0x5406}, + {"asm/ioctls.h", "TCSETAW", 0x5407}, + {"linux/soundcard.h", "SNDCTL_TMR_METRONOME", 0x5407}, + {"asm/ioctls.h", "TCSETAF", 0x5408}, + {"linux/soundcard.h", "SNDCTL_TMR_SELECT", 0x5408}, + {"asm/ioctls.h", "TCSBRK", 0x5409}, + {"asm/ioctls.h", "TCXONC", 0x540a}, + {"asm/ioctls.h", "TCFLSH", 0x540b}, + {"asm/ioctls.h", "TIOCEXCL", 0x540c}, + {"asm/ioctls.h", "TIOCNXCL", 0x540d}, + {"asm/ioctls.h", "TIOCSCTTY", 0x540e}, + {"asm/ioctls.h", "TIOCGPGRP", 0x540f}, + {"asm/ioctls.h", "TIOCSPGRP", 0x5410}, + {"asm/ioctls.h", "TIOCOUTQ", 0x5411}, + {"asm/ioctls.h", "TIOCSTI", 0x5412}, + {"asm/ioctls.h", "TIOCGWINSZ", 0x5413}, + {"asm/ioctls.h", "TIOCSWINSZ", 0x5414}, + {"asm/ioctls.h", "TIOCMGET", 0x5415}, + {"asm/ioctls.h", "TIOCMBIS", 0x5416}, + {"asm/ioctls.h", "TIOCMBIC", 0x5417}, + {"asm/ioctls.h", "TIOCMSET", 0x5418}, + {"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419}, + {"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a}, + {"asm/ioctls.h", "FIONREAD", 0x541b}, + {"asm/ioctls.h", "TIOCLINUX", 0x541c}, + {"asm/ioctls.h", "TIOCCONS", 0x541d}, + {"asm/ioctls.h", "TIOCGSERIAL", 0x541e}, + {"asm/ioctls.h", "TIOCSSERIAL", 0x541f}, + {"asm/ioctls.h", "TIOCPKT", 0x5420}, + {"asm/ioctls.h", "FIONBIO", 0x5421}, + {"asm/ioctls.h", "TIOCNOTTY", 0x5422}, + {"asm/ioctls.h", "TIOCSETD", 0x5423}, + {"asm/ioctls.h", "TIOCGETD", 0x5424}, + {"asm/ioctls.h", "TCSBRKP", 0x5425}, + {"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426}, + {"asm/ioctls.h", "TIOCSBRK", 0x5427}, + {"asm/ioctls.h", "TIOCCBRK", 0x5428}, + {"asm/ioctls.h", "TIOCGSID", 0x5429}, + {"asm/ioctls.h", "TIOCGPTN", 0x5430}, + {"asm/ioctls.h", "TIOCSPTLCK", 0x5431}, + {"asm/ioctls.h", "FIONCLEX", 0x5450}, + {"asm/ioctls.h", "FIOCLEX", 0x5451}, + {"asm/ioctls.h", "FIOASYNC", 0x5452}, + {"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}, + {"asm/ioctls.h", "TIOCMIWAIT", 0x545c}, + {"asm/ioctls.h", "TIOCGICOUNT", 0x545d}, + {"asm/ioctls.h", "TIOCGHAYESESP", 0x545e}, + {"asm/ioctls.h", "TIOCSHAYESESP", 0x545f}, + {"linux/if_tun.h", "TUNSETNOCSUM", 0x54c8}, + {"linux/if_tun.h", "TUNSETDEBUG", 0x54c9}, + {"linux/if_tun.h", "TUNSETIFF", 0x54ca}, + {"linux/if_tun.h", "TUNSETPERSIST", 0x54cb}, + {"linux/if_tun.h", "TUNSETOWNER", 0x54cc}, + {"linux/usbdevice_fs.h", "USBDEVFS_CONTROL", 0x5500}, + {"linux/usbdevice_fs.h", "USBDEVFS_BULK", 0x5502}, + {"linux/usbdevice_fs.h", "USBDEVFS_RESETEP", 0x5503}, + {"linux/usbdevice_fs.h", "USBDEVFS_SETINTERFACE", 0x5504}, + {"linux/usbdevice_fs.h", "USBDEVFS_SETCONFIGURATION", 0x5505}, + {"linux/usbdevice_fs.h", "USBDEVFS_GETDRIVER", 0x5508}, + {"linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", 0x550a}, + {"linux/usbdevice_fs.h", "USBDEVFS_DISCARDURB", 0x550b}, + {"linux/usbdevice_fs.h", "USBDEVFS_REAPURB", 0x550c}, + {"linux/usbdevice_fs.h", "USBDEVFS_REAPURBNDELAY", 0x550d}, + {"linux/usbdevice_fs.h", "USBDEVFS_DISCSIGNAL", 0x550e}, + {"linux/usbdevice_fs.h", "USBDEVFS_CLAIMINTERFACE", 0x550f}, + {"linux/usbdevice_fs.h", "USBDEVFS_RELEASEINTERFACE", 0x5510}, + {"linux/usbdevice_fs.h", "USBDEVFS_CONNECTINFO", 0x5511}, + {"linux/usbdevice_fs.h", "USBDEVFS_IOCTL", 0x5512}, + {"linux/usbdevice_fs.h", "USBDEVFS_HUB_PORTINFO", 0x5513}, + {"linux/usbdevice_fs.h", "USBDEVFS_RESET", 0x5514}, + {"linux/usbdevice_fs.h", "USBDEVFS_CLEAR_HALT", 0x5515}, + {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, + {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, + {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, + {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, + {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, + {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, + {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, + {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, + {"linux/ite_gpio.h", "ITE_GPIO_IN", 0x5a00}, + {"linux/ite_gpio.h", "ITE_GPIO_OUT", 0x5a01}, + {"linux/ite_gpio.h", "ITE_GPIO_INT_CTRL", 0x5a02}, + {"linux/ite_gpio.h", "ITE_GPIO_IN_STATUS", 0x5a03}, + {"linux/ite_gpio.h", "ITE_GPIO_OUT_STATUS", 0x5a04}, + {"linux/ite_gpio.h", "ITE_GPIO_GEN_CTRL", 0x5a05}, + {"linux/ite_gpio.h", "ITE_GPIO_INT_WAIT", 0x5a06}, + {"linux/sonet.h", "SONET_GETSTAT", 0x6110}, + {"linux/sonet.h", "SONET_GETSTATZ", 0x6111}, + {"linux/sonet.h", "SONET_SETDIAG", 0x6112}, + {"linux/sonet.h", "SONET_CLRDIAG", 0x6113}, + {"linux/sonet.h", "SONET_GETDIAG", 0x6114}, + {"linux/sonet.h", "SONET_SETFRAMING", 0x6115}, + {"linux/sonet.h", "SONET_GETFRAMING", 0x6116}, + {"linux/sonet.h", "SONET_GETFRSENSE", 0x6117}, + {"linux/atm_idt77105.h", "IDT77105_GETSTAT", 0x6132}, + {"linux/atm_idt77105.h", "IDT77105_GETSTATZ", 0x6133}, + {"linux/atmdev.h", "ATM_GETSTAT", 0x6150}, + {"linux/atmdev.h", "ATM_GETSTATZ", 0x6151}, + {"linux/atmdev.h", "ATM_GETLOOP", 0x6152}, + {"linux/atmdev.h", "ATM_SETLOOP", 0x6153}, + {"linux/atmdev.h", "ATM_QUERYLOOP", 0x6154}, + {"linux/atm_eni.h", "ENI_MEMDUMP", 0x6160}, + {"linux/atm_nicstar.h", "NS_GETPSTAT", 0x6161}, + {"linux/atm_zatm.h", "ZATM_GETPOOL", 0x6161}, + {"linux/atm_nicstar.h", "NS_SETBUFLEV", 0x6162}, + {"linux/atm_zatm.h", "ZATM_GETPOOLZ", 0x6162}, + {"linux/atm_nicstar.h", "NS_ADJBUFLEV", 0x6163}, + {"linux/atm_zatm.h", "ZATM_SETPOOL", 0x6163}, + {"linux/atm_zatm.h", "ZATM_GETTHIST", 0x6164}, + {"linux/atm_eni.h", "ENI_SETMULT", 0x6167}, + {"linux/atm_tcp.h", "SIOCSIFATMTCP", 0x6180}, + {"linux/atmdev.h", "ATM_GETLINKRATE", 0x6181}, + {"linux/atmdev.h", "ATM_GETNAMES", 0x6183}, + {"linux/atmdev.h", "ATM_GETTYPE", 0x6184}, + {"linux/atmdev.h", "ATM_GETESI", 0x6185}, + {"linux/atmdev.h", "ATM_GETADDR", 0x6186}, + {"linux/atmdev.h", "ATM_RSTADDR", 0x6187}, + {"linux/atmdev.h", "ATM_ADDADDR", 0x6188}, + {"linux/atmdev.h", "ATM_DELADDR", 0x6189}, + {"linux/atmdev.h", "ATM_GETCIRANGE", 0x618a}, + {"linux/atmdev.h", "ATM_SETCIRANGE", 0x618b}, + {"linux/atmdev.h", "ATM_SETESI", 0x618c}, + {"linux/atmdev.h", "ATM_SETESIF", 0x618d}, + {"linux/atm_tcp.h", "ATMTCP_CREATE", 0x618e}, + {"linux/atm_tcp.h", "ATMTCP_REMOVE", 0x618f}, + {"linux/atmlec.h", "ATMLEC_CTRL", 0x61d0}, + {"linux/atmlec.h", "ATMLEC_DATA", 0x61d1}, + {"linux/atmlec.h", "ATMLEC_MCAST", 0x61d2}, + {"linux/atmmpc.h", "ATMMPC_CTRL", 0x61d8}, + {"linux/atmmpc.h", "ATMMPC_DATA", 0x61d9}, + {"linux/atmclip.h", "SIOCMKCLIP", 0x61e0}, + {"linux/atmarp.h", "ATMARPD_CTRL", 0x61e1}, + {"linux/atmarp.h", "ATMARP_MKIP", 0x61e2}, + {"linux/atmarp.h", "ATMARP_SETENTRY", 0x61e3}, + {"linux/atmarp.h", "ATMARP_ENCAP", 0x61e5}, + {"linux/atmsvc.h", "ATMSIGD_CTRL", 0x61f0}, + {"linux/atmdev.h", "ATM_SETSC", 0x61f1}, + {"linux/atmdev.h", "ATM_SETBACKEND", 0x61f2}, + {"linux/coda.h", "CIOC_KERNEL_VERSION", 0x630a}, + {"linux/comstats.h", "COM_GETPORTSTATS", 0x631e}, + {"linux/comstats.h", "COM_CLRPORTSTATS", 0x631f}, + {"linux/comstats.h", "COM_GETBRDSTATS", 0x6320}, + {"linux/comstats.h", "COM_READPORT", 0x6328}, + {"linux/comstats.h", "COM_READBOARD", 0x6329}, + {"linux/comstats.h", "COM_READPANEL", 0x632a}, + {"linux/devfs_fs.h", "DEVFSDIOC_GET_PROTO_REV", 0x6400}, + {"linux/video_decoder.h", "DECODER_GET_CAPABILITIES", 0x6401}, + {"linux/devfs_fs.h", "DEVFSDIOC_SET_EVENT_MASK", 0x6402}, + {"linux/video_decoder.h", "DECODER_GET_STATUS", 0x6402}, + {"linux/devfs_fs.h", "DEVFSDIOC_RELEASE_EVENT_QUEUE", 0x6403}, + {"linux/video_decoder.h", "DECODER_SET_NORM", 0x6403}, + {"linux/devfs_fs.h", "DEVFSDIOC_SET_DEBUG_MASK", 0x6404}, + {"linux/video_decoder.h", "DECODER_SET_INPUT", 0x6404}, + {"linux/video_decoder.h", "DECODER_SET_OUTPUT", 0x6405}, + {"linux/video_decoder.h", "DECODER_ENABLE_OUTPUT", 0x6406}, + {"linux/video_decoder.h", "DECODER_SET_PICTURE", 0x6407}, + {"linux/video_decoder.h", "DECODER_DUMP", 0x64c0}, + {"linux/video_encoder.h", "ENCODER_GET_CAPABILITIES", 0x6501}, + {"linux/video_encoder.h", "ENCODER_SET_NORM", 0x6502}, + {"linux/video_encoder.h", "ENCODER_SET_INPUT", 0x6503}, + {"linux/video_encoder.h", "ENCODER_SET_OUTPUT", 0x6504}, + {"linux/video_encoder.h", "ENCODER_ENABLE_OUTPUT", 0x6505}, + {"linux/ext2_fs.h", "EXT2_IOC_GETFLAGS", 0x6601}, + {"linux/ext3_fs.h", "EXT3_IOC_GETFLAGS", 0x6601}, + {"linux/ext2_fs.h", "EXT2_IOC_SETFLAGS", 0x6602}, + {"linux/ext3_fs.h", "EXT3_IOC_SETFLAGS", 0x6602}, + {"linux/ext3_fs.h", "EXT3_IOC_GETVERSION", 0x6603}, + {"linux/ext3_fs.h", "EXT3_IOC_SETVERSION", 0x6604}, + {"linux/ext3_fs.h", "EXT3_IOC_WAIT_FOR_READONLY", 0x6663}, + {"linux/i2o-dev.h", "I2OGETIOPS", 0x6900}, + {"linux/i2o-dev.h", "I2OHRTGET", 0x6901}, + {"linux/i2o-dev.h", "I2OLCTGET", 0x6902}, + {"linux/i2o-dev.h", "I2OPARMSET", 0x6903}, + {"linux/i2o-dev.h", "I2OPARMGET", 0x6904}, + {"linux/i2o-dev.h", "I2OSWDL", 0x6905}, + {"linux/i2o-dev.h", "I2OSWUL", 0x6906}, + {"linux/i2o-dev.h", "I2OSWDEL", 0x6907}, + {"linux/i2o-dev.h", "I2OVALIDATE", 0x6908}, + {"linux/i2o-dev.h", "I2OHTML", 0x6909}, + {"linux/i2o-dev.h", "I2OEVTREG", 0x690a}, + {"linux/i2o-dev.h", "I2OEVTGET", 0x690b}, + {"linux/i8k.h", "I8K_BIOS_VERSION", 0x6980}, + {"linux/i8k.h", "I8K_MACHINE_ID", 0x6981}, + {"linux/i8k.h", "I8K_POWER_STATUS", 0x6982}, + {"linux/i8k.h", "I8K_FN_STATUS", 0x6983}, + {"linux/i8k.h", "I8K_GET_TEMP", 0x6984}, + {"linux/i8k.h", "I8K_GET_SPEED", 0x6985}, + {"linux/i8k.h", "I8K_GET_FAN", 0x6986}, + {"linux/i8k.h", "I8K_SET_FAN", 0x6987}, + {"linux/joystick.h", "JSIOCGVERSION", 0x6a01}, + {"linux/joystick.h", "JSIOCGAXES", 0x6a11}, + {"linux/joystick.h", "JSIOCGBUTTONS", 0x6a12}, + {"linux/joystick.h", "JSIOCSCORR", 0x6a21}, + {"linux/joystick.h", "JSIOCGCORR", 0x6a22}, + {"linux/joystick.h", "JSIOCSAXMAP", 0x6a31}, + {"linux/joystick.h", "JSIOCGAXMAP", 0x6a32}, + {"linux/joystick.h", "JSIOCSBTNMAP", 0x6a33}, + {"linux/joystick.h", "JSIOCGBTNMAP", 0x6a34}, + {"linux/udf_fs_i.h", "UDF_GETEASIZE", 0x6c40}, + {"linux/udf_fs_i.h", "UDF_GETEABLOCK", 0x6c41}, + {"linux/udf_fs_i.h", "UDF_GETVOLIDENT", 0x6c42}, + {"linux/udf_fs_i.h", "UDF_RELOCATE_BLOCKS", 0x6c43}, + {"linux/soundcard.h", "SNDCTL_MIDI_PRETIME", 0x6d00}, + {"linux/synclink.h", "MGSL_IOCSPARAMS", 0x6d00}, + {"linux/mtio.h", "MTIOCTOP", 0x6d01}, + {"linux/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0x6d01}, + {"linux/synclink.h", "MGSL_IOCGPARAMS", 0x6d01}, + {"linux/mtio.h", "MTIOCGET", 0x6d02}, + {"linux/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0x6d02}, + {"linux/synclink.h", "MGSL_IOCSTXIDLE", 0x6d02}, + {"linux/mtio.h", "MTIOCPOS", 0x6d03}, + {"linux/synclink.h", "MGSL_IOCGTXIDLE", 0x6d03}, + {"linux/mtio.h", "MTIOCGETCONFIG", 0x6d04}, + {"linux/synclink.h", "MGSL_IOCTXENABLE", 0x6d04}, + {"linux/mtio.h", "MTIOCSETCONFIG", 0x6d05}, + {"linux/synclink.h", "MGSL_IOCRXENABLE", 0x6d05}, + {"linux/mtio.h", "MTIOCRDFTSEG", 0x6d06}, + {"linux/synclink.h", "MGSL_IOCTXABORT", 0x6d06}, + {"linux/mtio.h", "MTIOCWRFTSEG", 0x6d07}, + {"linux/synclink.h", "MGSL_IOCGSTATS", 0x6d07}, + {"linux/mtio.h", "MTIOCVOLINFO", 0x6d08}, + {"linux/synclink.h", "MGSL_IOCWAITEVENT", 0x6d08}, + {"linux/mtio.h", "MTIOCGETSIZE", 0x6d09}, + {"linux/synclink.h", "MGSL_IOCLOOPTXDONE", 0x6d09}, + {"linux/mtio.h", "MTIOCFTFORMAT", 0x6d0a}, + {"linux/mtio.h", "MTIOCFTCMD", 0x6d0b}, + {"linux/synclink.h", "MGSL_IOCCLRMODCOUNT", 0x6d0f}, + {"linux/zftape.h", "MTIOC_ZFTAPE_GETBLKSZ", 0x6d68}, + {"linux/ncp_fs.h", "NCP_IOC_NCPREQUEST", 0x6e01}, + {"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID", 0x6e02}, + {"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID2", 0x6e02}, + {"linux/ncp_fs.h", "NCP_IOC_CONN_LOGGED_IN", 0x6e03}, + {"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO", 0x6e04}, + {"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO_V2", 0x6e04}, + {"linux/ncp_fs.h", "NCP_IOC_SIGN_INIT", 0x6e05}, + {"linux/ncp_fs.h", "NCP_IOC_SIGN_WANTED", 0x6e06}, + {"linux/ncp_fs.h", "NCP_IOC_SET_SIGN_WANTED", 0x6e06}, + {"linux/ncp_fs.h", "NCP_IOC_LOCKUNLOCK", 0x6e07}, + {"linux/ncp_fs.h", "NCP_IOC_GETROOT", 0x6e08}, + {"linux/ncp_fs.h", "NCP_IOC_SETROOT", 0x6e08}, + {"linux/ncp_fs.h", "NCP_IOC_GETOBJECTNAME", 0x6e09}, + {"linux/ncp_fs.h", "NCP_IOC_SETOBJECTNAME", 0x6e09}, + {"linux/ncp_fs.h", "NCP_IOC_GETPRIVATEDATA", 0x6e0a}, + {"linux/ncp_fs.h", "NCP_IOC_SETPRIVATEDATA", 0x6e0a}, + {"linux/ncp_fs.h", "NCP_IOC_GETCHARSETS", 0x6e0b}, + {"linux/ncp_fs.h", "NCP_IOC_SETCHARSETS", 0x6e0b}, + {"linux/ncp_fs.h", "NCP_IOC_GETDENTRYTTL", 0x6e0c}, + {"linux/ncp_fs.h", "NCP_IOC_SETDENTRYTTL", 0x6e0c}, + {"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_CONNECTION", 0x6ef8}, + {"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", 0x6ef8}, + {"linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", 0x6ef9}, + {"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_MODE", 0x6efa}, + {"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_MODE", 0x6efa}, + {"linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", 0x6efb}, + {"linux/rtc.h", "RTC_AIE_ON", 0x7001}, + {"linux/rtc.h", "RTC_AIE_OFF", 0x7002}, + {"linux/intermezzo_fs.h", "PRESTO_GETMOUNT", 0x7003}, + {"linux/rtc.h", "RTC_UIE_ON", 0x7003}, + {"linux/intermezzo_fs.h", "PRESTO_SETPID", 0x7004}, + {"linux/rtc.h", "RTC_UIE_OFF", 0x7004}, + {"linux/rtc.h", "RTC_PIE_ON", 0x7005}, + {"linux/intermezzo_fs.h", "PRESTO_CLOSE_JOURNALF", 0x7006}, + {"linux/rtc.h", "RTC_PIE_OFF", 0x7006}, + {"linux/intermezzo_fs.h", "PRESTO_SET_FSETROOT", 0x7007}, + {"linux/rtc.h", "RTC_ALM_SET", 0x7007}, + {"linux/intermezzo_fs.h", "PRESTO_CLEAR_FSETROOT", 0x7008}, + {"linux/rtc.h", "RTC_ALM_READ", 0x7008}, + {"linux/intermezzo_fs.h", "PRESTO_SETOPT", 0x7009}, + {"linux/rtc.h", "RTC_RD_TIME", 0x7009}, + {"linux/intermezzo_fs.h", "PRESTO_GETOPT", 0x700a}, + {"linux/rtc.h", "RTC_SET_TIME", 0x700a}, + {"linux/intermezzo_fs.h", "PRESTO_GET_KMLSIZE", 0x700b}, + {"linux/rtc.h", "RTC_IRQP_READ", 0x700b}, + {"linux/intermezzo_fs.h", "PRESTO_GET_RECNO", 0x700c}, + {"linux/rtc.h", "RTC_IRQP_SET", 0x700c}, + {"linux/rtc.h", "RTC_EPOCH_READ", 0x700d}, + {"linux/rtc.h", "RTC_EPOCH_SET", 0x700e}, + {"linux/rtc.h", "RTC_WIE_ON", 0x700f}, + {"linux/rtc.h", "RTC_WKALM_SET", 0x700f}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SETATTR", 0x7010}, + {"linux/rtc.h", "RTC_WIE_OFF", 0x7010}, + {"linux/rtc.h", "RTC_WKALM_RD", 0x7010}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_CREATE", 0x7011}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_LINK", 0x7012}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_UNLINK", 0x7013}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SYMLINK", 0x7014}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_MKDIR", 0x7015}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_RMDIR", 0x7016}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_MKNOD", 0x7017}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_RENAME", 0x7018}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_CLOSE", 0x701a}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_IOPEN", 0x701b}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SETEXTATTR", 0x701c}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_DELEXTATTR", 0x701d}, + {"linux/intermezzo_fs.h", "PRESTO_MARK", 0x7020}, + {"linux/intermezzo_fs.h", "PRESTO_RELEASE_PERMIT", 0x7021}, + {"linux/intermezzo_fs.h", "PRESTO_CLEAR_ALL_FSETROOTS", 0x7022}, + {"linux/intermezzo_fs.h", "PRESTO_BACKFETCH_LML", 0x7023}, + {"linux/intermezzo_fs.h", "PRESTO_REINT", 0x7024}, + {"linux/intermezzo_fs.h", "PRESTO_CANCEL_LML", 0x7025}, + {"linux/intermezzo_fs.h", "PRESTO_RESET_FSET", 0x7026}, + {"linux/intermezzo_fs.h", "PRESTO_COMPLETE_CLOSES", 0x7027}, + {"linux/intermezzo_fs.h", "PRESTO_REINT_BEGIN", 0x7030}, + {"linux/intermezzo_fs.h", "PRESTO_DO_REINT", 0x7031}, + {"linux/intermezzo_fs.h", "PRESTO_REINT_END", 0x7032}, + {"linux/nvram.h", "NVRAM_INIT", 0x7040}, + {"linux/nvram.h", "NVRAM_SETCKS", 0x7041}, + {"linux/ppdev.h", "PPSETMODE", 0x7080}, + {"linux/ppdev.h", "PPRSTATUS", 0x7081}, + {"linux/ppdev.h", "PPRCONTROL", 0x7083}, + {"linux/ppdev.h", "PPWCONTROL", 0x7084}, + {"linux/ppdev.h", "PPRDATA", 0x7085}, + {"linux/ppdev.h", "PPWDATA", 0x7086}, + {"linux/ppdev.h", "PPCLAIM", 0x708b}, + {"linux/ppdev.h", "PPRELEASE", 0x708c}, + {"linux/ppdev.h", "PPYIELD", 0x708d}, + {"linux/ppdev.h", "PPFCONTROL", 0x708e}, + {"linux/ppdev.h", "PPEXCL", 0x708f}, + {"linux/ppdev.h", "PPDATADIR", 0x7090}, + {"linux/ppdev.h", "PPNEGOT", 0x7091}, + {"linux/ppdev.h", "PPWCTLONIRQ", 0x7092}, + {"linux/ppdev.h", "PPCLRIRQ", 0x7093}, + {"linux/ppdev.h", "PPSETPHASE", 0x7094}, + {"linux/ppdev.h", "PPGETTIME", 0x7095}, + {"linux/ppdev.h", "PPSETTIME", 0x7096}, + {"linux/ppdev.h", "PPGETMODES", 0x7097}, + {"linux/ppdev.h", "PPGETMODE", 0x7098}, + {"linux/ppdev.h", "PPGETPHASE", 0x7099}, + {"linux/ppdev.h", "PPGETFLAGS", 0x709a}, + {"linux/ppdev.h", "PPSETFLAGS", 0x709b}, + {"linux/serio.h", "SPIOCSTYPE", 0x7101}, + {"linux/telephony.h", "PHONE_CAPABILITIES", 0x7180}, + {"linux/telephony.h", "PHONE_CAPABILITIES_LIST", 0x7181}, + {"linux/telephony.h", "PHONE_CAPABILITIES_CHECK", 0x7182}, + {"linux/telephony.h", "PHONE_RING", 0x7183}, + {"linux/telephony.h", "PHONE_HOOKSTATE", 0x7184}, + {"linux/telephony.h", "PHONE_MAXRINGS", 0x7185}, + {"linux/telephony.h", "PHONE_RING_CADENCE", 0x7186}, + {"linux/telephony.h", "OLD_PHONE_RING_START", 0x7187}, + {"linux/telephony.h", "PHONE_RING_START", 0x7187}, + {"linux/telephony.h", "PHONE_RING_STOP", 0x7188}, + {"linux/telephony.h", "PHONE_REC_CODEC", 0x7189}, + {"linux/telephony.h", "PHONE_REC_START", 0x718a}, + {"linux/telephony.h", "PHONE_REC_STOP", 0x718b}, + {"linux/telephony.h", "PHONE_REC_DEPTH", 0x718c}, + {"linux/telephony.h", "PHONE_FRAME", 0x718d}, + {"linux/telephony.h", "PHONE_REC_VOLUME", 0x718e}, + {"linux/telephony.h", "PHONE_REC_LEVEL", 0x718f}, + {"linux/telephony.h", "PHONE_PLAY_CODEC", 0x7190}, + {"linux/telephony.h", "PHONE_PLAY_START", 0x7191}, + {"linux/telephony.h", "PHONE_PLAY_STOP", 0x7192}, + {"linux/telephony.h", "PHONE_PLAY_DEPTH", 0x7193}, + {"linux/telephony.h", "PHONE_PLAY_VOLUME", 0x7194}, + {"linux/telephony.h", "PHONE_PLAY_LEVEL", 0x7195}, + {"linux/telephony.h", "PHONE_DTMF_READY", 0x7196}, + {"linux/telephony.h", "PHONE_GET_DTMF", 0x7197}, + {"linux/telephony.h", "PHONE_GET_DTMF_ASCII", 0x7198}, + {"linux/telephony.h", "PHONE_DTMF_OOB", 0x7199}, + {"linux/telephony.h", "PHONE_EXCEPTION", 0x719a}, + {"linux/telephony.h", "PHONE_PLAY_TONE", 0x719b}, + {"linux/telephony.h", "PHONE_SET_TONE_ON_TIME", 0x719c}, + {"linux/telephony.h", "PHONE_SET_TONE_OFF_TIME", 0x719d}, + {"linux/telephony.h", "PHONE_GET_TONE_ON_TIME", 0x719e}, + {"linux/telephony.h", "PHONE_GET_TONE_OFF_TIME", 0x719f}, + {"linux/telephony.h", "PHONE_GET_TONE_STATE", 0x71a0}, + {"linux/telephony.h", "PHONE_BUSY", 0x71a1}, + {"linux/telephony.h", "PHONE_RINGBACK", 0x71a2}, + {"linux/telephony.h", "PHONE_DIALTONE", 0x71a3}, + {"linux/telephony.h", "PHONE_CPT_STOP", 0x71a4}, + {"linux/telephony.h", "PHONE_PSTN_SET_STATE", 0x71a4}, + {"linux/telephony.h", "PHONE_PSTN_GET_STATE", 0x71a5}, + {"linux/telephony.h", "PHONE_WINK_DURATION", 0x71a6}, + {"linux/telephony.h", "PHONE_QUERY_CODEC", 0x71a7}, + {"linux/telephony.h", "PHONE_PSTN_LINETEST", 0x71a8}, + {"linux/telephony.h", "PHONE_VAD", 0x71a9}, + {"linux/telephony.h", "PHONE_WINK", 0x71aa}, + {"linux/ixjuser.h", "IXJCTL_DSP_RESET", 0x71c0}, + {"linux/ixjuser.h", "IXJCTL_CARDTYPE", 0x71c1}, + {"linux/ixjuser.h", "IXJCTL_SERIAL", 0x71c2}, + {"linux/ixjuser.h", "IXJCTL_DSP_TYPE", 0x71c3}, + {"linux/ixjuser.h", "IXJCTL_DSP_VERSION", 0x71c4}, + {"linux/ixjuser.h", "IXJCTL_DSP_IDLE", 0x71c5}, + {"linux/ixjuser.h", "IXJCTL_TESTRAM", 0x71c6}, + {"linux/ixjuser.h", "IXJCTL_SET_FILTER", 0x71c7}, + {"linux/ixjuser.h", "IXJCTL_GET_FILTER_HIST", 0x71c8}, + {"linux/ixjuser.h", "IXJCTL_INIT_TONE", 0x71c9}, + {"linux/ixjuser.h", "IXJCTL_TONE_CADENCE", 0x71ca}, + {"linux/ixjuser.h", "IXJCTL_AEC_START", 0x71cb}, + {"linux/ixjuser.h", "IXJCTL_AEC_STOP", 0x71cc}, + {"linux/ixjuser.h", "IXJCTL_AEC_GET_LEVEL", 0x71cd}, + {"linux/ixjuser.h", "IXJCTL_SET_LED", 0x71ce}, + {"linux/ixjuser.h", "IXJCTL_MIXER", 0x71cf}, + {"linux/ixjuser.h", "IXJCTL_DAA_COEFF_SET", 0x71d0}, + {"linux/ixjuser.h", "IXJCTL_PORT", 0x71d1}, + {"linux/ixjuser.h", "IXJCTL_DAA_AGAIN", 0x71d2}, + {"linux/ixjuser.h", "IXJCTL_PSTN_LINETEST", 0x71d3}, + {"linux/ixjuser.h", "IXJCTL_CID", 0x71d4}, + {"linux/ixjuser.h", "IXJCTL_POTS_PSTN", 0x71d5}, + {"linux/ixjuser.h", "IXJCTL_FILTER_CADENCE", 0x71d6}, + {"linux/ixjuser.h", "IXJCTL_PLAY_CID", 0x71d7}, + {"linux/ixjuser.h", "IXJCTL_VMWI", 0x71d8}, + {"linux/ixjuser.h", "IXJCTL_CIDCW", 0x71d9}, + {"linux/ixjuser.h", "IXJCTL_VERSION", 0x71da}, + {"linux/telephony.h", "PHONE_REC_VOLUME_LINEAR", 0x71db}, + {"linux/telephony.h", "PHONE_PLAY_VOLUME_LINEAR", 0x71dc}, + {"linux/ixjuser.h", "IXJCTL_SET_FILTER_RAW", 0x71dd}, + {"linux/ixjuser.h", "IXJCTL_HZ", 0x71e0}, + {"linux/ixjuser.h", "IXJCTL_RATE", 0x71e1}, + {"linux/ixjuser.h", "IXJCTL_FRAMES_READ", 0x71e2}, + {"linux/ixjuser.h", "IXJCTL_FRAMES_WRITTEN", 0x71e3}, + {"linux/ixjuser.h", "IXJCTL_READ_WAIT", 0x71e4}, + {"linux/ixjuser.h", "IXJCTL_WRITE_WAIT", 0x71e5}, + {"linux/ixjuser.h", "IXJCTL_DRYBUFFER_READ", 0x71e6}, + {"linux/ixjuser.h", "IXJCTL_DRYBUFFER_CLEAR", 0x71e7}, + {"linux/ixjuser.h", "IXJCTL_DTMF_PRESCALE", 0x71e8}, + {"linux/ixjuser.h", "IXJCTL_SIGCTL", 0x71e9}, + {"linux/ixjuser.h", "IXJCTL_SC_RXG", 0x71ea}, + {"linux/ixjuser.h", "IXJCTL_SC_TXG", 0x71eb}, + {"linux/ixjuser.h", "IXJCTL_INTERCOM_START", 0x71fd}, + {"linux/ixjuser.h", "IXJCTL_INTERCOM_STOP", 0x71fe}, + {"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_BOTH", 0x7201}, + {"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_SHORT", 0x7202}, + {"linux/cdk.h", "STL_BINTR", 0x7314}, + {"linux/cdk.h", "STL_BSTART", 0x7315}, + {"linux/cdk.h", "STL_BSTOP", 0x7316}, + {"linux/cdk.h", "STL_BRESET", 0x7317}, + {"linux/cdk.h", "STL_GETPFLAG", 0x7350}, + {"linux/cdk.h", "STL_SETPFLAG", 0x7351}, + {"linux/if_ppp.h", "PPPIOCGCHAN", 0x7437}, + {"linux/if_ppp.h", "PPPIOCATTCHAN", 0x7438}, + {"linux/if_ppp.h", "PPPIOCDISCONN", 0x7439}, + {"linux/if_ppp.h", "PPPIOCCONNECT", 0x743a}, + {"linux/if_ppp.h", "PPPIOCSMRRU", 0x743b}, + {"linux/if_ppp.h", "PPPIOCDETACH", 0x743c}, + {"linux/if_ppp.h", "PPPIOCATTACH", 0x743d}, + {"linux/if_ppp.h", "PPPIOCNEWUNIT", 0x743e}, + {"linux/if_ppp.h", "PPPIOCGIDLE", 0x743f}, + {"linux/if_ppp.h", "PPPIOCSDEBUG", 0x7440}, + {"linux/if_ppp.h", "PPPIOCGDEBUG", 0x7441}, + {"linux/if_ppp.h", "PPPIOCSACTIVE", 0x7446}, + {"linux/if_ppp.h", "PPPIOCSPASS", 0x7447}, + {"linux/if_ppp.h", "PPPIOCSNPMODE", 0x744b}, + {"linux/if_ppp.h", "PPPIOCGNPMODE", 0x744c}, + {"linux/if_ppp.h", "PPPIOCSCOMPRESS", 0x744d}, + {"linux/if_ppp.h", "PPPIOCXFERUNIT", 0x744e}, + {"linux/if_ppp.h", "PPPIOCSXASYNCMAP", 0x744f}, + {"linux/if_ppp.h", "PPPIOCGXASYNCMAP", 0x7450}, + {"linux/if_ppp.h", "PPPIOCSMAXCID", 0x7451}, + {"linux/if_ppp.h", "PPPIOCSMRU", 0x7452}, + {"linux/if_ppp.h", "PPPIOCGMRU", 0x7453}, + {"linux/if_ppp.h", "PPPIOCSRASYNCMAP", 0x7454}, + {"linux/if_ppp.h", "PPPIOCGRASYNCMAP", 0x7455}, + {"linux/if_ppp.h", "PPPIOCGUNIT", 0x7456}, + {"linux/if_ppp.h", "PPPIOCSASYNCMAP", 0x7457}, + {"linux/if_ppp.h", "PPPIOCGASYNCMAP", 0x7458}, + {"linux/if_ppp.h", "PPPIOCSFLAGS", 0x7459}, + {"linux/if_ppp.h", "PPPIOCGFLAGS", 0x745a}, + {"linux/jffs.h", "JFFS_PRINT_HASH", 0x745a}, + {"linux/jffs.h", "JFFS_PRINT_TREE", 0x745b}, + {"linux/jffs.h", "JFFS_GET_STATUS", 0x745c}, + {"linux/isdn_ppp.h", "PPPIOCGCALLINFO", 0x7480}, + {"linux/isdn_ppp.h", "PPPIOCBUNDLE", 0x7481}, + {"linux/isdn_ppp.h", "PPPIOCGMPFLAGS", 0x7482}, + {"linux/isdn_ppp.h", "PPPIOCSMPFLAGS", 0x7483}, + {"linux/isdn_ppp.h", "PPPIOCSMPMTU", 0x7484}, + {"linux/isdn_ppp.h", "PPPIOCSMPMRU", 0x7485}, + {"linux/isdn_ppp.h", "PPPIOCGCOMPRESSORS", 0x7486}, + {"linux/isdn_ppp.h", "PPPIOCSCOMPRESSOR", 0x7487}, + {"linux/isdn_ppp.h", "PPPIOCGIFNAME", 0x7488}, + {"linux/toshiba.h", "TOSH_SMM", 0x7490}, + {"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID", 0x7501}, + {"linux/smb_fs.h", "SMB_IOC_NEWCONN", 0x7502}, + {"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID32", 0x7503}, + {"linux/sonypi.h", "SONYPI_IOCGBRT", 0x7600}, + {"linux/sonypi.h", "SONYPI_IOCSBRT", 0x7600}, + {"linux/ext2_fs.h", "EXT2_IOC_GETVERSION", 0x7601}, + {"linux/ext3_fs.h", "EXT3_IOC_GETVERSION_OLD", 0x7601}, + {"linux/videodev.h", "VIDIOCGCAP", 0x7601}, + {"linux/ext2_fs.h", "EXT2_IOC_SETVERSION", 0x7602}, + {"linux/ext3_fs.h", "EXT3_IOC_SETVERSION_OLD", 0x7602}, + {"linux/sonypi.h", "SONYPI_IOCGBAT1CAP", 0x7602}, + {"linux/videodev.h", "VIDIOCGCHAN", 0x7602}, + {"linux/sonypi.h", "SONYPI_IOCGBAT1REM", 0x7603}, + {"linux/videodev.h", "VIDIOCSCHAN", 0x7603}, + {"linux/sonypi.h", "SONYPI_IOCGBAT2CAP", 0x7604}, + {"linux/videodev.h", "VIDIOCGTUNER", 0x7604}, + {"linux/sonypi.h", "SONYPI_IOCGBAT2REM", 0x7605}, + {"linux/videodev.h", "VIDIOCSTUNER", 0x7605}, + {"linux/videodev.h", "VIDIOCGPICT", 0x7606}, + {"linux/sonypi.h", "SONYPI_IOCGBATFLAGS", 0x7607}, + {"linux/videodev.h", "VIDIOCSPICT", 0x7607}, + {"linux/sonypi.h", "SONYPI_IOCGBLUE", 0x7608}, + {"linux/videodev.h", "VIDIOCCAPTURE", 0x7608}, + {"linux/sonypi.h", "SONYPI_IOCSBLUE", 0x7609}, + {"linux/videodev.h", "VIDIOCGWIN", 0x7609}, + {"linux/videodev.h", "VIDIOCSWIN", 0x760a}, + {"linux/videodev.h", "VIDIOCGFBUF", 0x760b}, + {"linux/videodev.h", "VIDIOCSFBUF", 0x760c}, + {"linux/videodev.h", "VIDIOCKEY", 0x760d}, + {"linux/videodev.h", "VIDIOCGFREQ", 0x760e}, + {"linux/videodev.h", "VIDIOCSFREQ", 0x760f}, + {"linux/videodev.h", "VIDIOCGAUDIO", 0x7610}, + {"linux/videodev.h", "VIDIOCSAUDIO", 0x7611}, + {"linux/videodev.h", "VIDIOCSYNC", 0x7612}, + {"linux/videodev.h", "VIDIOCMCAPTURE", 0x7613}, + {"linux/videodev.h", "VIDIOCGMBUF", 0x7614}, + {"linux/videodev.h", "VIDIOCGUNIT", 0x7615}, + {"linux/videodev.h", "VIDIOCGCAPTURE", 0x7616}, + {"linux/videodev.h", "VIDIOCSCAPTURE", 0x7617}, + {"linux/videodev.h", "VIDIOCSPLAYMODE", 0x7618}, + {"linux/videodev.h", "VIDIOCSWRITEMODE", 0x7619}, + {"linux/videodev.h", "VIDIOCGPLAYINFO", 0x761a}, + {"linux/videodev.h", "VIDIOCSMICROCODE", 0x761b}, + {"linux/videodev.h", "VIDIOCGVBIFMT", 0x761c}, + {"linux/videodev.h", "VIDIOCSVBIFMT", 0x761d}, + {"linux/meye.h", "MEYEIOC_G_PARAMS", 0x76c0}, + {"linux/meye.h", "MEYEIOC_S_PARAMS", 0x76c1}, + {"linux/meye.h", "MEYEIOC_QBUF_CAPT", 0x76c2}, + {"linux/meye.h", "MEYEIOC_SYNC", 0x76c3}, + {"linux/meye.h", "MEYEIOC_STILLCAPT", 0x76c4}, + {"linux/meye.h", "MEYEIOC_STILLJCAPT", 0x76c5}, + {"linux/dn.h", "SIOCSNETADDR", 0x89e0}, + {"linux/dn.h", "OSIOCSNETADDR", 0x89e0}, + {"linux/dn.h", "SIOCGNETADDR", 0x89e1}, + {"linux/dn.h", "OSIOCGNETADDR", 0x89e1}, + {"linux/auto_fs.h", "AUTOFS_IOC_READY", 0x9360}, + {"linux/auto_fs.h", "AUTOFS_IOC_FAIL", 0x9361}, + {"linux/auto_fs.h", "AUTOFS_IOC_CATATONIC", 0x9362}, + {"linux/auto_fs.h", "AUTOFS_IOC_PROTOVER", 0x9363}, + {"linux/auto_fs.h", "AUTOFS_IOC_SETTIMEOUT", 0x9364}, + {"linux/auto_fs.h", "AUTOFS_IOC_EXPIRE", 0x9365}, + {"linux/auto_fs4.h", "AUTOFS_IOC_EXPIRE_MULTI", 0x9366}, + {"linux/nbd.h", "NBD_SET_SOCK", 0xab00}, + {"linux/nbd.h", "NBD_SET_BLKSIZE", 0xab01}, + {"linux/nbd.h", "NBD_SET_SIZE", 0xab02}, + {"linux/nbd.h", "NBD_DO_IT", 0xab03}, + {"linux/nbd.h", "NBD_CLEAR_SOCK", 0xab04}, + {"linux/nbd.h", "NBD_CLEAR_QUE", 0xab05}, + {"linux/nbd.h", "NBD_PRINT_DEBUG", 0xab06}, + {"linux/nbd.h", "NBD_SET_SIZE_BLOCKS", 0xab07}, + {"linux/nbd.h", "NBD_DISCONNECT", 0xab08}, + {"linux/raw.h", "RAW_SETBIND", 0xac00}, + {"linux/raw.h", "RAW_GETBIND", 0xac01}, + {"linux/if_pppox.h", "PPPOEIOCSFWD", 0xb100}, + {"linux/if_pppox.h", "PPPOEIOCDFWD", 0xb101}, + {"linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", 0xcd01}, + {"linux/lvm.h", "VG_CREATE_OLD", 0xfe00}, + {"linux/lvm.h", "VG_REMOVE", 0xfe01}, + {"linux/lvm.h", "VG_EXTEND", 0xfe03}, + {"linux/lvm.h", "VG_REDUCE", 0xfe04}, + {"linux/lvm.h", "VG_STATUS", 0xfe05}, + {"linux/lvm.h", "VG_STATUS_GET_COUNT", 0xfe06}, + {"linux/lvm.h", "VG_STATUS_GET_NAMELIST", 0xfe07}, + {"linux/lvm.h", "VG_SET_EXTENDABLE", 0xfe08}, + {"linux/lvm.h", "VG_RENAME", 0xfe09}, + {"linux/lvm.h", "VG_CREATE", 0xfe0a}, + {"linux/lvm.h", "LV_CREATE", 0xfe20}, + {"linux/lvm.h", "LV_REMOVE", 0xfe21}, + {"linux/lvm.h", "LV_ACTIVATE", 0xfe22}, + {"linux/lvm.h", "LV_DEACTIVATE", 0xfe23}, + {"linux/lvm.h", "LV_EXTEND", 0xfe24}, + {"linux/lvm.h", "LV_REDUCE", 0xfe25}, + {"linux/lvm.h", "LV_STATUS_BYNAME", 0xfe26}, + {"linux/lvm.h", "LV_STATUS_BYINDEX", 0xfe27}, + {"linux/lvm.h", "LV_SET_ACCESS", 0xfe28}, + {"linux/lvm.h", "LV_SET_ALLOCATION", 0xfe29}, + {"linux/lvm.h", "LV_SET_STATUS", 0xfe2a}, + {"linux/lvm.h", "LE_REMAP", 0xfe2b}, + {"linux/lvm.h", "LV_SNAPSHOT_USE_RATE", 0xfe2c}, + {"linux/lvm.h", "LV_STATUS_BYDEV", 0xfe2e}, + {"linux/lvm.h", "LV_RENAME", 0xfe2f}, + {"linux/lvm.h", "LV_BMAP", 0xfe30}, + {"linux/lvm.h", "PV_STATUS", 0xfe40}, + {"linux/lvm.h", "PV_CHANGE", 0xfe41}, + {"linux/lvm.h", "PV_FLUSH", 0xfe42}, + {"linux/lvm.h", "PE_LOCK_UNLOCK", 0xfe50}, + {"linux/lvm.h", "LVM_GET_IOP_VERSION", 0xfe98}, + {"linux/lvm.h", "LVM_RESET", 0xfe99}, + {"linux/lvm.h", "LVM_LOCK_LVM", 0xff00}, diff --git a/linux/sparc64/ioctlent1.h b/linux/sparc64/ioctlent1.h new file mode 100644 index 00000000..5d536cf7 --- /dev/null +++ b/linux/sparc64/ioctlent1.h @@ -0,0 +1 @@ +#include "../svr4/ioctlent.h" diff --git a/linux/sparc64/ioctlent2.h b/linux/sparc64/ioctlent2.h new file mode 100644 index 00000000..c1d6b8a4 --- /dev/null +++ b/linux/sparc64/ioctlent2.h @@ -0,0 +1,838 @@ + {"linux/fs.h", "FIBMAP", 0x1}, + {"linux/fs.h", "FIGETBSZ", 0x2}, + {"linux/fd.h", "FDGETPRM", 0x204}, + {"linux/fd.h", "FDGETMAXERRS", 0x20e}, + {"linux/fd.h", "FDGETDRVTYP", 0x20f}, + {"linux/fd.h", "FDGETDRVPRM", 0x211}, + {"linux/fd.h", "FDGETDRVSTAT", 0x212}, + {"linux/fd.h", "FDPOLLDRVSTAT", 0x213}, + {"linux/fd.h", "FDGETFDCSTAT", 0x215}, + {"linux/fd.h", "FDWERRORGET", 0x217}, + {"linux/fd.h", "FDCLRPRM", 0x241}, + {"linux/fd.h", "FDSETPRM", 0x242}, + {"linux/fd.h", "FDDEFPRM", 0x243}, + {"linux/fd.h", "FDMSGON", 0x245}, + {"linux/fd.h", "FDMSGOFF", 0x246}, + {"linux/fd.h", "FDFMTBEG", 0x247}, + {"linux/fd.h", "FDFMTTRK", 0x248}, + {"linux/fd.h", "FDFMTEND", 0x249}, + {"linux/fd.h", "FDSETEMSGTRESH", 0x24a}, + {"linux/fd.h", "FDFLUSH", 0x24b}, + {"linux/fd.h", "FDSETMAXERRS", 0x24c}, + {"linux/fd.h", "FDRESET", 0x254}, + {"linux/fd.h", "FDWERRORCLR", 0x256}, + {"linux/fd.h", "FDRAWCMD", 0x258}, + {"linux/fd.h", "FDTWADDLE", 0x259}, + {"linux/fd.h", "FDEJECT", 0x25a}, + {"linux/fd.h", "FDSETDRVPRM", 0x290}, + {"linux/umsdos_fs.h", "UMSDOS_READDIR_DOS", 0x4d2}, + {"linux/umsdos_fs.h", "UMSDOS_UNLINK_DOS", 0x4d3}, + {"linux/umsdos_fs.h", "UMSDOS_RMDIR_DOS", 0x4d4}, + {"linux/umsdos_fs.h", "UMSDOS_STAT_DOS", 0x4d5}, + {"linux/umsdos_fs.h", "UMSDOS_CREAT_EMD", 0x4d6}, + {"linux/umsdos_fs.h", "UMSDOS_UNLINK_EMD", 0x4d7}, + {"linux/umsdos_fs.h", "UMSDOS_READDIR_EMD", 0x4d8}, + {"linux/umsdos_fs.h", "UMSDOS_GETVERSION", 0x4d9}, + {"linux/umsdos_fs.h", "UMSDOS_INIT_EMD", 0x4da}, + {"linux/umsdos_fs.h", "UMSDOS_DOS_SETUP", 0x4db}, + {"linux/umsdos_fs.h", "UMSDOS_RENAME_DOS", 0x4dc}, + {"linux/fs.h", "BLKROSET", 0x125d}, + {"linux/fs.h", "BLKROGET", 0x125e}, + {"linux/fs.h", "BLKRRPART", 0x125f}, + {"linux/fs.h", "BLKGETSIZE", 0x1260}, + {"linux/fs.h", "BLKFLSBUF", 0x1261}, + {"linux/fs.h", "BLKRASET", 0x1262}, + {"linux/fs.h", "BLKRAGET", 0x1263}, + {"linux/fs.h", "BLKFRASET", 0x1264}, + {"linux/fs.h", "BLKFRAGET", 0x1265}, + {"linux/fs.h", "BLKSECTSET", 0x1266}, + {"linux/fs.h", "BLKSECTGET", 0x1267}, + {"linux/fs.h", "BLKSSZGET", 0x1268}, + {"linux/blkpg.h", "BLKPG", 0x1269}, + {"linux/fs.h", "BLKPG", 0x1269}, + {"linux/elevator.h", "BLKELVGET", 0x126a}, + {"linux/fs.h", "BLKELVGET", 0x126a}, + {"linux/elevator.h", "BLKELVSET", 0x126b}, + {"linux/fs.h", "BLKELVSET", 0x126b}, + {"linux/fs.h", "BLKBSZGET", 0x1270}, + {"linux/fs.h", "BLKBSZSET", 0x1271}, + {"linux/fs.h", "BLKGETSIZE64", 0x1272}, + {"linux/agpgart.h", "AGPIOC_INFO", 0x4100}, + {"linux/agpgart.h", "AGPIOC_ACQUIRE", 0x4101}, + {"linux/apm_bios.h", "APM_IOC_STANDBY", 0x4101}, + {"linux/agpgart.h", "AGPIOC_RELEASE", 0x4102}, + {"linux/apm_bios.h", "APM_IOC_SUSPEND", 0x4102}, + {"linux/agpgart.h", "AGPIOC_SETUP", 0x4103}, + {"linux/agpgart.h", "AGPIOC_RESERVE", 0x4104}, + {"linux/agpgart.h", "AGPIOC_PROTECT", 0x4105}, + {"linux/agpgart.h", "AGPIOC_ALLOCATE", 0x4106}, + {"linux/agpgart.h", "AGPIOC_DEALLOCATE", 0x4107}, + {"linux/agpgart.h", "AGPIOC_BIND", 0x4108}, + {"linux/agpgart.h", "AGPIOC_UNBIND", 0x4109}, + {"linux/pmu.h", "PMU_IOC_SLEEP", 0x4200}, + {"linux/cciss_ioctl.h", "CCISS_GETPCIINFO", 0x4201}, + {"linux/pmu.h", "PMU_IOC_GET_BACKLIGHT", 0x4201}, + {"linux/cciss_ioctl.h", "CCISS_GETINTINFO", 0x4202}, + {"linux/pmu.h", "PMU_IOC_SET_BACKLIGHT", 0x4202}, + {"linux/cciss_ioctl.h", "CCISS_SETINTINFO", 0x4203}, + {"linux/pmu.h", "PMU_IOC_GET_MODEL", 0x4203}, + {"linux/cciss_ioctl.h", "CCISS_GETNODENAME", 0x4204}, + {"linux/pmu.h", "PMU_IOC_HAS_ADB", 0x4204}, + {"linux/cciss_ioctl.h", "CCISS_SETNODENAME", 0x4205}, + {"linux/pmu.h", "PMU_IOC_CAN_SLEEP", 0x4205}, + {"linux/cciss_ioctl.h", "CCISS_GETHEARTBEAT", 0x4206}, + {"linux/cciss_ioctl.h", "CCISS_GETBUSTYPES", 0x4207}, + {"linux/cciss_ioctl.h", "CCISS_GETFIRMVER", 0x4208}, + {"linux/cciss_ioctl.h", "CCISS_GETDRIVVER", 0x4209}, + {"linux/cciss_ioctl.h", "CCISS_REVALIDVOLS", 0x420a}, + {"linux/cciss_ioctl.h", "CCISS_PASSTHRU", 0x420b}, + {"linux/soundcard.h", "SNDCTL_COPR_RESET", 0x4300}, + {"linux/capi.h", "CAPI_REGISTER", 0x4301}, + {"linux/soundcard.h", "SNDCTL_COPR_LOAD", 0x4301}, + {"linux/soundcard.h", "SNDCTL_COPR_RDATA", 0x4302}, + {"linux/soundcard.h", "SNDCTL_COPR_RCODE", 0x4303}, + {"linux/soundcard.h", "SNDCTL_COPR_WDATA", 0x4304}, + {"linux/soundcard.h", "SNDCTL_COPR_WCODE", 0x4305}, + {"linux/capi.h", "CAPI_GET_MANUFACTURER", 0x4306}, + {"linux/soundcard.h", "SNDCTL_COPR_RUN", 0x4306}, + {"linux/capi.h", "CAPI_GET_VERSION", 0x4307}, + {"linux/soundcard.h", "SNDCTL_COPR_HALT", 0x4307}, + {"linux/capi.h", "CAPI_GET_SERIAL", 0x4308}, + {"linux/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x4308}, + {"linux/capi.h", "CAPI_GET_PROFILE", 0x4309}, + {"linux/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4309}, + {"linux/capi.h", "CAPI_MANUFACTURER_CMD", 0x4320}, + {"linux/capi.h", "CAPI_GET_ERRCODE", 0x4321}, + {"linux/capi.h", "CAPI_INSTALLED", 0x4322}, + {"linux/capi.h", "CAPI_GET_FLAGS", 0x4323}, + {"linux/capi.h", "CAPI_SET_FLAGS", 0x4324}, + {"linux/capi.h", "CAPI_CLR_FLAGS", 0x4325}, + {"linux/capi.h", "CAPI_NCCI_OPENCOUNT", 0x4326}, + {"linux/capi.h", "CAPI_NCCI_GETUNIT", 0x4327}, + {"linux/input.h", "EVIOCGVERSION", 0x4501}, + {"linux/input.h", "EVIOCGID", 0x4502}, + {"linux/input.h", "EVIOCGREP", 0x4503}, + {"linux/input.h", "EVIOCSREP", 0x4503}, + {"linux/input.h", "EVIOCGKEYCODE", 0x4504}, + {"linux/input.h", "EVIOCSKEYCODE", 0x4504}, + {"linux/input.h", "EVIOCGKEY", 0x4505}, + {"linux/input.h", "EVIOCGBUS", 0x4507}, + {"linux/input.h", "EVIOCRMFF", 0x4581}, + {"linux/input.h", "EVIOCSGAIN", 0x4582}, + {"linux/input.h", "EVIOCSAUTOCENTER", 0x4583}, + {"linux/input.h", "EVIOCGEFFECTS", 0x4584}, + {"linux/fb.h", "FBIOGET_VBLANK", 0x4612}, + {"linux/hiddev.h", "HIDIOCGVERSION", 0x4801}, + {"linux/hiddev.h", "HIDIOCAPPLICATION", 0x4802}, + {"linux/hiddev.h", "HIDIOCGDEVINFO", 0x4803}, + {"linux/hiddev.h", "HIDIOCGSTRING", 0x4804}, + {"linux/hiddev.h", "HIDIOCINITREPORT", 0x4805}, + {"linux/hiddev.h", "HIDIOCGREPORT", 0x4807}, + {"linux/hiddev.h", "HIDIOCSREPORT", 0x4808}, + {"linux/hiddev.h", "HIDIOCGREPORTINFO", 0x4809}, + {"linux/hiddev.h", "HIDIOCGFIELDINFO", 0x480a}, + {"linux/hiddev.h", "HIDIOCGUSAGE", 0x480b}, + {"linux/hiddev.h", "HIDIOCSUSAGE", 0x480c}, + {"linux/hiddev.h", "HIDIOCGUCODE", 0x480d}, + {"linux/isdn.h", "IIOCNETAIF", 0x4901}, + {"linux/isdn.h", "IIOCNETDIF", 0x4902}, + {"linux/isdn.h", "IIOCNETSCF", 0x4903}, + {"linux/isdn.h", "IIOCNETGCF", 0x4904}, + {"linux/isdn.h", "IIOCNETANM", 0x4905}, + {"linux/isdn.h", "IIOCNETDNM", 0x4906}, + {"linux/isdn.h", "IIOCNETGNM", 0x4907}, + {"linux/isdn.h", "IIOCGETSET", 0x4908}, + {"linux/isdn.h", "IIOCSETSET", 0x4909}, + {"linux/isdn.h", "IIOCSETVER", 0x490a}, + {"linux/isdn.h", "IIOCNETHUP", 0x490b}, + {"linux/isdn.h", "IIOCSETGST", 0x490c}, + {"linux/isdn.h", "IIOCSETBRJ", 0x490d}, + {"linux/isdn.h", "IIOCSIGPRF", 0x490e}, + {"linux/isdn.h", "IIOCGETPRF", 0x490f}, + {"linux/isdn.h", "IIOCSETPRF", 0x4910}, + {"linux/isdn.h", "IIOCGETMAP", 0x4911}, + {"linux/isdn.h", "IIOCSETMAP", 0x4912}, + {"linux/isdn.h", "IIOCNETASL", 0x4913}, + {"linux/isdn.h", "IIOCNETDIL", 0x4914}, + {"linux/isdn.h", "IIOCGETCPS", 0x4915}, + {"linux/isdn.h", "IIOCGETDVR", 0x4916}, + {"linux/isdn.h", "IIOCNETLCR", 0x4917}, + {"linux/isdn.h", "IIOCNETDWRSET", 0x4918}, + {"linux/isdn.h", "IIOCNETALN", 0x4920}, + {"linux/isdn.h", "IIOCNETDLN", 0x4921}, + {"linux/isdn.h", "IIOCNETGPN", 0x4922}, + {"linux/isdn.h", "IIOCDBGVAR", 0x497f}, + {"linux/isdn.h", "IIOCDRVCTL", 0x4980}, + {"linux/soundcard.h", "SOUND_MIXER_INFO", 0x4d65}, + {"linux/soundcard.h", "SOUND_OLD_MIXER_INFO", 0x4d65}, + {"linux/soundcard.h", "SOUND_MIXER_ACCESS", 0x4d66}, + {"linux/soundcard.h", "SOUND_MIXER_AGC", 0x4d67}, + {"linux/soundcard.h", "SOUND_MIXER_3DSE", 0x4d68}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE1", 0x4d6f}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE2", 0x4d70}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE3", 0x4d71}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE4", 0x4d72}, + {"linux/soundcard.h", "SOUND_MIXER_PRIVATE5", 0x4d73}, + {"linux/soundcard.h", "SOUND_MIXER_GETLEVELS", 0x4d74}, + {"linux/soundcard.h", "SOUND_MIXER_SETLEVELS", 0x4d75}, + {"linux/soundcard.h", "OSS_GETVERSION", 0x4d76}, + {"linux/soundcard.h", "SNDCTL_DSP_RESET", 0x5000}, + {"linux/soundcard.h", "SNDCTL_DSP_SYNC", 0x5001}, + {"linux/soundcard.h", "SNDCTL_DSP_SPEED", 0x5002}, + {"linux/soundcard.h", "SOUND_PCM_READ_RATE", 0x5002}, + {"linux/soundcard.h", "SNDCTL_DSP_STEREO", 0x5003}, + {"linux/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x5004}, + {"linux/soundcard.h", "SNDCTL_DSP_SETFMT", 0x5005}, + {"linux/soundcard.h", "SOUND_PCM_READ_BITS", 0x5005}, + {"linux/soundcard.h", "SNDCTL_DSP_CHANNELS", 0x5006}, + {"linux/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x5006}, + {"linux/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0x5007}, + {"linux/soundcard.h", "SOUND_PCM_READ_FILTER", 0x5007}, + {"linux/soundcard.h", "SNDCTL_DSP_POST", 0x5008}, + {"linux/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0x5009}, + {"linux/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0x500a}, + {"linux/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x500b}, + {"linux/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x500c}, + {"linux/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x500d}, + {"linux/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x500e}, + {"linux/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x500f}, + {"linux/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x5010}, + {"linux/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x5010}, + {"linux/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x5011}, + {"linux/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x5012}, + {"linux/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x5013}, + {"linux/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x5014}, + {"linux/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x5015}, + {"linux/soundcard.h", "SNDCTL_DSP_SETDUPLEX", 0x5016}, + {"linux/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x5017}, + {"linux/soundcard.h", "SNDCTL_DSP_PROFILE", 0x5017}, + {"linux/soundcard.h", "SNDCTL_DSP_GETCHANNELMASK", 0x5040}, + {"linux/soundcard.h", "SNDCTL_DSP_BIND_CHANNEL", 0x5041}, + {"linux/soundcard.h", "SNDCTL_DSP_SETSPDIF", 0x5042}, + {"linux/soundcard.h", "SNDCTL_DSP_GETSPDIF", 0x5043}, + {"linux/soundcard.h", "SNDCTL_SEQ_RESET", 0x5100}, + {"linux/soundcard.h", "SNDCTL_SEQ_SYNC", 0x5101}, + {"linux/soundcard.h", "SNDCTL_SYNTH_INFO", 0x5102}, + {"linux/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0x5103}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x5104}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x5105}, + {"linux/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x5106}, + {"linux/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x5107}, + {"linux/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x5108}, + {"linux/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x5109}, + {"linux/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x510a}, + {"linux/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x510b}, + {"linux/soundcard.h", "SNDCTL_MIDI_INFO", 0x510c}, + {"linux/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x510d}, + {"linux/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0x510e}, + {"linux/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x510f}, + {"linux/soundcard.h", "SNDCTL_SEQ_PANIC", 0x5111}, + {"linux/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x5112}, + {"linux/soundcard.h", "SNDCTL_SEQ_GETTIME", 0x5113}, + {"linux/soundcard.h", "SNDCTL_SYNTH_ID", 0x5114}, + {"linux/soundcard.h", "SNDCTL_SYNTH_CONTROL", 0x5115}, + {"linux/soundcard.h", "SNDCTL_SYNTH_REMOVESAMPLE", 0x5116}, + {"linux/random.h", "RNDGETENTCNT", 0x5200}, + {"linux/random.h", "RNDADDTOENTCNT", 0x5201}, + {"linux/random.h", "RNDGETPOOL", 0x5202}, + {"linux/random.h", "RNDADDENTROPY", 0x5203}, + {"linux/random.h", "RNDZAPENTCNT", 0x5204}, + {"linux/random.h", "RNDCLEARPOOL", 0x5206}, + {"asm/ioctls.h", "TCGETS", 0x5401}, + {"linux/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0x5401}, + {"asm/ioctls.h", "TCSETS", 0x5402}, + {"linux/soundcard.h", "SNDCTL_TMR_START", 0x5402}, + {"asm/ioctls.h", "TCSETSW", 0x5403}, + {"linux/soundcard.h", "SNDCTL_TMR_STOP", 0x5403}, + {"asm/ioctls.h", "TCSETSF", 0x5404}, + {"linux/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x5404}, + {"asm/ioctls.h", "TCGETA", 0x5405}, + {"linux/soundcard.h", "SNDCTL_TMR_TEMPO", 0x5405}, + {"asm/ioctls.h", "TCSETA", 0x5406}, + {"linux/soundcard.h", "SNDCTL_TMR_SOURCE", 0x5406}, + {"asm/ioctls.h", "TCSETAW", 0x5407}, + {"linux/soundcard.h", "SNDCTL_TMR_METRONOME", 0x5407}, + {"asm/ioctls.h", "TCSETAF", 0x5408}, + {"linux/soundcard.h", "SNDCTL_TMR_SELECT", 0x5408}, + {"asm/ioctls.h", "TCSBRK", 0x5409}, + {"asm/ioctls.h", "TCXONC", 0x540a}, + {"asm/ioctls.h", "TCFLSH", 0x540b}, + {"asm/ioctls.h", "TIOCEXCL", 0x540c}, + {"asm/ioctls.h", "TIOCNXCL", 0x540d}, + {"asm/ioctls.h", "TIOCSCTTY", 0x540e}, + {"asm/ioctls.h", "TIOCGPGRP", 0x540f}, + {"asm/ioctls.h", "TIOCSPGRP", 0x5410}, + {"asm/ioctls.h", "TIOCOUTQ", 0x5411}, + {"asm/ioctls.h", "TIOCSTI", 0x5412}, + {"asm/ioctls.h", "TIOCGWINSZ", 0x5413}, + {"asm/ioctls.h", "TIOCSWINSZ", 0x5414}, + {"asm/ioctls.h", "TIOCMGET", 0x5415}, + {"asm/ioctls.h", "TIOCMBIS", 0x5416}, + {"asm/ioctls.h", "TIOCMBIC", 0x5417}, + {"asm/ioctls.h", "TIOCMSET", 0x5418}, + {"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419}, + {"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a}, + {"asm/ioctls.h", "FIONREAD", 0x541b}, + {"asm/ioctls.h", "TIOCLINUX", 0x541c}, + {"asm/ioctls.h", "TIOCCONS", 0x541d}, + {"asm/ioctls.h", "TIOCGSERIAL", 0x541e}, + {"asm/ioctls.h", "TIOCSSERIAL", 0x541f}, + {"asm/ioctls.h", "TIOCPKT", 0x5420}, + {"asm/ioctls.h", "FIONBIO", 0x5421}, + {"asm/ioctls.h", "TIOCNOTTY", 0x5422}, + {"asm/ioctls.h", "TIOCSETD", 0x5423}, + {"asm/ioctls.h", "TIOCGETD", 0x5424}, + {"asm/ioctls.h", "TCSBRKP", 0x5425}, + {"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426}, + {"asm/ioctls.h", "TIOCSBRK", 0x5427}, + {"asm/ioctls.h", "TIOCCBRK", 0x5428}, + {"asm/ioctls.h", "TIOCGSID", 0x5429}, + {"asm/ioctls.h", "TIOCGPTN", 0x5430}, + {"asm/ioctls.h", "TIOCSPTLCK", 0x5431}, + {"asm/ioctls.h", "FIONCLEX", 0x5450}, + {"asm/ioctls.h", "FIOCLEX", 0x5451}, + {"asm/ioctls.h", "FIOASYNC", 0x5452}, + {"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}, + {"asm/ioctls.h", "TIOCMIWAIT", 0x545c}, + {"asm/ioctls.h", "TIOCGICOUNT", 0x545d}, + {"asm/ioctls.h", "TIOCGHAYESESP", 0x545e}, + {"asm/ioctls.h", "TIOCSHAYESESP", 0x545f}, + {"linux/if_tun.h", "TUNSETNOCSUM", 0x54c8}, + {"linux/if_tun.h", "TUNSETDEBUG", 0x54c9}, + {"linux/if_tun.h", "TUNSETIFF", 0x54ca}, + {"linux/if_tun.h", "TUNSETPERSIST", 0x54cb}, + {"linux/if_tun.h", "TUNSETOWNER", 0x54cc}, + {"linux/usbdevice_fs.h", "USBDEVFS_CONTROL", 0x5500}, + {"linux/usbdevice_fs.h", "USBDEVFS_BULK", 0x5502}, + {"linux/usbdevice_fs.h", "USBDEVFS_RESETEP", 0x5503}, + {"linux/usbdevice_fs.h", "USBDEVFS_SETINTERFACE", 0x5504}, + {"linux/usbdevice_fs.h", "USBDEVFS_SETCONFIGURATION", 0x5505}, + {"linux/usbdevice_fs.h", "USBDEVFS_GETDRIVER", 0x5508}, + {"linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", 0x550a}, + {"linux/usbdevice_fs.h", "USBDEVFS_DISCARDURB", 0x550b}, + {"linux/usbdevice_fs.h", "USBDEVFS_REAPURB", 0x550c}, + {"linux/usbdevice_fs.h", "USBDEVFS_REAPURBNDELAY", 0x550d}, + {"linux/usbdevice_fs.h", "USBDEVFS_DISCSIGNAL", 0x550e}, + {"linux/usbdevice_fs.h", "USBDEVFS_CLAIMINTERFACE", 0x550f}, + {"linux/usbdevice_fs.h", "USBDEVFS_RELEASEINTERFACE", 0x5510}, + {"linux/usbdevice_fs.h", "USBDEVFS_CONNECTINFO", 0x5511}, + {"linux/usbdevice_fs.h", "USBDEVFS_IOCTL", 0x5512}, + {"linux/usbdevice_fs.h", "USBDEVFS_HUB_PORTINFO", 0x5513}, + {"linux/usbdevice_fs.h", "USBDEVFS_RESET", 0x5514}, + {"linux/usbdevice_fs.h", "USBDEVFS_CLEAR_HALT", 0x5515}, + {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, + {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, + {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, + {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, + {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, + {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, + {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, + {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, + {"linux/ite_gpio.h", "ITE_GPIO_IN", 0x5a00}, + {"linux/ite_gpio.h", "ITE_GPIO_OUT", 0x5a01}, + {"linux/ite_gpio.h", "ITE_GPIO_INT_CTRL", 0x5a02}, + {"linux/ite_gpio.h", "ITE_GPIO_IN_STATUS", 0x5a03}, + {"linux/ite_gpio.h", "ITE_GPIO_OUT_STATUS", 0x5a04}, + {"linux/ite_gpio.h", "ITE_GPIO_GEN_CTRL", 0x5a05}, + {"linux/ite_gpio.h", "ITE_GPIO_INT_WAIT", 0x5a06}, + {"linux/sonet.h", "SONET_GETSTAT", 0x6110}, + {"linux/sonet.h", "SONET_GETSTATZ", 0x6111}, + {"linux/sonet.h", "SONET_SETDIAG", 0x6112}, + {"linux/sonet.h", "SONET_CLRDIAG", 0x6113}, + {"linux/sonet.h", "SONET_GETDIAG", 0x6114}, + {"linux/sonet.h", "SONET_SETFRAMING", 0x6115}, + {"linux/sonet.h", "SONET_GETFRAMING", 0x6116}, + {"linux/sonet.h", "SONET_GETFRSENSE", 0x6117}, + {"linux/atm_idt77105.h", "IDT77105_GETSTAT", 0x6132}, + {"linux/atm_idt77105.h", "IDT77105_GETSTATZ", 0x6133}, + {"linux/atmdev.h", "ATM_GETSTAT", 0x6150}, + {"linux/atmdev.h", "ATM_GETSTATZ", 0x6151}, + {"linux/atmdev.h", "ATM_GETLOOP", 0x6152}, + {"linux/atmdev.h", "ATM_SETLOOP", 0x6153}, + {"linux/atmdev.h", "ATM_QUERYLOOP", 0x6154}, + {"linux/atm_eni.h", "ENI_MEMDUMP", 0x6160}, + {"linux/atm_nicstar.h", "NS_GETPSTAT", 0x6161}, + {"linux/atm_zatm.h", "ZATM_GETPOOL", 0x6161}, + {"linux/atm_nicstar.h", "NS_SETBUFLEV", 0x6162}, + {"linux/atm_zatm.h", "ZATM_GETPOOLZ", 0x6162}, + {"linux/atm_nicstar.h", "NS_ADJBUFLEV", 0x6163}, + {"linux/atm_zatm.h", "ZATM_SETPOOL", 0x6163}, + {"linux/atm_zatm.h", "ZATM_GETTHIST", 0x6164}, + {"linux/atm_eni.h", "ENI_SETMULT", 0x6167}, + {"linux/atm_tcp.h", "SIOCSIFATMTCP", 0x6180}, + {"linux/atmdev.h", "ATM_GETLINKRATE", 0x6181}, + {"linux/atmdev.h", "ATM_GETNAMES", 0x6183}, + {"linux/atmdev.h", "ATM_GETTYPE", 0x6184}, + {"linux/atmdev.h", "ATM_GETESI", 0x6185}, + {"linux/atmdev.h", "ATM_GETADDR", 0x6186}, + {"linux/atmdev.h", "ATM_RSTADDR", 0x6187}, + {"linux/atmdev.h", "ATM_ADDADDR", 0x6188}, + {"linux/atmdev.h", "ATM_DELADDR", 0x6189}, + {"linux/atmdev.h", "ATM_GETCIRANGE", 0x618a}, + {"linux/atmdev.h", "ATM_SETCIRANGE", 0x618b}, + {"linux/atmdev.h", "ATM_SETESI", 0x618c}, + {"linux/atmdev.h", "ATM_SETESIF", 0x618d}, + {"linux/atm_tcp.h", "ATMTCP_CREATE", 0x618e}, + {"linux/atm_tcp.h", "ATMTCP_REMOVE", 0x618f}, + {"linux/atmlec.h", "ATMLEC_CTRL", 0x61d0}, + {"linux/atmlec.h", "ATMLEC_DATA", 0x61d1}, + {"linux/atmlec.h", "ATMLEC_MCAST", 0x61d2}, + {"linux/atmmpc.h", "ATMMPC_CTRL", 0x61d8}, + {"linux/atmmpc.h", "ATMMPC_DATA", 0x61d9}, + {"linux/atmclip.h", "SIOCMKCLIP", 0x61e0}, + {"linux/atmarp.h", "ATMARPD_CTRL", 0x61e1}, + {"linux/atmarp.h", "ATMARP_MKIP", 0x61e2}, + {"linux/atmarp.h", "ATMARP_SETENTRY", 0x61e3}, + {"linux/atmarp.h", "ATMARP_ENCAP", 0x61e5}, + {"linux/atmsvc.h", "ATMSIGD_CTRL", 0x61f0}, + {"linux/atmdev.h", "ATM_SETSC", 0x61f1}, + {"linux/atmdev.h", "ATM_SETBACKEND", 0x61f2}, + {"linux/coda.h", "CIOC_KERNEL_VERSION", 0x630a}, + {"linux/comstats.h", "COM_GETPORTSTATS", 0x631e}, + {"linux/comstats.h", "COM_CLRPORTSTATS", 0x631f}, + {"linux/comstats.h", "COM_GETBRDSTATS", 0x6320}, + {"linux/comstats.h", "COM_READPORT", 0x6328}, + {"linux/comstats.h", "COM_READBOARD", 0x6329}, + {"linux/comstats.h", "COM_READPANEL", 0x632a}, + {"linux/devfs_fs.h", "DEVFSDIOC_GET_PROTO_REV", 0x6400}, + {"linux/video_decoder.h", "DECODER_GET_CAPABILITIES", 0x6401}, + {"linux/devfs_fs.h", "DEVFSDIOC_SET_EVENT_MASK", 0x6402}, + {"linux/video_decoder.h", "DECODER_GET_STATUS", 0x6402}, + {"linux/devfs_fs.h", "DEVFSDIOC_RELEASE_EVENT_QUEUE", 0x6403}, + {"linux/video_decoder.h", "DECODER_SET_NORM", 0x6403}, + {"linux/devfs_fs.h", "DEVFSDIOC_SET_DEBUG_MASK", 0x6404}, + {"linux/video_decoder.h", "DECODER_SET_INPUT", 0x6404}, + {"linux/video_decoder.h", "DECODER_SET_OUTPUT", 0x6405}, + {"linux/video_decoder.h", "DECODER_ENABLE_OUTPUT", 0x6406}, + {"linux/video_decoder.h", "DECODER_SET_PICTURE", 0x6407}, + {"linux/video_decoder.h", "DECODER_DUMP", 0x64c0}, + {"linux/video_encoder.h", "ENCODER_GET_CAPABILITIES", 0x6501}, + {"linux/video_encoder.h", "ENCODER_SET_NORM", 0x6502}, + {"linux/video_encoder.h", "ENCODER_SET_INPUT", 0x6503}, + {"linux/video_encoder.h", "ENCODER_SET_OUTPUT", 0x6504}, + {"linux/video_encoder.h", "ENCODER_ENABLE_OUTPUT", 0x6505}, + {"linux/ext2_fs.h", "EXT2_IOC_GETFLAGS", 0x6601}, + {"linux/ext3_fs.h", "EXT3_IOC_GETFLAGS", 0x6601}, + {"linux/ext2_fs.h", "EXT2_IOC_SETFLAGS", 0x6602}, + {"linux/ext3_fs.h", "EXT3_IOC_SETFLAGS", 0x6602}, + {"linux/ext3_fs.h", "EXT3_IOC_GETVERSION", 0x6603}, + {"linux/ext3_fs.h", "EXT3_IOC_SETVERSION", 0x6604}, + {"linux/ext3_fs.h", "EXT3_IOC_WAIT_FOR_READONLY", 0x6663}, + {"linux/i2o-dev.h", "I2OGETIOPS", 0x6900}, + {"linux/i2o-dev.h", "I2OHRTGET", 0x6901}, + {"linux/i2o-dev.h", "I2OLCTGET", 0x6902}, + {"linux/i2o-dev.h", "I2OPARMSET", 0x6903}, + {"linux/i2o-dev.h", "I2OPARMGET", 0x6904}, + {"linux/i2o-dev.h", "I2OSWDL", 0x6905}, + {"linux/i2o-dev.h", "I2OSWUL", 0x6906}, + {"linux/i2o-dev.h", "I2OSWDEL", 0x6907}, + {"linux/i2o-dev.h", "I2OVALIDATE", 0x6908}, + {"linux/i2o-dev.h", "I2OHTML", 0x6909}, + {"linux/i2o-dev.h", "I2OEVTREG", 0x690a}, + {"linux/i2o-dev.h", "I2OEVTGET", 0x690b}, + {"linux/i8k.h", "I8K_BIOS_VERSION", 0x6980}, + {"linux/i8k.h", "I8K_MACHINE_ID", 0x6981}, + {"linux/i8k.h", "I8K_POWER_STATUS", 0x6982}, + {"linux/i8k.h", "I8K_FN_STATUS", 0x6983}, + {"linux/i8k.h", "I8K_GET_TEMP", 0x6984}, + {"linux/i8k.h", "I8K_GET_SPEED", 0x6985}, + {"linux/i8k.h", "I8K_GET_FAN", 0x6986}, + {"linux/i8k.h", "I8K_SET_FAN", 0x6987}, + {"linux/joystick.h", "JSIOCGVERSION", 0x6a01}, + {"linux/joystick.h", "JSIOCGAXES", 0x6a11}, + {"linux/joystick.h", "JSIOCGBUTTONS", 0x6a12}, + {"linux/joystick.h", "JSIOCSCORR", 0x6a21}, + {"linux/joystick.h", "JSIOCGCORR", 0x6a22}, + {"linux/joystick.h", "JSIOCSAXMAP", 0x6a31}, + {"linux/joystick.h", "JSIOCGAXMAP", 0x6a32}, + {"linux/joystick.h", "JSIOCSBTNMAP", 0x6a33}, + {"linux/joystick.h", "JSIOCGBTNMAP", 0x6a34}, + {"linux/udf_fs_i.h", "UDF_GETEASIZE", 0x6c40}, + {"linux/udf_fs_i.h", "UDF_GETEABLOCK", 0x6c41}, + {"linux/udf_fs_i.h", "UDF_GETVOLIDENT", 0x6c42}, + {"linux/udf_fs_i.h", "UDF_RELOCATE_BLOCKS", 0x6c43}, + {"linux/soundcard.h", "SNDCTL_MIDI_PRETIME", 0x6d00}, + {"linux/synclink.h", "MGSL_IOCSPARAMS", 0x6d00}, + {"linux/mtio.h", "MTIOCTOP", 0x6d01}, + {"linux/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0x6d01}, + {"linux/synclink.h", "MGSL_IOCGPARAMS", 0x6d01}, + {"linux/mtio.h", "MTIOCGET", 0x6d02}, + {"linux/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0x6d02}, + {"linux/synclink.h", "MGSL_IOCSTXIDLE", 0x6d02}, + {"linux/mtio.h", "MTIOCPOS", 0x6d03}, + {"linux/synclink.h", "MGSL_IOCGTXIDLE", 0x6d03}, + {"linux/mtio.h", "MTIOCGETCONFIG", 0x6d04}, + {"linux/synclink.h", "MGSL_IOCTXENABLE", 0x6d04}, + {"linux/mtio.h", "MTIOCSETCONFIG", 0x6d05}, + {"linux/synclink.h", "MGSL_IOCRXENABLE", 0x6d05}, + {"linux/mtio.h", "MTIOCRDFTSEG", 0x6d06}, + {"linux/synclink.h", "MGSL_IOCTXABORT", 0x6d06}, + {"linux/mtio.h", "MTIOCWRFTSEG", 0x6d07}, + {"linux/synclink.h", "MGSL_IOCGSTATS", 0x6d07}, + {"linux/mtio.h", "MTIOCVOLINFO", 0x6d08}, + {"linux/synclink.h", "MGSL_IOCWAITEVENT", 0x6d08}, + {"linux/mtio.h", "MTIOCGETSIZE", 0x6d09}, + {"linux/synclink.h", "MGSL_IOCLOOPTXDONE", 0x6d09}, + {"linux/mtio.h", "MTIOCFTFORMAT", 0x6d0a}, + {"linux/mtio.h", "MTIOCFTCMD", 0x6d0b}, + {"linux/synclink.h", "MGSL_IOCCLRMODCOUNT", 0x6d0f}, + {"linux/zftape.h", "MTIOC_ZFTAPE_GETBLKSZ", 0x6d68}, + {"linux/ncp_fs.h", "NCP_IOC_NCPREQUEST", 0x6e01}, + {"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID", 0x6e02}, + {"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID2", 0x6e02}, + {"linux/ncp_fs.h", "NCP_IOC_CONN_LOGGED_IN", 0x6e03}, + {"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO", 0x6e04}, + {"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO_V2", 0x6e04}, + {"linux/ncp_fs.h", "NCP_IOC_SIGN_INIT", 0x6e05}, + {"linux/ncp_fs.h", "NCP_IOC_SIGN_WANTED", 0x6e06}, + {"linux/ncp_fs.h", "NCP_IOC_SET_SIGN_WANTED", 0x6e06}, + {"linux/ncp_fs.h", "NCP_IOC_LOCKUNLOCK", 0x6e07}, + {"linux/ncp_fs.h", "NCP_IOC_GETROOT", 0x6e08}, + {"linux/ncp_fs.h", "NCP_IOC_SETROOT", 0x6e08}, + {"linux/ncp_fs.h", "NCP_IOC_GETOBJECTNAME", 0x6e09}, + {"linux/ncp_fs.h", "NCP_IOC_SETOBJECTNAME", 0x6e09}, + {"linux/ncp_fs.h", "NCP_IOC_GETPRIVATEDATA", 0x6e0a}, + {"linux/ncp_fs.h", "NCP_IOC_SETPRIVATEDATA", 0x6e0a}, + {"linux/ncp_fs.h", "NCP_IOC_GETCHARSETS", 0x6e0b}, + {"linux/ncp_fs.h", "NCP_IOC_SETCHARSETS", 0x6e0b}, + {"linux/ncp_fs.h", "NCP_IOC_GETDENTRYTTL", 0x6e0c}, + {"linux/ncp_fs.h", "NCP_IOC_SETDENTRYTTL", 0x6e0c}, + {"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_CONNECTION", 0x6ef8}, + {"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", 0x6ef8}, + {"linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", 0x6ef9}, + {"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_MODE", 0x6efa}, + {"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_MODE", 0x6efa}, + {"linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", 0x6efb}, + {"linux/rtc.h", "RTC_AIE_ON", 0x7001}, + {"linux/rtc.h", "RTC_AIE_OFF", 0x7002}, + {"linux/intermezzo_fs.h", "PRESTO_GETMOUNT", 0x7003}, + {"linux/rtc.h", "RTC_UIE_ON", 0x7003}, + {"linux/intermezzo_fs.h", "PRESTO_SETPID", 0x7004}, + {"linux/rtc.h", "RTC_UIE_OFF", 0x7004}, + {"linux/rtc.h", "RTC_PIE_ON", 0x7005}, + {"linux/intermezzo_fs.h", "PRESTO_CLOSE_JOURNALF", 0x7006}, + {"linux/rtc.h", "RTC_PIE_OFF", 0x7006}, + {"linux/intermezzo_fs.h", "PRESTO_SET_FSETROOT", 0x7007}, + {"linux/rtc.h", "RTC_ALM_SET", 0x7007}, + {"linux/intermezzo_fs.h", "PRESTO_CLEAR_FSETROOT", 0x7008}, + {"linux/rtc.h", "RTC_ALM_READ", 0x7008}, + {"linux/intermezzo_fs.h", "PRESTO_SETOPT", 0x7009}, + {"linux/rtc.h", "RTC_RD_TIME", 0x7009}, + {"linux/intermezzo_fs.h", "PRESTO_GETOPT", 0x700a}, + {"linux/rtc.h", "RTC_SET_TIME", 0x700a}, + {"linux/intermezzo_fs.h", "PRESTO_GET_KMLSIZE", 0x700b}, + {"linux/rtc.h", "RTC_IRQP_READ", 0x700b}, + {"linux/intermezzo_fs.h", "PRESTO_GET_RECNO", 0x700c}, + {"linux/rtc.h", "RTC_IRQP_SET", 0x700c}, + {"linux/rtc.h", "RTC_EPOCH_READ", 0x700d}, + {"linux/rtc.h", "RTC_EPOCH_SET", 0x700e}, + {"linux/rtc.h", "RTC_WIE_ON", 0x700f}, + {"linux/rtc.h", "RTC_WKALM_SET", 0x700f}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SETATTR", 0x7010}, + {"linux/rtc.h", "RTC_WIE_OFF", 0x7010}, + {"linux/rtc.h", "RTC_WKALM_RD", 0x7010}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_CREATE", 0x7011}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_LINK", 0x7012}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_UNLINK", 0x7013}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SYMLINK", 0x7014}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_MKDIR", 0x7015}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_RMDIR", 0x7016}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_MKNOD", 0x7017}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_RENAME", 0x7018}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_CLOSE", 0x701a}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_IOPEN", 0x701b}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_SETEXTATTR", 0x701c}, + {"linux/intermezzo_fs.h", "PRESTO_VFS_DELEXTATTR", 0x701d}, + {"linux/intermezzo_fs.h", "PRESTO_MARK", 0x7020}, + {"linux/intermezzo_fs.h", "PRESTO_RELEASE_PERMIT", 0x7021}, + {"linux/intermezzo_fs.h", "PRESTO_CLEAR_ALL_FSETROOTS", 0x7022}, + {"linux/intermezzo_fs.h", "PRESTO_BACKFETCH_LML", 0x7023}, + {"linux/intermezzo_fs.h", "PRESTO_REINT", 0x7024}, + {"linux/intermezzo_fs.h", "PRESTO_CANCEL_LML", 0x7025}, + {"linux/intermezzo_fs.h", "PRESTO_RESET_FSET", 0x7026}, + {"linux/intermezzo_fs.h", "PRESTO_COMPLETE_CLOSES", 0x7027}, + {"linux/intermezzo_fs.h", "PRESTO_REINT_BEGIN", 0x7030}, + {"linux/intermezzo_fs.h", "PRESTO_DO_REINT", 0x7031}, + {"linux/intermezzo_fs.h", "PRESTO_REINT_END", 0x7032}, + {"linux/nvram.h", "NVRAM_INIT", 0x7040}, + {"linux/nvram.h", "NVRAM_SETCKS", 0x7041}, + {"linux/ppdev.h", "PPSETMODE", 0x7080}, + {"linux/ppdev.h", "PPRSTATUS", 0x7081}, + {"linux/ppdev.h", "PPRCONTROL", 0x7083}, + {"linux/ppdev.h", "PPWCONTROL", 0x7084}, + {"linux/ppdev.h", "PPRDATA", 0x7085}, + {"linux/ppdev.h", "PPWDATA", 0x7086}, + {"linux/ppdev.h", "PPCLAIM", 0x708b}, + {"linux/ppdev.h", "PPRELEASE", 0x708c}, + {"linux/ppdev.h", "PPYIELD", 0x708d}, + {"linux/ppdev.h", "PPFCONTROL", 0x708e}, + {"linux/ppdev.h", "PPEXCL", 0x708f}, + {"linux/ppdev.h", "PPDATADIR", 0x7090}, + {"linux/ppdev.h", "PPNEGOT", 0x7091}, + {"linux/ppdev.h", "PPWCTLONIRQ", 0x7092}, + {"linux/ppdev.h", "PPCLRIRQ", 0x7093}, + {"linux/ppdev.h", "PPSETPHASE", 0x7094}, + {"linux/ppdev.h", "PPGETTIME", 0x7095}, + {"linux/ppdev.h", "PPSETTIME", 0x7096}, + {"linux/ppdev.h", "PPGETMODES", 0x7097}, + {"linux/ppdev.h", "PPGETMODE", 0x7098}, + {"linux/ppdev.h", "PPGETPHASE", 0x7099}, + {"linux/ppdev.h", "PPGETFLAGS", 0x709a}, + {"linux/ppdev.h", "PPSETFLAGS", 0x709b}, + {"linux/serio.h", "SPIOCSTYPE", 0x7101}, + {"linux/telephony.h", "PHONE_CAPABILITIES", 0x7180}, + {"linux/telephony.h", "PHONE_CAPABILITIES_LIST", 0x7181}, + {"linux/telephony.h", "PHONE_CAPABILITIES_CHECK", 0x7182}, + {"linux/telephony.h", "PHONE_RING", 0x7183}, + {"linux/telephony.h", "PHONE_HOOKSTATE", 0x7184}, + {"linux/telephony.h", "PHONE_MAXRINGS", 0x7185}, + {"linux/telephony.h", "PHONE_RING_CADENCE", 0x7186}, + {"linux/telephony.h", "OLD_PHONE_RING_START", 0x7187}, + {"linux/telephony.h", "PHONE_RING_START", 0x7187}, + {"linux/telephony.h", "PHONE_RING_STOP", 0x7188}, + {"linux/telephony.h", "PHONE_REC_CODEC", 0x7189}, + {"linux/telephony.h", "PHONE_REC_START", 0x718a}, + {"linux/telephony.h", "PHONE_REC_STOP", 0x718b}, + {"linux/telephony.h", "PHONE_REC_DEPTH", 0x718c}, + {"linux/telephony.h", "PHONE_FRAME", 0x718d}, + {"linux/telephony.h", "PHONE_REC_VOLUME", 0x718e}, + {"linux/telephony.h", "PHONE_REC_LEVEL", 0x718f}, + {"linux/telephony.h", "PHONE_PLAY_CODEC", 0x7190}, + {"linux/telephony.h", "PHONE_PLAY_START", 0x7191}, + {"linux/telephony.h", "PHONE_PLAY_STOP", 0x7192}, + {"linux/telephony.h", "PHONE_PLAY_DEPTH", 0x7193}, + {"linux/telephony.h", "PHONE_PLAY_VOLUME", 0x7194}, + {"linux/telephony.h", "PHONE_PLAY_LEVEL", 0x7195}, + {"linux/telephony.h", "PHONE_DTMF_READY", 0x7196}, + {"linux/telephony.h", "PHONE_GET_DTMF", 0x7197}, + {"linux/telephony.h", "PHONE_GET_DTMF_ASCII", 0x7198}, + {"linux/telephony.h", "PHONE_DTMF_OOB", 0x7199}, + {"linux/telephony.h", "PHONE_EXCEPTION", 0x719a}, + {"linux/telephony.h", "PHONE_PLAY_TONE", 0x719b}, + {"linux/telephony.h", "PHONE_SET_TONE_ON_TIME", 0x719c}, + {"linux/telephony.h", "PHONE_SET_TONE_OFF_TIME", 0x719d}, + {"linux/telephony.h", "PHONE_GET_TONE_ON_TIME", 0x719e}, + {"linux/telephony.h", "PHONE_GET_TONE_OFF_TIME", 0x719f}, + {"linux/telephony.h", "PHONE_GET_TONE_STATE", 0x71a0}, + {"linux/telephony.h", "PHONE_BUSY", 0x71a1}, + {"linux/telephony.h", "PHONE_RINGBACK", 0x71a2}, + {"linux/telephony.h", "PHONE_DIALTONE", 0x71a3}, + {"linux/telephony.h", "PHONE_CPT_STOP", 0x71a4}, + {"linux/telephony.h", "PHONE_PSTN_SET_STATE", 0x71a4}, + {"linux/telephony.h", "PHONE_PSTN_GET_STATE", 0x71a5}, + {"linux/telephony.h", "PHONE_WINK_DURATION", 0x71a6}, + {"linux/telephony.h", "PHONE_QUERY_CODEC", 0x71a7}, + {"linux/telephony.h", "PHONE_PSTN_LINETEST", 0x71a8}, + {"linux/telephony.h", "PHONE_VAD", 0x71a9}, + {"linux/telephony.h", "PHONE_WINK", 0x71aa}, + {"linux/ixjuser.h", "IXJCTL_DSP_RESET", 0x71c0}, + {"linux/ixjuser.h", "IXJCTL_CARDTYPE", 0x71c1}, + {"linux/ixjuser.h", "IXJCTL_SERIAL", 0x71c2}, + {"linux/ixjuser.h", "IXJCTL_DSP_TYPE", 0x71c3}, + {"linux/ixjuser.h", "IXJCTL_DSP_VERSION", 0x71c4}, + {"linux/ixjuser.h", "IXJCTL_DSP_IDLE", 0x71c5}, + {"linux/ixjuser.h", "IXJCTL_TESTRAM", 0x71c6}, + {"linux/ixjuser.h", "IXJCTL_SET_FILTER", 0x71c7}, + {"linux/ixjuser.h", "IXJCTL_GET_FILTER_HIST", 0x71c8}, + {"linux/ixjuser.h", "IXJCTL_INIT_TONE", 0x71c9}, + {"linux/ixjuser.h", "IXJCTL_TONE_CADENCE", 0x71ca}, + {"linux/ixjuser.h", "IXJCTL_AEC_START", 0x71cb}, + {"linux/ixjuser.h", "IXJCTL_AEC_STOP", 0x71cc}, + {"linux/ixjuser.h", "IXJCTL_AEC_GET_LEVEL", 0x71cd}, + {"linux/ixjuser.h", "IXJCTL_SET_LED", 0x71ce}, + {"linux/ixjuser.h", "IXJCTL_MIXER", 0x71cf}, + {"linux/ixjuser.h", "IXJCTL_DAA_COEFF_SET", 0x71d0}, + {"linux/ixjuser.h", "IXJCTL_PORT", 0x71d1}, + {"linux/ixjuser.h", "IXJCTL_DAA_AGAIN", 0x71d2}, + {"linux/ixjuser.h", "IXJCTL_PSTN_LINETEST", 0x71d3}, + {"linux/ixjuser.h", "IXJCTL_CID", 0x71d4}, + {"linux/ixjuser.h", "IXJCTL_POTS_PSTN", 0x71d5}, + {"linux/ixjuser.h", "IXJCTL_FILTER_CADENCE", 0x71d6}, + {"linux/ixjuser.h", "IXJCTL_PLAY_CID", 0x71d7}, + {"linux/ixjuser.h", "IXJCTL_VMWI", 0x71d8}, + {"linux/ixjuser.h", "IXJCTL_CIDCW", 0x71d9}, + {"linux/ixjuser.h", "IXJCTL_VERSION", 0x71da}, + {"linux/telephony.h", "PHONE_REC_VOLUME_LINEAR", 0x71db}, + {"linux/telephony.h", "PHONE_PLAY_VOLUME_LINEAR", 0x71dc}, + {"linux/ixjuser.h", "IXJCTL_SET_FILTER_RAW", 0x71dd}, + {"linux/ixjuser.h", "IXJCTL_HZ", 0x71e0}, + {"linux/ixjuser.h", "IXJCTL_RATE", 0x71e1}, + {"linux/ixjuser.h", "IXJCTL_FRAMES_READ", 0x71e2}, + {"linux/ixjuser.h", "IXJCTL_FRAMES_WRITTEN", 0x71e3}, + {"linux/ixjuser.h", "IXJCTL_READ_WAIT", 0x71e4}, + {"linux/ixjuser.h", "IXJCTL_WRITE_WAIT", 0x71e5}, + {"linux/ixjuser.h", "IXJCTL_DRYBUFFER_READ", 0x71e6}, + {"linux/ixjuser.h", "IXJCTL_DRYBUFFER_CLEAR", 0x71e7}, + {"linux/ixjuser.h", "IXJCTL_DTMF_PRESCALE", 0x71e8}, + {"linux/ixjuser.h", "IXJCTL_SIGCTL", 0x71e9}, + {"linux/ixjuser.h", "IXJCTL_SC_RXG", 0x71ea}, + {"linux/ixjuser.h", "IXJCTL_SC_TXG", 0x71eb}, + {"linux/ixjuser.h", "IXJCTL_INTERCOM_START", 0x71fd}, + {"linux/ixjuser.h", "IXJCTL_INTERCOM_STOP", 0x71fe}, + {"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_BOTH", 0x7201}, + {"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_SHORT", 0x7202}, + {"linux/cdk.h", "STL_BINTR", 0x7314}, + {"linux/cdk.h", "STL_BSTART", 0x7315}, + {"linux/cdk.h", "STL_BSTOP", 0x7316}, + {"linux/cdk.h", "STL_BRESET", 0x7317}, + {"linux/cdk.h", "STL_GETPFLAG", 0x7350}, + {"linux/cdk.h", "STL_SETPFLAG", 0x7351}, + {"linux/if_ppp.h", "PPPIOCGCHAN", 0x7437}, + {"linux/if_ppp.h", "PPPIOCATTCHAN", 0x7438}, + {"linux/if_ppp.h", "PPPIOCDISCONN", 0x7439}, + {"linux/if_ppp.h", "PPPIOCCONNECT", 0x743a}, + {"linux/if_ppp.h", "PPPIOCSMRRU", 0x743b}, + {"linux/if_ppp.h", "PPPIOCDETACH", 0x743c}, + {"linux/if_ppp.h", "PPPIOCATTACH", 0x743d}, + {"linux/if_ppp.h", "PPPIOCNEWUNIT", 0x743e}, + {"linux/if_ppp.h", "PPPIOCGIDLE", 0x743f}, + {"linux/if_ppp.h", "PPPIOCSDEBUG", 0x7440}, + {"linux/if_ppp.h", "PPPIOCGDEBUG", 0x7441}, + {"linux/if_ppp.h", "PPPIOCSACTIVE", 0x7446}, + {"linux/if_ppp.h", "PPPIOCSPASS", 0x7447}, + {"linux/if_ppp.h", "PPPIOCSNPMODE", 0x744b}, + {"linux/if_ppp.h", "PPPIOCGNPMODE", 0x744c}, + {"linux/if_ppp.h", "PPPIOCSCOMPRESS", 0x744d}, + {"linux/if_ppp.h", "PPPIOCXFERUNIT", 0x744e}, + {"linux/if_ppp.h", "PPPIOCSXASYNCMAP", 0x744f}, + {"linux/if_ppp.h", "PPPIOCGXASYNCMAP", 0x7450}, + {"linux/if_ppp.h", "PPPIOCSMAXCID", 0x7451}, + {"linux/if_ppp.h", "PPPIOCSMRU", 0x7452}, + {"linux/if_ppp.h", "PPPIOCGMRU", 0x7453}, + {"linux/if_ppp.h", "PPPIOCSRASYNCMAP", 0x7454}, + {"linux/if_ppp.h", "PPPIOCGRASYNCMAP", 0x7455}, + {"linux/if_ppp.h", "PPPIOCGUNIT", 0x7456}, + {"linux/if_ppp.h", "PPPIOCSASYNCMAP", 0x7457}, + {"linux/if_ppp.h", "PPPIOCGASYNCMAP", 0x7458}, + {"linux/if_ppp.h", "PPPIOCSFLAGS", 0x7459}, + {"linux/if_ppp.h", "PPPIOCGFLAGS", 0x745a}, + {"linux/jffs.h", "JFFS_PRINT_HASH", 0x745a}, + {"linux/jffs.h", "JFFS_PRINT_TREE", 0x745b}, + {"linux/jffs.h", "JFFS_GET_STATUS", 0x745c}, + {"linux/isdn_ppp.h", "PPPIOCGCALLINFO", 0x7480}, + {"linux/isdn_ppp.h", "PPPIOCBUNDLE", 0x7481}, + {"linux/isdn_ppp.h", "PPPIOCGMPFLAGS", 0x7482}, + {"linux/isdn_ppp.h", "PPPIOCSMPFLAGS", 0x7483}, + {"linux/isdn_ppp.h", "PPPIOCSMPMTU", 0x7484}, + {"linux/isdn_ppp.h", "PPPIOCSMPMRU", 0x7485}, + {"linux/isdn_ppp.h", "PPPIOCGCOMPRESSORS", 0x7486}, + {"linux/isdn_ppp.h", "PPPIOCSCOMPRESSOR", 0x7487}, + {"linux/isdn_ppp.h", "PPPIOCGIFNAME", 0x7488}, + {"linux/toshiba.h", "TOSH_SMM", 0x7490}, + {"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID", 0x7501}, + {"linux/smb_fs.h", "SMB_IOC_NEWCONN", 0x7502}, + {"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID32", 0x7503}, + {"linux/sonypi.h", "SONYPI_IOCGBRT", 0x7600}, + {"linux/sonypi.h", "SONYPI_IOCSBRT", 0x7600}, + {"linux/ext2_fs.h", "EXT2_IOC_GETVERSION", 0x7601}, + {"linux/ext3_fs.h", "EXT3_IOC_GETVERSION_OLD", 0x7601}, + {"linux/videodev.h", "VIDIOCGCAP", 0x7601}, + {"linux/ext2_fs.h", "EXT2_IOC_SETVERSION", 0x7602}, + {"linux/ext3_fs.h", "EXT3_IOC_SETVERSION_OLD", 0x7602}, + {"linux/sonypi.h", "SONYPI_IOCGBAT1CAP", 0x7602}, + {"linux/videodev.h", "VIDIOCGCHAN", 0x7602}, + {"linux/sonypi.h", "SONYPI_IOCGBAT1REM", 0x7603}, + {"linux/videodev.h", "VIDIOCSCHAN", 0x7603}, + {"linux/sonypi.h", "SONYPI_IOCGBAT2CAP", 0x7604}, + {"linux/videodev.h", "VIDIOCGTUNER", 0x7604}, + {"linux/sonypi.h", "SONYPI_IOCGBAT2REM", 0x7605}, + {"linux/videodev.h", "VIDIOCSTUNER", 0x7605}, + {"linux/videodev.h", "VIDIOCGPICT", 0x7606}, + {"linux/sonypi.h", "SONYPI_IOCGBATFLAGS", 0x7607}, + {"linux/videodev.h", "VIDIOCSPICT", 0x7607}, + {"linux/sonypi.h", "SONYPI_IOCGBLUE", 0x7608}, + {"linux/videodev.h", "VIDIOCCAPTURE", 0x7608}, + {"linux/sonypi.h", "SONYPI_IOCSBLUE", 0x7609}, + {"linux/videodev.h", "VIDIOCGWIN", 0x7609}, + {"linux/videodev.h", "VIDIOCSWIN", 0x760a}, + {"linux/videodev.h", "VIDIOCGFBUF", 0x760b}, + {"linux/videodev.h", "VIDIOCSFBUF", 0x760c}, + {"linux/videodev.h", "VIDIOCKEY", 0x760d}, + {"linux/videodev.h", "VIDIOCGFREQ", 0x760e}, + {"linux/videodev.h", "VIDIOCSFREQ", 0x760f}, + {"linux/videodev.h", "VIDIOCGAUDIO", 0x7610}, + {"linux/videodev.h", "VIDIOCSAUDIO", 0x7611}, + {"linux/videodev.h", "VIDIOCSYNC", 0x7612}, + {"linux/videodev.h", "VIDIOCMCAPTURE", 0x7613}, + {"linux/videodev.h", "VIDIOCGMBUF", 0x7614}, + {"linux/videodev.h", "VIDIOCGUNIT", 0x7615}, + {"linux/videodev.h", "VIDIOCGCAPTURE", 0x7616}, + {"linux/videodev.h", "VIDIOCSCAPTURE", 0x7617}, + {"linux/videodev.h", "VIDIOCSPLAYMODE", 0x7618}, + {"linux/videodev.h", "VIDIOCSWRITEMODE", 0x7619}, + {"linux/videodev.h", "VIDIOCGPLAYINFO", 0x761a}, + {"linux/videodev.h", "VIDIOCSMICROCODE", 0x761b}, + {"linux/videodev.h", "VIDIOCGVBIFMT", 0x761c}, + {"linux/videodev.h", "VIDIOCSVBIFMT", 0x761d}, + {"linux/meye.h", "MEYEIOC_G_PARAMS", 0x76c0}, + {"linux/meye.h", "MEYEIOC_S_PARAMS", 0x76c1}, + {"linux/meye.h", "MEYEIOC_QBUF_CAPT", 0x76c2}, + {"linux/meye.h", "MEYEIOC_SYNC", 0x76c3}, + {"linux/meye.h", "MEYEIOC_STILLCAPT", 0x76c4}, + {"linux/meye.h", "MEYEIOC_STILLJCAPT", 0x76c5}, + {"linux/dn.h", "SIOCSNETADDR", 0x89e0}, + {"linux/dn.h", "OSIOCSNETADDR", 0x89e0}, + {"linux/dn.h", "SIOCGNETADDR", 0x89e1}, + {"linux/dn.h", "OSIOCGNETADDR", 0x89e1}, + {"linux/auto_fs.h", "AUTOFS_IOC_READY", 0x9360}, + {"linux/auto_fs.h", "AUTOFS_IOC_FAIL", 0x9361}, + {"linux/auto_fs.h", "AUTOFS_IOC_CATATONIC", 0x9362}, + {"linux/auto_fs.h", "AUTOFS_IOC_PROTOVER", 0x9363}, + {"linux/auto_fs.h", "AUTOFS_IOC_SETTIMEOUT", 0x9364}, + {"linux/auto_fs.h", "AUTOFS_IOC_EXPIRE", 0x9365}, + {"linux/auto_fs4.h", "AUTOFS_IOC_EXPIRE_MULTI", 0x9366}, + {"linux/nbd.h", "NBD_SET_SOCK", 0xab00}, + {"linux/nbd.h", "NBD_SET_BLKSIZE", 0xab01}, + {"linux/nbd.h", "NBD_SET_SIZE", 0xab02}, + {"linux/nbd.h", "NBD_DO_IT", 0xab03}, + {"linux/nbd.h", "NBD_CLEAR_SOCK", 0xab04}, + {"linux/nbd.h", "NBD_CLEAR_QUE", 0xab05}, + {"linux/nbd.h", "NBD_PRINT_DEBUG", 0xab06}, + {"linux/nbd.h", "NBD_SET_SIZE_BLOCKS", 0xab07}, + {"linux/nbd.h", "NBD_DISCONNECT", 0xab08}, + {"linux/raw.h", "RAW_SETBIND", 0xac00}, + {"linux/raw.h", "RAW_GETBIND", 0xac01}, + {"linux/if_pppox.h", "PPPOEIOCSFWD", 0xb100}, + {"linux/if_pppox.h", "PPPOEIOCDFWD", 0xb101}, + {"linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", 0xcd01}, + {"linux/lvm.h", "VG_CREATE_OLD", 0xfe00}, + {"linux/lvm.h", "VG_REMOVE", 0xfe01}, + {"linux/lvm.h", "VG_EXTEND", 0xfe03}, + {"linux/lvm.h", "VG_REDUCE", 0xfe04}, + {"linux/lvm.h", "VG_STATUS", 0xfe05}, + {"linux/lvm.h", "VG_STATUS_GET_COUNT", 0xfe06}, + {"linux/lvm.h", "VG_STATUS_GET_NAMELIST", 0xfe07}, + {"linux/lvm.h", "VG_SET_EXTENDABLE", 0xfe08}, + {"linux/lvm.h", "VG_RENAME", 0xfe09}, + {"linux/lvm.h", "VG_CREATE", 0xfe0a}, + {"linux/lvm.h", "LV_CREATE", 0xfe20}, + {"linux/lvm.h", "LV_REMOVE", 0xfe21}, + {"linux/lvm.h", "LV_ACTIVATE", 0xfe22}, + {"linux/lvm.h", "LV_DEACTIVATE", 0xfe23}, + {"linux/lvm.h", "LV_EXTEND", 0xfe24}, + {"linux/lvm.h", "LV_REDUCE", 0xfe25}, + {"linux/lvm.h", "LV_STATUS_BYNAME", 0xfe26}, + {"linux/lvm.h", "LV_STATUS_BYINDEX", 0xfe27}, + {"linux/lvm.h", "LV_SET_ACCESS", 0xfe28}, + {"linux/lvm.h", "LV_SET_ALLOCATION", 0xfe29}, + {"linux/lvm.h", "LV_SET_STATUS", 0xfe2a}, + {"linux/lvm.h", "LE_REMAP", 0xfe2b}, + {"linux/lvm.h", "LV_SNAPSHOT_USE_RATE", 0xfe2c}, + {"linux/lvm.h", "LV_STATUS_BYDEV", 0xfe2e}, + {"linux/lvm.h", "LV_RENAME", 0xfe2f}, + {"linux/lvm.h", "LV_BMAP", 0xfe30}, + {"linux/lvm.h", "PV_STATUS", 0xfe40}, + {"linux/lvm.h", "PV_CHANGE", 0xfe41}, + {"linux/lvm.h", "PV_FLUSH", 0xfe42}, + {"linux/lvm.h", "PE_LOCK_UNLOCK", 0xfe50}, + {"linux/lvm.h", "LVM_GET_IOP_VERSION", 0xfe98}, + {"linux/lvm.h", "LVM_RESET", 0xfe99}, + {"linux/lvm.h", "LVM_LOCK_LVM", 0xff00}, diff --git a/linux/sparc64/signalent.h b/linux/sparc64/signalent.h new file mode 100644 index 00000000..e059b5d0 --- /dev/null +++ b/linux/sparc64/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/sparc64/signalent1.h b/linux/sparc64/signalent1.h new file mode 100644 index 00000000..6be7a261 --- /dev/null +++ b/linux/sparc64/signalent1.h @@ -0,0 +1 @@ +#include "../svr4/signalent.h" diff --git a/linux/sparc64/signalent2.h b/linux/sparc64/signalent2.h new file mode 100644 index 00000000..e059b5d0 --- /dev/null +++ b/linux/sparc64/signalent2.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/sparc64/syscall.h b/linux/sparc64/syscall.h new file mode 100644 index 00000000..dc23258e --- /dev/null +++ b/linux/sparc64/syscall.h @@ -0,0 +1,204 @@ +/* + * Copyright (c) 1991, 1992 Paul Kranenburg + * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey + * 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_clone(),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(), sys_mremap(); +int sys_omsync(),sys_omadvise(), sys_madvise(),sys_mlockall(); + +/* 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_oldselect(),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(),sys_pivotroot(); +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(); +int sys_getdents(), sys_getdents64(), 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_llseek(); +int sys_truncate(),sys_ftruncate(),sys_access(),sys_fsync(),sys_sysctl(); +int sys_statfs(),sys_fstatfs(),sys_msync(); +int sys_stat64(), sys_lstat64(), sys_fstat64(); +int sys_truncate64(), sys_ftruncate64(); + + +/* 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_setresuid(), sys_setresgid(), sys_getresuid(), sys_getresgid(), sys_pread(); +int sys_pwrite(), sys_getcwd(); +int sys_sigaltstack(), sys_rt_sigprocmask(), sys_rt_sigaction(); +int sys_rt_sigpending(), sys_rt_sigsuspend(), sys_rt_sigqueueinfo(); +int sys_rt_sigtimedwait(), sys_prctl(), sys_poll(); +int sys_sendfile(), sys_query_module(), sys_capget(), sys_capset(); +int sys_create_module(), sys_init_module(); + +int sys_umask(); /* XXX */ + +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(); + +/* 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_umount2(); +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 */ + +int sys_sendfile64(), sys_futex(), sys_gettid(), sys_sched_setaffinity(); +int sys_sched_getaffinity(), sys_setxattr(), sys_lsetxattr(); +int sys_fsetxattr(), sys_getxattr(), sys_lgetxattr(), sys_fgetxattr(); +int sys_listxattr(), sys_llistxattr(), sys_flistxattr(); +int sys_removexattr(), sys_lremovexattr(), sys_fremovexattr(); +int sys_remap_file_pages(), sys_readahead(), sys_tgkill(), sys_statfs64(); +int sys_fstatfs64(), sys_clock_settime(), sys_clock_gettime(); +int sys_clock_getres(), sys_clock_nanosleep(); +int sys_timer_create(), sys_timer_settime(), sys_timer_gettime(); + +#include "syscall1.h" diff --git a/linux/sparc64/syscall1.h b/linux/sparc64/syscall1.h new file mode 100644 index 00000000..f6328a95 --- /dev/null +++ b/linux/sparc64/syscall1.h @@ -0,0 +1,501 @@ +/* + * Copyright (c) 1993, 1994, 1995 Rick Sladkey + * 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/sparc64/syscallent.h b/linux/sparc64/syscallent.h new file mode 100644 index 00000000..8e1555f0 --- /dev/null +++ b/linux/sparc64/syscallent.h @@ -0,0 +1,353 @@ + { 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 */ + { 3, TF, sys_chown, "chown"}, /* 13 */ + { 3, TF, sys_mknod, "mknod" }, /* 14 */ + { 2, TF, sys_chmod, "chmod" }, /* 15 */ + { 3, TF, sys_chown, "lchown" }, /* 16 */ + { 1, 0, sys_brk, "brk" }, /* 17 */ + { 4, 0, printargs, "perfctr" }, /* 18 */ + { 3, 0, sys_lseek, "lseek" }, /* 19 */ + { 0, 0, sys_getpid, "getpid" }, /* 20 */ + { 2, 0, sys_capget, "capget" }, /* 21 */ + { 2, 0, sys_capset, "capset" }, /* 22 */ + { 1, 0, sys_setuid, "setuid" }, /* 23 */ + { 0, 0, sys_getuid, "getuid" }, /* 24 */ + { 1, 0, sys_time, "time" }, /* 25 */ + { 5, 0, sys_ptrace, "ptrace" }, /* 26 */ + { 1, 0, sys_alarm, "alarm" }, /* 27 */ + { 2, TS, sys_sigaltstack,"sigaltstack" }, /* 28 */ + { 0, TS, sys_pause, "pause" }, /* 29 */ + { 2, TF, sys_utime, "utime" }, /* 30 */ + { 3, TF, sys_chown, "lchown32" }, /* 31 */ + { 3, 0, sys_fchown, "fchown32" }, /* 32 */ + { 2, TF, sys_access, "access" }, /* 33 */ + { 1, 0, sys_nice, "nice" }, /* 34 */ + { 3, TF, sys_chown, "chown32" }, /* 35 */ + { 0, 0, sys_sync, "sync" }, /* 36 */ + { 2, TS, sys_kill, "kill" }, /* 37 */ + { 2, TF, sys_stat, "stat" }, /* 38 */ + { 4, TF, sys_sendfile, "sendfile" }, /* 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 */ + { 0, 0, sys_getuid, "getuid32" }, /* 44 */ + { 2, TF, sys_umount2, "umount" }, /* 45 */ + { 1, 0, sys_setgid, "setgid" }, /* 46 */ + { 0, 0, sys_getgid, "getgid" }, /* 47 */ + { 3, TS, sys_signal, "signal" }, /* 48 */ + { 0, 0, sys_geteuid, "geteuid" }, /* 49 */ + { 0, 0, sys_getegid, "getegid" }, /* 50 */ + { 1, TF, sys_acct, "acct" }, /* 51 */ + { 2, 0, printargs, "memory_ordering" }, /* 52 */ + { 0, 0, sys_getgid, "getgid32" }, /* 53 */ + { 3, 0, sys_ioctl, "ioctl" }, /* 54 */ + { 3, 0, sys_reboot, "reboot" }, /* 55 */ + { 6, 0, sys_mmap, "mmap2" }, /* 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 */ + { 2, TF, sys_fstat64, "fstat64" }, /* 63 */ + { 0, 0, sys_getpagesize,"getpagesize" }, /* 64 */ + { 3, 0, sys_msync, "msync" }, /* 65 */ + { 0, TP, sys_vfork, "vfork" }, /* 66 */ + { 5, TF, sys_pread, "pread" }, /* 67 */ + { 5, TF, sys_pwrite, "pwrite" }, /* 68 */ + { 0, 0, sys_geteuid, "geteuid32" }, /* 69 */ + { 0, 0, sys_getegid, "getegid32" }, /* 70 */ + { 6, 0, sys_mmap, "mmap" }, /* 71 */ + { 2, 0, sys_setreuid, "setreuid32" }, /* 72 */ + { 2, 0, sys_munmap, "munmap" }, /* 73 */ + { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ + { 3, 0, sys_madvise, "madvise" }, /* 75 */ + { 0, 0, sys_vhangup, "vhangup" }, /* 76 */ + { 3, TF, sys_truncate64, "truncate64" }, /* 77 */ + { 3, 0, sys_mincore, "mincore" }, /* 78 */ + { 2, 0, sys_getgroups, "getgroups" }, /* 79 */ + { 2, 0, sys_setgroups, "setgroups" }, /* 80 */ + { 0, 0, sys_getpgrp, "getpgrp" }, /* 81 */ + { 2, 0, sys_setgroups, "setgroups32" }, /* 82 */ + { 3, 0, sys_setitimer, "setitimer" }, /* 83 */ + { 2, 0, sys_ftruncate, "ftruncate64" }, /* 84 */ + { 1, TF, sys_swapon, "swapon" }, /* 85 */ + { 2, 0, sys_getitimer, "getitimer" }, /* 86 */ + { 1, 0, sys_setuid, "setuid32" }, /* 87 */ + { 2, 0, sys_sethostname,"sethostname" }, /* 88 */ + { 1, 0, sys_setgid, "setgid32" }, /* 89 */ + { 2, 0, sys_dup2, "dup2" }, /* 90 */ + { 1, 0, sys_setfsuid, "setfsuid32" }, /* 91 */ + { 3, 0, sys_fcntl, "fcntl" }, /* 92 */ + { 5, 0, sys_select, "select" }, /* 93 */ + { 1, 0, sys_setfsgid, "setfsgid32" }, /* 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 */ + { 1, TS, printargs, "rt_sigreturn" }, /* 101 */ + { 4, TS, sys_rt_sigaction,"rt_sigaction" }, /* 102 */ + { 4, TS, sys_rt_sigprocmask,"rt_sigprocmask" }, /* 103 */ + { 2, TS, sys_rt_sigpending,"rt_sigpending" }, /* 104 */ + { 4, TS, sys_rt_sigtimedwait,"rt_sigtimedwait" },/* 105 */ + { 3, TS, sys_rt_sigqueueinfo,"rt_sigqueueinfo" },/* 106 */ + { 2, TS, sys_rt_sigsuspend,"rt_sigsuspend" }, /* 107 */ + { 3, TS, sys_setresuid, "setresuid" }, /* 108 */ + { 3, TS, sys_getresuid, "getresuid" }, /* 109 */ + { 3, TS, sys_setresgid, "setresgid" }, /* 110 */ + { 3, TS, sys_getresgid, "getresgid" }, /* 111 */ + { 2, TS, sys_setresgid, "setresgid32" }, /* 112 */ + { 5, TN, sys_recvmsg, "recvmsg" }, /* 113 */ + { 5, TN, sys_sendmsg, "sendmsg" }, /* 114 */ + { 2, 0, sys_getgroups, "getgroups32" }, /* 115 */ + { 2, 0, sys_gettimeofday,"gettimeofday" }, /* 116 */ + { 2, 0, sys_getrusage, "getrusage" }, /* 117 */ + { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ + { 2, TF, sys_getcwd, "getcwd" }, /* 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 */ + { 2, TF, sys_lstat64, "lstat64" }, /* 132 */ + { 6, TN, sys_sendto, "sendto" }, /* 133 */ + { 2, TN, sys_shutdown, "shutdown" }, /* 134 */ + { 4, TN, sys_socketpair, "socketpair" }, /* 135 */ + { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ + { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ + { 2, TF, sys_utimes, "utimes" }, /* 138 */ + { 2, TF, sys_stat64, "stat64" }, /* 139 */ + { 4, TF, sys_sendfile64, "sendfile64" }, /* 140 */ + { 3, TN, sys_getpeername,"getpeername" }, /* 141 */ + { 5, 0, sys_futex, "futex" }, /* 142 */ + { 0, 0, printargs, "gettid" }, /* 143 */ + { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */ + { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ + { 2, TF, sys_pivotroot, "pivot_root" }, /* 146 */ + { 5, 0, sys_prctl, "prctl" }, /* 147 */ + { 5, 0, printargs, "pciconfig_read" }, /* 148 */ + { 5, 0, printargs, "pciconfig_write" }, /* 149 */ + { 3, TN, sys_getsockname,"getsockname" }, /* 150 */ + { 4, TN, sys_getmsg, "getmsg" }, /* 151 */ + { 4, TN, sys_putmsg, "putmsg" }, /* 152 */ + { 3, 0, sys_poll, "poll" }, /* 153 */ + { 4, 0, sys_getdents64, "getdents64" }, /* 154 */ + { 3, 0, sys_fcntl, "fcntl64" }, /* 155 */ + { 4, 0, printargs, "getdirentries" }, /* 156 */ + { 2, TF, sys_statfs, "statfs" }, /* 157 */ + { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */ + { 1, TF, sys_umount, "oldumount" }, /* 159 */ + { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 160 */ + { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 161 */ + { 2, 0, printargs, "getdomainname" }, /* 162 */ + { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */ + { 5, 0, printargs, "utrap_install" }, /* 164 */ + { 4, 0, sys_quotactl, "quotactl" }, /* 165 */ + { 1, 0, printargs, "set_tid_address" }, /* 166 */ + { 5, TF, sys_mount, "mount" }, /* 167 */ + { 2, 0, sys_ustat, "ustat" }, /* 168 */ + { 5, TF, sys_setxattr, "setxattr" }, /* 169 */ + { 5, TF, sys_setxattr, "lsetxattr" }, /* 170 */ + { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 171 */ + { 4, TF, sys_getxattr, "getxattr" }, /* 172 */ + { 4, TF, sys_getxattr, "lgetxattr" }, /* 173 */ + { 3, 0, sys_getdents, "getdents" }, /* 174 */ + { 0, 0, sys_setsid, "setsid" }, /* 175 */ + { 1, 0, sys_fchdir, "fchdir" }, /* 176 */ + { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 177 */ + { 3, TF, sys_listxattr, "listxattr" }, /* 178 */ + { 3, TF, sys_listxattr, "llistxattr" }, /* 179 */ + { 3, 0, sys_flistxattr, "flistxattr" }, /* 180 */ + { 2, TF, sys_removexattr,"removexattr" }, /* 181 */ + { 2, TF, sys_removexattr,"lremovexattr" }, /* 182 */ + { 1, TS, sys_sigpending, "sigpending" }, /* 183 */ + { 5, 0, sys_query_module,"query_module" }, /* 184 */ + { 2, 0, sys_setpgid, "setpgid" }, /* 185 */ + { 2, 0, sys_fremovexattr,"fremovexattr" }, /* 186 */ + { 2, TS, sys_kill, "tkill" }, /* 187 */ + { 1, TP, sys_exit, "exit_group" }, /* 188 */ + { 1, 0, sys_uname, "uname" }, /* 189 */ + { 2, 0, sys_init_module,"init_module" }, /* 190 */ + { 1, 0, sys_personality,"personality" }, /* 191 */ + { 5, 0, sys_remap_file_pages,"remap_file_pages" },/* 192 */ + { 1, 0, printargs, "epoll_create" }, /* 193 */ + { 4, 0, printargs, "epoll_ctl" }, /* 194 */ + { 4, 0, printargs, "epoll_wait" }, /* 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_lstat, "lstat" }, /* 202 */ + { 1, TF, sys_uselib, "uselib" }, /* 203 */ + { 3, 0, sys_readdir, "readdir" }, /* 204 */ + { 4, 0, sys_readahead, "readahead" }, /* 205 */ + { 2, 0, sys_socketcall, "socketcall" }, /* 206 */ + { 3, 0, sys_syslog, "syslog" }, /* 207 */ + { 4, 0, printargs, "lookup_dcookie" }, /* 208 */ + { 6, 0, printargs, "fadvise64" }, /* 209 */ + { 6, 0, printargs, "fadvise64_64" }, /* 210 */ + { 3, TS, sys_tgkill, "tgkill" }, /* 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 */ + { 5, 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, sys_select, "select" }, /* 230 */ + { 1, 0, sys_time, "time" }, /* 231 */ + { 2, TF, sys_stat, "stat" }, /* 232 */ + { 1, 0, sys_stime, "stime" }, /* 233 */ + { 3, TF, sys_statfs64, "statfs64" }, /* 234 */ + { 3, 0, sys_fstatfs64, "fstatfs64" }, /* 235 */ + { 5, 0, sys_llseek, "_llseek" }, /* 236 */ + { 2, 0, sys_mlock, "mlock" }, /* 237 */ + { 2, 0, sys_munlock, "munlock" }, /* 238 */ + { 2, 0, sys_mlockall, "mlockall" }, /* 239 */ + { 0, 0, sys_munlockall, "munlockall" }, /* 240 */ + { 2, 0, sys_sched_setparam,"sched_setparam"}, /* 241 */ + { 2, 0, sys_sched_getparam,"sched_getparam"}, /* 242 */ + { 3, 0, sys_sched_setscheduler,"sched_setscheduler"},/* 243 */ + { 1, 0, sys_sched_getscheduler,"sched_getscheduler"},/* 244 */ + { 0, 0, sys_sched_yield,"sched_yield" }, /* 245 */ + { 1,0,sys_sched_get_priority_max,"sched_get_priority_max"},/* 246 */ + { 1,0,sys_sched_get_priority_min,"sched_get_priority_min"},/* 247 */ + { 2, 0,sys_sched_rr_get_interval,"sched_rr_get_interval"},/* 248 */ + { 2, 0, sys_nanosleep, "nanosleep" }, /* 249 */ + { 4, 0, sys_mremap, "mremap" }, /* 250 */ + { 1, 0, sys_sysctl, "_sysctl" }, /* 251 */ + { 1, 0, sys_getsid, "getsid" }, /* 252 */ + { 1, 0, sys_fdatasync, "fdatasync" }, /* 253 */ + { 3, 0, printargs, "nfsservctl" }, /* 254 */ + { 5, 0, printargs, "aplib" }, /* 255 */ + { 2, 0, sys_clock_settime,"clock_settime" }, /* 256 */ + { 2, 0, sys_clock_gettime,"clock_gettime" }, /* 257 */ + { 2, 0, sys_clock_getres,"clock_getres" }, /* 258 */ + { 4, 0, sys_clock_nanosleep,"clock_nanosleep" },/* 259 */ + { 3, 0, sys_sched_setaffinity,"sched_setaffinity" },/* 260 */ + { 3, 0, sys_sched_getaffinity,"sched_getaffinity" },/* 261 */ + { 4, 0, sys_timer_settime,"timer_settime" }, /* 262 */ + { 2, 0, sys_timer_gettime,"timer_gettime" }, /* 263 */ + { 1, 0, sys_timer_getoverrun,"timer_getoverrun" },/* 264 */ + { 1, 0, sys_timer_delete,"timer_delete" }, /* 265 */ + { 3, 0, sys_timer_create,"timer_create" }, /* 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/sparc64/syscallent1.h b/linux/sparc64/syscallent1.h new file mode 100644 index 00000000..821b3a95 --- /dev/null +++ b/linux/sparc64/syscallent1.h @@ -0,0 +1,439 @@ +/* + * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey + * 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 */ diff --git a/linux/sparc64/syscallent2.h b/linux/sparc64/syscallent2.h new file mode 100644 index 00000000..8e1555f0 --- /dev/null +++ b/linux/sparc64/syscallent2.h @@ -0,0 +1,353 @@ + { 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 */ + { 3, TF, sys_chown, "chown"}, /* 13 */ + { 3, TF, sys_mknod, "mknod" }, /* 14 */ + { 2, TF, sys_chmod, "chmod" }, /* 15 */ + { 3, TF, sys_chown, "lchown" }, /* 16 */ + { 1, 0, sys_brk, "brk" }, /* 17 */ + { 4, 0, printargs, "perfctr" }, /* 18 */ + { 3, 0, sys_lseek, "lseek" }, /* 19 */ + { 0, 0, sys_getpid, "getpid" }, /* 20 */ + { 2, 0, sys_capget, "capget" }, /* 21 */ + { 2, 0, sys_capset, "capset" }, /* 22 */ + { 1, 0, sys_setuid, "setuid" }, /* 23 */ + { 0, 0, sys_getuid, "getuid" }, /* 24 */ + { 1, 0, sys_time, "time" }, /* 25 */ + { 5, 0, sys_ptrace, "ptrace" }, /* 26 */ + { 1, 0, sys_alarm, "alarm" }, /* 27 */ + { 2, TS, sys_sigaltstack,"sigaltstack" }, /* 28 */ + { 0, TS, sys_pause, "pause" }, /* 29 */ + { 2, TF, sys_utime, "utime" }, /* 30 */ + { 3, TF, sys_chown, "lchown32" }, /* 31 */ + { 3, 0, sys_fchown, "fchown32" }, /* 32 */ + { 2, TF, sys_access, "access" }, /* 33 */ + { 1, 0, sys_nice, "nice" }, /* 34 */ + { 3, TF, sys_chown, "chown32" }, /* 35 */ + { 0, 0, sys_sync, "sync" }, /* 36 */ + { 2, TS, sys_kill, "kill" }, /* 37 */ + { 2, TF, sys_stat, "stat" }, /* 38 */ + { 4, TF, sys_sendfile, "sendfile" }, /* 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 */ + { 0, 0, sys_getuid, "getuid32" }, /* 44 */ + { 2, TF, sys_umount2, "umount" }, /* 45 */ + { 1, 0, sys_setgid, "setgid" }, /* 46 */ + { 0, 0, sys_getgid, "getgid" }, /* 47 */ + { 3, TS, sys_signal, "signal" }, /* 48 */ + { 0, 0, sys_geteuid, "geteuid" }, /* 49 */ + { 0, 0, sys_getegid, "getegid" }, /* 50 */ + { 1, TF, sys_acct, "acct" }, /* 51 */ + { 2, 0, printargs, "memory_ordering" }, /* 52 */ + { 0, 0, sys_getgid, "getgid32" }, /* 53 */ + { 3, 0, sys_ioctl, "ioctl" }, /* 54 */ + { 3, 0, sys_reboot, "reboot" }, /* 55 */ + { 6, 0, sys_mmap, "mmap2" }, /* 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 */ + { 2, TF, sys_fstat64, "fstat64" }, /* 63 */ + { 0, 0, sys_getpagesize,"getpagesize" }, /* 64 */ + { 3, 0, sys_msync, "msync" }, /* 65 */ + { 0, TP, sys_vfork, "vfork" }, /* 66 */ + { 5, TF, sys_pread, "pread" }, /* 67 */ + { 5, TF, sys_pwrite, "pwrite" }, /* 68 */ + { 0, 0, sys_geteuid, "geteuid32" }, /* 69 */ + { 0, 0, sys_getegid, "getegid32" }, /* 70 */ + { 6, 0, sys_mmap, "mmap" }, /* 71 */ + { 2, 0, sys_setreuid, "setreuid32" }, /* 72 */ + { 2, 0, sys_munmap, "munmap" }, /* 73 */ + { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ + { 3, 0, sys_madvise, "madvise" }, /* 75 */ + { 0, 0, sys_vhangup, "vhangup" }, /* 76 */ + { 3, TF, sys_truncate64, "truncate64" }, /* 77 */ + { 3, 0, sys_mincore, "mincore" }, /* 78 */ + { 2, 0, sys_getgroups, "getgroups" }, /* 79 */ + { 2, 0, sys_setgroups, "setgroups" }, /* 80 */ + { 0, 0, sys_getpgrp, "getpgrp" }, /* 81 */ + { 2, 0, sys_setgroups, "setgroups32" }, /* 82 */ + { 3, 0, sys_setitimer, "setitimer" }, /* 83 */ + { 2, 0, sys_ftruncate, "ftruncate64" }, /* 84 */ + { 1, TF, sys_swapon, "swapon" }, /* 85 */ + { 2, 0, sys_getitimer, "getitimer" }, /* 86 */ + { 1, 0, sys_setuid, "setuid32" }, /* 87 */ + { 2, 0, sys_sethostname,"sethostname" }, /* 88 */ + { 1, 0, sys_setgid, "setgid32" }, /* 89 */ + { 2, 0, sys_dup2, "dup2" }, /* 90 */ + { 1, 0, sys_setfsuid, "setfsuid32" }, /* 91 */ + { 3, 0, sys_fcntl, "fcntl" }, /* 92 */ + { 5, 0, sys_select, "select" }, /* 93 */ + { 1, 0, sys_setfsgid, "setfsgid32" }, /* 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 */ + { 1, TS, printargs, "rt_sigreturn" }, /* 101 */ + { 4, TS, sys_rt_sigaction,"rt_sigaction" }, /* 102 */ + { 4, TS, sys_rt_sigprocmask,"rt_sigprocmask" }, /* 103 */ + { 2, TS, sys_rt_sigpending,"rt_sigpending" }, /* 104 */ + { 4, TS, sys_rt_sigtimedwait,"rt_sigtimedwait" },/* 105 */ + { 3, TS, sys_rt_sigqueueinfo,"rt_sigqueueinfo" },/* 106 */ + { 2, TS, sys_rt_sigsuspend,"rt_sigsuspend" }, /* 107 */ + { 3, TS, sys_setresuid, "setresuid" }, /* 108 */ + { 3, TS, sys_getresuid, "getresuid" }, /* 109 */ + { 3, TS, sys_setresgid, "setresgid" }, /* 110 */ + { 3, TS, sys_getresgid, "getresgid" }, /* 111 */ + { 2, TS, sys_setresgid, "setresgid32" }, /* 112 */ + { 5, TN, sys_recvmsg, "recvmsg" }, /* 113 */ + { 5, TN, sys_sendmsg, "sendmsg" }, /* 114 */ + { 2, 0, sys_getgroups, "getgroups32" }, /* 115 */ + { 2, 0, sys_gettimeofday,"gettimeofday" }, /* 116 */ + { 2, 0, sys_getrusage, "getrusage" }, /* 117 */ + { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ + { 2, TF, sys_getcwd, "getcwd" }, /* 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 */ + { 2, TF, sys_lstat64, "lstat64" }, /* 132 */ + { 6, TN, sys_sendto, "sendto" }, /* 133 */ + { 2, TN, sys_shutdown, "shutdown" }, /* 134 */ + { 4, TN, sys_socketpair, "socketpair" }, /* 135 */ + { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ + { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ + { 2, TF, sys_utimes, "utimes" }, /* 138 */ + { 2, TF, sys_stat64, "stat64" }, /* 139 */ + { 4, TF, sys_sendfile64, "sendfile64" }, /* 140 */ + { 3, TN, sys_getpeername,"getpeername" }, /* 141 */ + { 5, 0, sys_futex, "futex" }, /* 142 */ + { 0, 0, printargs, "gettid" }, /* 143 */ + { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */ + { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ + { 2, TF, sys_pivotroot, "pivot_root" }, /* 146 */ + { 5, 0, sys_prctl, "prctl" }, /* 147 */ + { 5, 0, printargs, "pciconfig_read" }, /* 148 */ + { 5, 0, printargs, "pciconfig_write" }, /* 149 */ + { 3, TN, sys_getsockname,"getsockname" }, /* 150 */ + { 4, TN, sys_getmsg, "getmsg" }, /* 151 */ + { 4, TN, sys_putmsg, "putmsg" }, /* 152 */ + { 3, 0, sys_poll, "poll" }, /* 153 */ + { 4, 0, sys_getdents64, "getdents64" }, /* 154 */ + { 3, 0, sys_fcntl, "fcntl64" }, /* 155 */ + { 4, 0, printargs, "getdirentries" }, /* 156 */ + { 2, TF, sys_statfs, "statfs" }, /* 157 */ + { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */ + { 1, TF, sys_umount, "oldumount" }, /* 159 */ + { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 160 */ + { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 161 */ + { 2, 0, printargs, "getdomainname" }, /* 162 */ + { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */ + { 5, 0, printargs, "utrap_install" }, /* 164 */ + { 4, 0, sys_quotactl, "quotactl" }, /* 165 */ + { 1, 0, printargs, "set_tid_address" }, /* 166 */ + { 5, TF, sys_mount, "mount" }, /* 167 */ + { 2, 0, sys_ustat, "ustat" }, /* 168 */ + { 5, TF, sys_setxattr, "setxattr" }, /* 169 */ + { 5, TF, sys_setxattr, "lsetxattr" }, /* 170 */ + { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 171 */ + { 4, TF, sys_getxattr, "getxattr" }, /* 172 */ + { 4, TF, sys_getxattr, "lgetxattr" }, /* 173 */ + { 3, 0, sys_getdents, "getdents" }, /* 174 */ + { 0, 0, sys_setsid, "setsid" }, /* 175 */ + { 1, 0, sys_fchdir, "fchdir" }, /* 176 */ + { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 177 */ + { 3, TF, sys_listxattr, "listxattr" }, /* 178 */ + { 3, TF, sys_listxattr, "llistxattr" }, /* 179 */ + { 3, 0, sys_flistxattr, "flistxattr" }, /* 180 */ + { 2, TF, sys_removexattr,"removexattr" }, /* 181 */ + { 2, TF, sys_removexattr,"lremovexattr" }, /* 182 */ + { 1, TS, sys_sigpending, "sigpending" }, /* 183 */ + { 5, 0, sys_query_module,"query_module" }, /* 184 */ + { 2, 0, sys_setpgid, "setpgid" }, /* 185 */ + { 2, 0, sys_fremovexattr,"fremovexattr" }, /* 186 */ + { 2, TS, sys_kill, "tkill" }, /* 187 */ + { 1, TP, sys_exit, "exit_group" }, /* 188 */ + { 1, 0, sys_uname, "uname" }, /* 189 */ + { 2, 0, sys_init_module,"init_module" }, /* 190 */ + { 1, 0, sys_personality,"personality" }, /* 191 */ + { 5, 0, sys_remap_file_pages,"remap_file_pages" },/* 192 */ + { 1, 0, printargs, "epoll_create" }, /* 193 */ + { 4, 0, printargs, "epoll_ctl" }, /* 194 */ + { 4, 0, printargs, "epoll_wait" }, /* 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_lstat, "lstat" }, /* 202 */ + { 1, TF, sys_uselib, "uselib" }, /* 203 */ + { 3, 0, sys_readdir, "readdir" }, /* 204 */ + { 4, 0, sys_readahead, "readahead" }, /* 205 */ + { 2, 0, sys_socketcall, "socketcall" }, /* 206 */ + { 3, 0, sys_syslog, "syslog" }, /* 207 */ + { 4, 0, printargs, "lookup_dcookie" }, /* 208 */ + { 6, 0, printargs, "fadvise64" }, /* 209 */ + { 6, 0, printargs, "fadvise64_64" }, /* 210 */ + { 3, TS, sys_tgkill, "tgkill" }, /* 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 */ + { 5, 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, sys_select, "select" }, /* 230 */ + { 1, 0, sys_time, "time" }, /* 231 */ + { 2, TF, sys_stat, "stat" }, /* 232 */ + { 1, 0, sys_stime, "stime" }, /* 233 */ + { 3, TF, sys_statfs64, "statfs64" }, /* 234 */ + { 3, 0, sys_fstatfs64, "fstatfs64" }, /* 235 */ + { 5, 0, sys_llseek, "_llseek" }, /* 236 */ + { 2, 0, sys_mlock, "mlock" }, /* 237 */ + { 2, 0, sys_munlock, "munlock" }, /* 238 */ + { 2, 0, sys_mlockall, "mlockall" }, /* 239 */ + { 0, 0, sys_munlockall, "munlockall" }, /* 240 */ + { 2, 0, sys_sched_setparam,"sched_setparam"}, /* 241 */ + { 2, 0, sys_sched_getparam,"sched_getparam"}, /* 242 */ + { 3, 0, sys_sched_setscheduler,"sched_setscheduler"},/* 243 */ + { 1, 0, sys_sched_getscheduler,"sched_getscheduler"},/* 244 */ + { 0, 0, sys_sched_yield,"sched_yield" }, /* 245 */ + { 1,0,sys_sched_get_priority_max,"sched_get_priority_max"},/* 246 */ + { 1,0,sys_sched_get_priority_min,"sched_get_priority_min"},/* 247 */ + { 2, 0,sys_sched_rr_get_interval,"sched_rr_get_interval"},/* 248 */ + { 2, 0, sys_nanosleep, "nanosleep" }, /* 249 */ + { 4, 0, sys_mremap, "mremap" }, /* 250 */ + { 1, 0, sys_sysctl, "_sysctl" }, /* 251 */ + { 1, 0, sys_getsid, "getsid" }, /* 252 */ + { 1, 0, sys_fdatasync, "fdatasync" }, /* 253 */ + { 3, 0, printargs, "nfsservctl" }, /* 254 */ + { 5, 0, printargs, "aplib" }, /* 255 */ + { 2, 0, sys_clock_settime,"clock_settime" }, /* 256 */ + { 2, 0, sys_clock_gettime,"clock_gettime" }, /* 257 */ + { 2, 0, sys_clock_getres,"clock_getres" }, /* 258 */ + { 4, 0, sys_clock_nanosleep,"clock_nanosleep" },/* 259 */ + { 3, 0, sys_sched_setaffinity,"sched_setaffinity" },/* 260 */ + { 3, 0, sys_sched_getaffinity,"sched_getaffinity" },/* 261 */ + { 4, 0, sys_timer_settime,"timer_settime" }, /* 262 */ + { 2, 0, sys_timer_gettime,"timer_gettime" }, /* 263 */ + { 1, 0, sys_timer_getoverrun,"timer_getoverrun" },/* 264 */ + { 1, 0, sys_timer_delete,"timer_delete" }, /* 265 */ + { 3, 0, sys_timer_create,"timer_create" }, /* 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/net.c b/net.c index 206518f8..dd6fb644 100644 --- a/net.c +++ b/net.c @@ -1294,7 +1294,7 @@ sys_pipe(tcp) struct tcb *tcp; { -#if defined(LINUX) && !defined(SPARC) && !defined(SH) && !defined(IA64) +#if defined(LINUX) && !defined(SPARC) && !defined(SPARC64) && !defined(SH) && !defined(IA64) int fds[2]; if (exiting(tcp)) { @@ -1307,7 +1307,7 @@ struct tcb *tcp; else tprintf("[%u, %u]", fds[0], fds[1]); } -#elif defined(SPARC) || defined(SH) || defined(SVR4) || defined(FREEBSD) || defined(IA64) +#elif defined(SPARC) || defined(SPARC64) || defined(SH) || defined(SVR4) || defined(FREEBSD) || defined(IA64) if (exiting(tcp)) tprintf("[%lu, %lu]", tcp->u_rval, getrval2(tcp)); #endif diff --git a/process.c b/process.c index 7a547307..ac28e4e0 100644 --- a/process.c +++ b/process.c @@ -57,17 +57,17 @@ #endif #if HAVE_ASM_REG_H -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) # define fpq kernel_fpq # define fq kernel_fq # define fpu kernel_fpu -#endif +#endif /* SPARC || SPARC64 */ #include -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) # undef fpq # undef fq # undef fpu -#endif +#endif /* SPARC || SPARC64 */ #endif /* HAVE_ASM_REG_H */ #ifdef HAVE_SYS_REG_H @@ -93,6 +93,14 @@ # undef pt_all_user_regs #endif +#if defined (LINUX) && defined (SPARC64) +# define r_pc r_tpc +# undef PTRACE_GETREGS +# define PTRACE_GETREGS PTRACE_GETREGS64 +# undef PTRACE_SETREGS +# define PTRACE_SETREGS PTRACE_SETREGS64 +#endif /* LINUX && SPARC64 */ + #ifdef HAVE_LINUX_FUTEX_H #include #endif @@ -641,7 +649,7 @@ int new; if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_ORIG_D0), new)<0) return -1; return 0; -#elif defined(SPARC) +#elif defined(SPARC) || defined(SPARC64) struct regs regs; if (ptrace(PTRACE_GETREGS, tcp->pid, (char*)®s, 0)<0) return -1; @@ -2774,7 +2782,7 @@ struct xlat struct_user_offsets[] = { { uoff(regs.ARM_cpsr), "cpsr" }, #endif -#if !defined(S390) && !defined(S390X) && !defined(MIPS) +#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64) { uoff(u_fpvalid), "offsetof(struct user, u_fpvalid)" }, #endif #if defined(I386) || defined(X86_64) @@ -2787,17 +2795,23 @@ struct xlat struct_user_offsets[] = { { uoff(u_tsize), "offsetof(struct user, u_tsize)" }, { uoff(u_dsize), "offsetof(struct user, u_dsize)" }, { uoff(u_ssize), "offsetof(struct user, u_ssize)" }, +#if !defined(SPARC64) { uoff(start_code), "offsetof(struct user, start_code)" }, +#endif #ifdef SH64 { uoff(start_data), "offsetof(struct user, start_data)" }, #endif +#if !defined(SPARC64) { uoff(start_stack), "offsetof(struct user, start_stack)" }, +#endif { uoff(signal), "offsetof(struct user, signal)" }, -#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SH) && !defined(SH64) +#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SH) && !defined(SH64) && !defined(SPARC64) { uoff(reserved), "offsetof(struct user, reserved)" }, #endif +#if !defined(SPARC64) { uoff(u_ar0), "offsetof(struct user, u_ar0)" }, -#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) +#endif +#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64) { uoff(u_fpstate), "offsetof(struct user, u_fpstate)" }, #endif { uoff(magic), "offsetof(struct user, magic)" }, diff --git a/signal.c b/signal.c index 422bebb4..f0513381 100644 --- a/signal.c +++ b/signal.c @@ -72,20 +72,27 @@ #endif /* !IA64 */ #if HAVE_ASM_REG_H -# ifdef SPARC +# if defined (SPARC) || defined (SPARC64) # define fpq kernel_fpq # define fq kernel_fq # define fpu kernel_fpu # endif # include -# ifdef SPARC +# if defined (SPARC) || defined (SPARC64) # undef fpq # undef fq # undef fpu # endif +#if defined (LINUX) && defined (SPARC64) +# define r_pc r_tpc +# undef PTRACE_GETREGS +# define PTRACE_GETREGS PTRACE_GETREGS64 +# undef PTRACE_SETREGS +# define PTRACE_SETREGS PTRACE_SETREGS64 +#endif /* LINUX && SPARC64 */ #endif /* HAVE_ASM_REG_H */ -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) typedef struct { struct regs si_regs; int si_mask; @@ -1375,7 +1382,7 @@ struct tcb *tcp; } return 0; #else -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) long i1; struct regs regs; m_siginfo_t si; @@ -1429,7 +1436,7 @@ struct tcb *tcp; #warning (no problem, just a reminder :-) return 0; #endif /* MIPS */ -#endif /* SPARC */ +#endif /* SPARC || SPARC64 */ #endif /* ALPHA */ #endif /* !M68K */ #endif /* !POWERPC */ diff --git a/syscall.c b/syscall.c index 4264a80d..b6d526de 100644 --- a/syscall.c +++ b/syscall.c @@ -43,13 +43,13 @@ #include #if HAVE_ASM_REG_H -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) # define fpq kernel_fpq # define fq kernel_fq # define fpu kernel_fpu #endif #include -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) # undef fpq # undef fq # undef fpu @@ -74,6 +74,14 @@ # undef pt_all_user_regs #endif +#if defined (LINUX) && defined (SPARC64) +# define r_pc r_tpc +# undef PTRACE_GETREGS +# define PTRACE_GETREGS PTRACE_GETREGS64 +# undef PTRACE_SETREGS +# define PTRACE_SETREGS PTRACE_SETREGS64 +#endif /* LINUX && SPARC64 */ + #if defined(LINUX) && defined(IA64) # include # include @@ -715,7 +723,7 @@ struct tcb *tcp; #elif defined (ALPHA) static long r0; static long a3; -#elif defined (SPARC) +#elif defined (SPARC) || defined (SPARC64) static struct regs regs; static unsigned long trap; #elif defined(MIPS) @@ -1062,7 +1070,7 @@ struct tcb *tcp; if (upeek(pid, REG_R0, &r0) < 0) return -1; } -#elif defined (SPARC) +#elif defined (SPARC) || defined (SPARC64) /* Everything we need is in the current register set. */ if (ptrace(PTRACE_GETREGS,pid,(char *)®s,0) < 0) return -1; @@ -1072,6 +1080,9 @@ struct tcb *tcp; /* Retrieve the syscall trap instruction. */ errno = 0; trap = ptrace(PTRACE_PEEKTEXT,pid,(char *)regs.r_pc,0); +#if defined(SPARC64) + trap >>= 32; +#endif if (errno) return -1; @@ -1083,8 +1094,8 @@ struct tcb *tcp; break; case 0x91d0206d: /* Linux/SPARC64 syscall trap. */ - fprintf(stderr,"syscall: Linux/SPARC64 not supported yet\n"); - return -1; + set_personality(2); + break; case 0x91d02000: /* SunOS syscall trap. (pers 1) */ fprintf(stderr,"syscall: SunOS no support\n"); @@ -1107,7 +1118,11 @@ struct tcb *tcp; tcp->flags &= ~TCB_WAITEXECVE; return 0; } +#if defined (SPARC64) + fprintf(stderr,"syscall: unknown syscall trap %08lx %016lx\n", trap, regs.r_tpc); +#else fprintf(stderr,"syscall: unknown syscall trap %08x %08x\n", trap, regs.r_pc); +#endif return -1; } @@ -1478,6 +1493,16 @@ struct tcb *tcp; u_error = 0; } #else /* !SPARC */ +#ifdef SPARC64 + if (regs.r_tstate & 0x1100000000UL) { + tcp->u_rval = -1; + u_error = regs.r_o0; + } + else { + tcp->u_rval = regs.r_o0; + u_error = 0; + } +#else /* !SPARC64 */ #ifdef HPPA if (r28 && (unsigned) -r28 < nerrnos) { tcp->u_rval = -1; @@ -1513,6 +1538,7 @@ struct tcb *tcp; #endif /* SH */ #endif /* HPPA */ #endif /* SPARC */ +#endif /* SPARC64 */ #endif /* ALPHA */ #endif /* ARM */ #endif /* M68K */ @@ -1705,6 +1731,20 @@ force_result(tcp, error, rval) if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)®s, 0) < 0) return -1; #else /* !SPARC */ +#ifdef SPARC64 + if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)®s, 0) < 0) + return -1; + if (error) { + regs.r_tstate |= 0x1100000000UL; + regs.r_o0 = error; + } + else { + regs.r_tstate &= ~0x1100000000UL; + regs.r_o0 = rval; + } + if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)®s, 0) < 0) + return -1; +#else /* !SPARC64 */ #ifdef HPPA r28 = error ? -error : rval; if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GR28), r28) < 0) @@ -1723,6 +1763,7 @@ force_result(tcp, error, rval) #endif /* SH */ #endif /* HPPA */ #endif /* SPARC */ +#endif /* SPARC64 */ #endif /* ALPHA */ #endif /* ARM */ #endif /* M68K */ @@ -1901,7 +1942,7 @@ struct tcb *tcp; return -1; } } -#elif defined (SPARC) +#elif defined (SPARC) || defined (SPARC64) { int i; @@ -2285,7 +2326,7 @@ struct tcb *tcp; switch (tcp->scno + NR_SYSCALL_BASE) { #ifdef LINUX -#if !defined (ALPHA) && !defined(SPARC) && !defined(MIPS) && !defined(HPPA) && !defined(X86_64) +#if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA) && !defined(X86_64) case SYS_socketcall: decode_subcall(tcp, SYS_socket_subcall, SYS_socket_nsubcalls, deref_style); @@ -2294,8 +2335,8 @@ struct tcb *tcp; decode_subcall(tcp, SYS_ipc_subcall, SYS_ipc_nsubcalls, shift_style); break; -#endif /* !ALPHA && !MIPS && !SPARC && !HPPA && !X86_64 */ -#ifdef SPARC +#endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA && !X86_64 */ +#if defined (SPARC) || defined (SPARC64) case SYS_socketcall: sparc_socket_decode (tcp); break; @@ -2435,7 +2476,7 @@ struct tcb *tcp; long val = -1; #ifdef LINUX -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) struct regs regs; if (ptrace(PTRACE_GETREGS,tcp->pid,(char *)®s,0) < 0) return -1; @@ -2443,7 +2484,7 @@ struct tcb *tcp; #elif defined(SH) if (upeek(tcp->pid, 4*(REG_REG0+1), &val) < 0) return -1; -#endif /* SPARC */ +#endif /* SPARC || SPARC64 */ #elif defined(IA64) if (upeek(tcp->pid, PT_R9, &val) < 0) return -1; diff --git a/util.c b/util.c index d4cc290c..68b0f7de 100644 --- a/util.c +++ b/util.c @@ -78,7 +78,7 @@ #include #endif /* SUNOS4_KERNEL_ARCH_KLUDGE */ -#if defined(LINUX) && defined(SPARC) +#if defined(LINUXSPARC) # define fpq kernel_fpq # define fq kernel_fq @@ -88,6 +88,14 @@ # undef fq # undef fpu +#if defined (SPARC64) +# define r_pc r_tpc +# undef PTRACE_GETREGS +# define PTRACE_GETREGS PTRACE_GETREGS64 +# undef PTRACE_SETREGS +# define PTRACE_SETREGS PTRACE_SETREGS64 +#endif /* SPARC64 */ + #if !defined(__GLIBC__) #include @@ -104,7 +112,11 @@ __asm__ volatile ("or %%g0, %1, %%o0\n\t" \ "or %%g0, %4, %%o3\n\t" \ "or %%g0, %5, %%o4\n\t" \ "or %%g0, %6, %%g1\n\t" \ +#if defined (SPARC64) + "t 0x6d\n\t" \ +#else "t 0x10\n\t" \ +#endif "bcc 1f\n\t" \ "or %%g0, %%o0, %0\n\t" \ "sub %%g0, %%o0, %0\n\t" \ @@ -800,10 +812,10 @@ char *laddr; } #ifdef LINUX -#ifndef SPARC +#if !defined (SPARC) && !defined(SPARC64) #define PTRACE_WRITETEXT 101 #define PTRACE_WRITEDATA 102 -#endif /* !SPARC */ +#endif /* !SPARC && !SPARC64 */ #endif /* LINUX */ #ifdef SUNOS4 @@ -977,7 +989,7 @@ struct tcb *tcp; #elif defined(MIPS) if (upeek(tcp->pid, REG_EPC, &pc) < 0) return -1; -#elif defined(SPARC) +#elif defined(SPARC) || defined(SPARC64) struct regs regs; if (ptrace(PTRACE_GETREGS,tcp->pid,(char *)®s,0) < 0) return -1; @@ -1078,7 +1090,7 @@ struct tcb *tcp; return; } tprintf("[%08lx] ", pc); -#elif defined(SPARC) +#elif defined(SPARC) || defined(SPARC64) struct regs regs; if (ptrace(PTRACE_GETREGS,tcp->pid,(char *)®s,0) < 0) { tprintf("[????????] "); @@ -1254,7 +1266,7 @@ set_arg1 (struct tcb *tcp, arg_setup_state *state, long val) return errno ? -1 : 0; } -#elif defined (SPARC) +#elif defined (SPARC) || defined (SPARC64) typedef struct regs arg_setup_state; @@ -1426,10 +1438,11 @@ struct tcb *tcp; { #ifdef LINUX -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) /* We simply use the SunOS breakpoint code. */ struct regs regs; + unsigned long inst; #define LOOPA 0x30800000 /* ba,a 0 */ if (tcp->flags & TCB_BPTSET) { @@ -1459,14 +1472,19 @@ struct tcb *tcp; * Of cause, if we evaporate ourselves in the middle of all this... */ errno = 0; - ptrace(PTRACE_POKETEXT, tcp->pid, (char *) tcp->baddr, LOOPA); + inst = LOOPA; +#if defined (SPARC64) + inst <<= 32; + inst |= (tcp->inst[0] & 0xffffffffUL); +#endif + ptrace(PTRACE_POKETEXT, tcp->pid, (char *) tcp->baddr, inst); if(errno) { perror("setbpt: ptrace(PTRACE_POKETEXT, ...)"); return -1; } tcp->flags |= TCB_BPTSET; -#else /* !SPARC */ +#else /* !SPARC && !SPARC64 */ #ifdef IA64 if (ia32) { # define LOOP 0x0000feeb @@ -1615,7 +1633,7 @@ struct tcb *tcp; tcp->flags |= TCB_BPTSET; #endif /* !IA64 */ -#endif /* SPARC */ +#endif /* SPARC || SPARC64 */ #endif /* LINUX */ #ifdef SUNOS4 @@ -1690,7 +1708,7 @@ struct tcb *tcp; long pc; #endif /* architecture */ -#ifdef SPARC +#if defined (SPARC) || defined (SPARC64) /* Again, we borrow the SunOS breakpoint code. */ if (!(tcp->flags & TCB_BPTSET)) { fprintf(stderr, "PANIC: TCB not set in pid %u\n", tcp->pid); @@ -1770,7 +1788,7 @@ struct tcb *tcp; return 0; } } -#else /* !IA64 && ! SPARC */ +#else /* !IA64 && !SPARC && !SPARC64 */ if (debug) fprintf(stderr, "[%d] clearing bpt\n", tcp->pid); @@ -1868,7 +1886,7 @@ struct tcb *tcp; } #endif /* arch */ -#endif /* !SPARC && !IA64 */ +#endif /* !SPARC && !SPARC64 && !IA64 */ #endif /* LINUX */ #ifdef SUNOS4