[BACK]Return to linux_syscall.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / linux / arch / mips

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/compat/linux/arch/mips/linux_syscall.h between version 1.24.2.4 and 1.25

version 1.24.2.4, 2008/01/21 09:41:17 version 1.25, 2005/12/11 12:20:16
Line 4 
Line 4 
  * System call numbers.   * System call numbers.
  *   *
  * DO NOT EDIT-- this file is automatically generated.   * DO NOT EDIT-- this file is automatically generated.
  * created from NetBSD: syscalls.master,v 1.27 2007/12/24 14:17:18 njoly Exp   * created from NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp
  */   */
   
 #ifndef _LINUX_SYS_SYSCALL_H_  
 #define _LINUX_SYS_SYSCALL_H_  
   
 #define LINUX_SYS_MAXSYSARGS    8  
   
 /* syscall: "syscall" ret: "int" args: */  /* syscall: "syscall" ret: "int" args: */
 #define LINUX_SYS_syscall       0  #define LINUX_SYS_syscall       0
   
Line 60 
Line 55 
 /* syscall: "chmod" ret: "int" args: "const char *" "int" */  /* syscall: "chmod" ret: "int" args: "const char *" "int" */
 #define LINUX_SYS_chmod 15  #define LINUX_SYS_chmod 15
   
 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */  /* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */
 #define LINUX_SYS___posix_lchown        16  #define LINUX_SYS_lchown        16
   
                                 /* 18 is obsolete ostat */                                  /* 18 is obsolete ostat */
 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */  /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
Line 105 
Line 100 
 /* syscall: "kill" ret: "int" args: "int" "int" */  /* syscall: "kill" ret: "int" args: "int" "int" */
 #define LINUX_SYS_kill  37  #define LINUX_SYS_kill  37
   
 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */  /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
 #define LINUX_SYS___posix_rename        38  #define LINUX_SYS_rename        38
   
 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */  /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
 #define LINUX_SYS_mkdir 39  #define LINUX_SYS_mkdir 39
Line 144 
Line 139 
 /* syscall: "acct" ret: "int" args: "char *" */  /* syscall: "acct" ret: "int" args: "char *" */
 #define LINUX_SYS_acct  51  #define LINUX_SYS_acct  51
   
 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */  /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
 #define LINUX_SYS_ioctl 54  #define LINUX_SYS_ioctl 54
   
 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */  /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
Line 190 
Line 185 
 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */  /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
 #define LINUX_SYS_setregid      71  #define LINUX_SYS_setregid      71
   
 /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */  /* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
 #define LINUX_SYS_sigsuspend    72  #define LINUX_SYS_sigsuspend    72
   
 /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */  /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
Line 235 
Line 230 
 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */  /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
 #define LINUX_SYS_reboot        88  #define LINUX_SYS_reboot        88
   
 /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */  /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
 #define LINUX_SYS_readdir       89  #define LINUX_SYS_readdir       89
   
 /* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */  /* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
 #define LINUX_SYS_mmap  90  #define LINUX_SYS_mmap  90
   
 /* syscall: "munmap" ret: "int" args: "void *" "int" */  /* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
 #define LINUX_SYS_munmap        91  #define LINUX_SYS_munmap        91
   
 /* syscall: "truncate" ret: "int" args: "const char *" "long" */  /* syscall: "truncate" ret: "int" args: "const char *" "long" */
Line 301 
Line 296 
 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */  /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
 #define LINUX_SYS_sysinfo       116  #define LINUX_SYS_sysinfo       116
   
 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */  /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
 #define LINUX_SYS_ipc   117  #define LINUX_SYS_ipc   117
   
 /* syscall: "fsync" ret: "int" args: "int" */  /* syscall: "fsync" ret: "int" args: "int" */
Line 325 
Line 320 
 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */  /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
 #define LINUX_SYS_sigprocmask   126  #define LINUX_SYS_sigprocmask   126
   
 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */  /* syscall: "getpgid" ret: "int" args: "int" */
 #define LINUX_SYS_getpgid       132  #define LINUX_SYS_getpgid       132
   
 /* syscall: "fchdir" ret: "int" args: "int" */  /* syscall: "fchdir" ret: "int" args: "int" */
Line 337 
Line 332 
 /* syscall: "setfsuid" ret: "int" args: "uid_t" */  /* syscall: "setfsuid" ret: "int" args: "uid_t" */
 #define LINUX_SYS_setfsuid      138  #define LINUX_SYS_setfsuid      138
   
 /* syscall: "setfsgid" ret: "int" args: "gid_t" */  /* syscall: "getfsuid" ret: "int" args: */
 #define LINUX_SYS_setfsgid      139  #define LINUX_SYS_getfsuid      139
   
 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */  /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
 #define LINUX_SYS_llseek        140  #define LINUX_SYS_llseek        140
   
 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */  /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
Line 352 
Line 347 
 /* syscall: "flock" ret: "int" args: "int" "int" */  /* syscall: "flock" ret: "int" args: "int" "int" */
 #define LINUX_SYS_flock 143  #define LINUX_SYS_flock 143
   
 /* syscall: "msync" ret: "int" args: "void *" "int" "int" */  /* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
 #define LINUX_SYS_msync 144  #define LINUX_SYS_msync 144
   
 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */  /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
Line 376 
Line 371 
 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */  /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
 #define LINUX_SYS___sysctl      153  #define LINUX_SYS___sysctl      153
   
 /* syscall: "mlock" ret: "int" args: "void *" "size_t" */  /* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
 #define LINUX_SYS_mlock 154  #define LINUX_SYS_mlock 154
   
 /* syscall: "munlock" ret: "int" args: "void *" "size_t" */  /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
 #define LINUX_SYS_munlock       155  #define LINUX_SYS_munlock       155
   
 /* syscall: "mlockall" ret: "int" args: "int" */  /* syscall: "mlockall" ret: "int" args: "int" */
Line 424 
Line 419 
 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */  /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
 #define LINUX_SYS_connect       170  #define LINUX_SYS_connect       170
   
 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */  /* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
 #define LINUX_SYS_getpeername   171  #define LINUX_SYS_getpeername   171
   
 /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */  /* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
 #define LINUX_SYS_getsockname   172  #define LINUX_SYS_getsockname   172
   
 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */  /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
Line 445 
Line 440 
 /* syscall: "recvmsg" ret: "int" args: "int" "struct msghdr *" "u_int" */  /* syscall: "recvmsg" ret: "int" args: "int" "struct msghdr *" "u_int" */
 #define LINUX_SYS_recvmsg       177  #define LINUX_SYS_recvmsg       177
   
 /* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */  /* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
 #define LINUX_SYS_send  178  #define LINUX_SYS_send  178
   
 /* syscall: "sendmsg" ret: "int" args: "int" "struct msghdr *" "u_int" */  /* syscall: "sendmsg" ret: "int" args: "int" "struct msghdr *" "u_int" */
Line 502 
Line 497 
 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */  /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
 #define LINUX_SYS_pwrite        201  #define LINUX_SYS_pwrite        201
   
 /* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */  /* syscall: "chown" ret: "int" args: "const char *" "int" "int" */
 #define LINUX_SYS___posix_chown 202  #define LINUX_SYS_chown 202
   
 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */  /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
 #define LINUX_SYS___getcwd      203  #define LINUX_SYS___getcwd      203
Line 600 
Line 595 
   
 #define LINUX_SYS_MAXSYSCALL    277  #define LINUX_SYS_MAXSYSCALL    277
 #define LINUX_SYS_NSYSENT       512  #define LINUX_SYS_NSYSENT       512
 #endif /* _LINUX_SYS_SYSCALL_H_ */  

Legend:
Removed from v.1.24.2.4  
changed lines
  Added in v.1.25

CVSweb <webmaster@jp.NetBSD.org>