root/arch/mips/kernel/syscalls.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * List of Linux/MIPS syscalls.
   3  *
   4  * This file is subject to the terms and conditions of the GNU General Public
   5  * License.  See the file "COPYING" in the main directory of this archive
   6  * for more details.
   7  *
   8  * Copyright (C) 1995 by Ralf Baechle
   9  */
  10 
  11 /*
  12  * This file is being included twice - once to build a list of all
  13  * syscalls and once to build a table of how many arguments each syscall
  14  * accepts.  Syscalls that receive a pointer to the saved registers are
  15  * marked as having zero arguments.
  16  *
  17  * The binary compatibility calls are still missing in this list.
  18  */
  19 SYS(sys_syscall, 7)                             /* 4000 */
  20 SYS(sys_exit, 1)
  21 SYS(sys_fork, 0)
  22 SYS(sys_read, 3)
  23 SYS(sys_write, 3)
  24 SYS(sys_open, 3)                                /* 4005 */
  25 SYS(sys_close, 3)
  26 SYS(sys_waitpid, 3)
  27 SYS(sys_creat, 2)
  28 SYS(sys_link, 2)
  29 SYS(sys_unlink, 1)                              /* 4010 */
  30 SYS(sys_execve, 0)
  31 SYS(sys_chdir, 1)
  32 SYS(sys_time, 1)
  33 SYS(sys_mknod, 3)
  34 SYS(sys_chmod, 2)                               /* 4015 */
  35 SYS(sys_chown, 3)
  36 SYS(sys_break, 0)
  37 SYS(sys_stat, 2)
  38 SYS(sys_lseek, 3)
  39 SYS(sys_getpid, 0)                              /* 4020 */
  40 SYS(sys_mount, 5)
  41 SYS(sys_umount, 1)
  42 SYS(sys_setuid, 1)
  43 SYS(sys_getuid, 0)
  44 SYS(sys_stime, 1)                               /* 4025 */
  45 SYS(sys_ptrace, 4)
  46 SYS(sys_alarm, 1)
  47 SYS(sys_fstat, 2)
  48 SYS(sys_pause, 0)
  49 SYS(sys_utime, 2)                               /* 4030 */
  50 SYS(sys_stty, 0)
  51 SYS(sys_gtty, 0)
  52 SYS(sys_access, 2)
  53 SYS(sys_nice, 1)
  54 SYS(sys_ftime, 0)                               /* 4035 */
  55 SYS(sys_sync, 0)
  56 SYS(sys_kill, 2)
  57 SYS(sys_rename, 2)
  58 SYS(sys_mkdir, 2)
  59 SYS(sys_rmdir, 1)                               /* 4040 */
  60 SYS(sys_dup, 1)
  61 SYS(sys_pipe, 0)
  62 SYS(sys_times, 1)
  63 SYS(sys_prof, 0)
  64 SYS(sys_brk, 1)                                 /* 4045 */
  65 SYS(sys_setgid, 1)
  66 SYS(sys_getgid, 0)
  67 SYS(sys_signal, 2)
  68 SYS(sys_geteuid, 0)
  69 SYS(sys_getegid, 0)                             /* 4050 */
  70 SYS(sys_acct, 0)
  71 SYS(sys_phys, 0)
  72 SYS(sys_lock, 0)
  73 SYS(sys_ioctl, 3)
  74 SYS(sys_fcntl, 3)                               /* 4055 */
  75 SYS(sys_mpx, 2)
  76 SYS(sys_setpgid, 2)
  77 SYS(sys_ulimit, 0)
  78 SYS(sys_olduname, 1)
  79 SYS(sys_umask, 1)                               /* 4060 */
  80 SYS(sys_chroot, 1)
  81 SYS(sys_ustat, 2)
  82 SYS(sys_dup2, 2)
  83 SYS(sys_getppid, 0)
  84 SYS(sys_getpgrp, 0)                             /* 4065 */
  85 SYS(sys_setsid, 0)
  86 SYS(sys_sigaction, 3)
  87 SYS(sys_sgetmask, 0)
  88 SYS(sys_ssetmask, 1)
  89 SYS(sys_setreuid, 2)                            /* 4070 */
  90 SYS(sys_setregid, 2)
  91 SYS(sys_sigsuspend, 3)
  92 SYS(sys_sigpending, 1)
  93 SYS(sys_sethostname, 2)
  94 SYS(sys_setrlimit, 2)                           /* 4075 */
  95 SYS(sys_getrlimit, 2)
  96 SYS(sys_getrusage, 2)
  97 SYS(sys_gettimeofday, 2)
  98 SYS(sys_settimeofday, 2)
  99 SYS(sys_getgroups, 2)                           /* 4080 */
 100 SYS(sys_setgroups, 2)
 101 SYS(sys_ni_syscall, 0) /* old_select */
 102 SYS(sys_symlink, 2)
 103 SYS(sys_lstat, 2)
 104 SYS(sys_readlink, 3)                            /* 4085 */
 105 SYS(sys_uselib, 1)
 106 SYS(sys_swapon, 2)
 107 SYS(sys_reboot, 3)
 108 SYS(old_readdir, 3)
 109 SYS(sys_mmap, 6)                                /* 4090 */
 110 SYS(sys_munmap, 2)
 111 SYS(sys_truncate, 2)
 112 SYS(sys_ftruncate, 2)
 113 SYS(sys_fchmod, 2)
 114 SYS(sys_fchown, 3)                              /* 4095 */
 115 SYS(sys_getpriority, 2)
 116 SYS(sys_setpriority, 3)
 117 SYS(sys_profil, 0)
 118 SYS(sys_statfs, 2)
 119 SYS(sys_fstatfs, 2)                             /* 4100 */
 120 SYS(sys_ioperm, 3)
 121 SYS(sys_socketcall, 2)
 122 SYS(sys_syslog, 3)
 123 SYS(sys_setitimer, 3)
 124 SYS(sys_getitimer, 2)                           /* 4105 */
 125 SYS(sys_newstat, 2)
 126 SYS(sys_newlstat, 2)
 127 SYS(sys_newfstat, 2)
 128 SYS(sys_uname, 1)
 129 SYS(sys_iopl, 0)        /* Well, actually 17 args ... */                                /* 4110 */
 130 SYS(sys_vhangup, 0)
 131 SYS(sys_idle, 0)
 132 SYS(sys_vm86, 1)
 133 SYS(sys_wait4, 4)
 134 SYS(sys_swapoff, 1)                             /* 4115 */
 135 SYS(sys_sysinfo, 1)
 136 SYS(sys_ipc, 6)
 137 SYS(sys_fsync, 1)
 138 SYS(sys_sigreturn, 0)
 139 SYS(sys_clone, 0)                               /* 4120 */
 140 SYS(sys_setdomainname, 2)
 141 SYS(sys_newuname, 1)
 142 SYS(sys_ni_syscall, 0) /* sys_modify_ldt */
 143 SYS(sys_adjtimex, 1)
 144 SYS(sys_mprotect, 3)                            /* 4125 */
 145 SYS(sys_sigprocmask, 3)
 146 SYS(sys_create_module, 2)
 147 SYS(sys_init_module, 5)
 148 SYS(sys_delete_module, 1)
 149 SYS(sys_get_kernel_syms, 1)                     /* 4130 */
 150 SYS(sys_quotactl, 0)
 151 SYS(sys_getpgid, 1)
 152 SYS(sys_fchdir, 1)
 153 SYS(sys_bdflush, 2)
 154 SYS(sys_sysfs, 3)                               /* 4135 */
 155 SYS(sys_personality, 1)
 156 SYS(sys_ni_syscall, 0) /* for afs_syscall */
 157 SYS(sys_setfsuid, 1)
 158 SYS(sys_setfsgid, 1)
 159 SYS(sys_llseek, 5)                              /* 4140 */
 160 SYS(sys_getdents, 3)
 161 SYS(sys_select, 5)
 162 SYS(sys_flock, 2)
 163 SYS(sys_msync, 3)
 164 SYS(sys_readv, 3)                               /* 4145 */
 165 SYS(sys_writev, 3)
 166 SYS(sys_cacheflush, 3)
 167 SYS(sys_cachectl, 3)
 168 SYS(sys_sysmips, 4)
 169 SYS(sys_setup, 0)                               /* 4150 */
 170 SYS(sys_getsid, 1)
 171 SYS(sys_ni_syscall, 0)
 172 SYS(sys_ni_syscall, 0)
 173 SYS(sys_mlock, 2)
 174 SYS(sys_munlock, 2)                             /* 4155 */
 175 SYS(sys_mlockall, 1)
 176 SYS(sys_munlockall, 0)

/* [previous][next][first][last][top][bottom][index][help] */