⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 riscos-syscall.h

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻 H
📖 第 1 页 / 共 3 页
字号:
/* * This file is subject to the terms and conditions of the GNU General Public * License.  See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle */#ifndef _ASM_RISCOS_SYSCALL_H#define _ASM_RISCOS_SYSCALL_H/* * The syscalls 0 - 3999 are reserved for a down to the root syscall * compatibility with RISC/os and IRIX.  We'll see how to deal with the * various "real" BSD variants like Ultrix, NetBSD ... *//* * SVR4 syscalls are in the range from 1 to 999 */#define __NR_SVR4			0#define __NR_SVR4_syscall		(__NR_SVR4 +   0)#define __NR_SVR4_exit			(__NR_SVR4 +   1)#define __NR_SVR4_fork			(__NR_SVR4 +   2)#define __NR_SVR4_read			(__NR_SVR4 +   3)#define __NR_SVR4_write			(__NR_SVR4 +   4)#define __NR_SVR4_open			(__NR_SVR4 +   5)#define __NR_SVR4_close			(__NR_SVR4 +   6)#define __NR_SVR4_wait			(__NR_SVR4 +   7)#define __NR_SVR4_creat			(__NR_SVR4 +   8)#define __NR_SVR4_link			(__NR_SVR4 +   9)#define __NR_SVR4_unlink		(__NR_SVR4 +  10)#define __NR_SVR4_exec			(__NR_SVR4 +  11)#define __NR_SVR4_chdir			(__NR_SVR4 +  12)#define __NR_SVR4_gtime			(__NR_SVR4 +  13)#define __NR_SVR4_mknod			(__NR_SVR4 +  14)#define __NR_SVR4_chmod			(__NR_SVR4 +  15)#define __NR_SVR4_chown			(__NR_SVR4 +  16)#define __NR_SVR4_sbreak		(__NR_SVR4 +  17)#define __NR_SVR4_stat			(__NR_SVR4 +  18)#define __NR_SVR4_lseek			(__NR_SVR4 +  19)#define __NR_SVR4_getpid		(__NR_SVR4 +  20)#define __NR_SVR4_mount			(__NR_SVR4 +  21)#define __NR_SVR4_umount		(__NR_SVR4 +  22)#define __NR_SVR4_setuid		(__NR_SVR4 +  23)#define __NR_SVR4_getuid		(__NR_SVR4 +  24)#define __NR_SVR4_stime			(__NR_SVR4 +  25)#define __NR_SVR4_ptrace		(__NR_SVR4 +  26)#define __NR_SVR4_alarm			(__NR_SVR4 +  27)#define __NR_SVR4_fstat			(__NR_SVR4 +  28)#define __NR_SVR4_pause			(__NR_SVR4 +  29)#define __NR_SVR4_utime			(__NR_SVR4 +  30)#define __NR_SVR4_stty			(__NR_SVR4 +  31)#define __NR_SVR4_gtty			(__NR_SVR4 +  32)#define __NR_SVR4_access		(__NR_SVR4 +  33)#define __NR_SVR4_nice			(__NR_SVR4 +  34)#define __NR_SVR4_statfs		(__NR_SVR4 +  35)#define __NR_SVR4_sync			(__NR_SVR4 +  36)#define __NR_SVR4_kill			(__NR_SVR4 +  37)#define __NR_SVR4_fstatfs		(__NR_SVR4 +  38)#define __NR_SVR4_setpgrp		(__NR_SVR4 +  39)#define __NR_SVR4_cxenix		(__NR_SVR4 +  40)#define __NR_SVR4_dup			(__NR_SVR4 +  41)#define __NR_SVR4_pipe			(__NR_SVR4 +  42)#define __NR_SVR4_times			(__NR_SVR4 +  43)#define __NR_SVR4_profil		(__NR_SVR4 +  44)#define __NR_SVR4_plock			(__NR_SVR4 +  45)#define __NR_SVR4_setgid		(__NR_SVR4 +  46)#define __NR_SVR4_getgid		(__NR_SVR4 +  47)#define __NR_SVR4_sig			(__NR_SVR4 +  48)#define __NR_SVR4_msgsys		(__NR_SVR4 +  49)#define __NR_SVR4_sysmips		(__NR_SVR4 +  50)#define __NR_SVR4_sysacct		(__NR_SVR4 +  51)#define __NR_SVR4_shmsys		(__NR_SVR4 +  52)#define __NR_SVR4_semsys		(__NR_SVR4 +  53)#define __NR_SVR4_ioctl			(__NR_SVR4 +  54)#define __NR_SVR4_uadmin		(__NR_SVR4 +  55)#define __NR_SVR4_exch 			(__NR_SVR4 +  56)#define __NR_SVR4_utssys		(__NR_SVR4 +  57)#define __NR_SVR4_fsync			(__NR_SVR4 +  58)#define __NR_SVR4_exece			(__NR_SVR4 +  59)#define __NR_SVR4_umask			(__NR_SVR4 +  60)#define __NR_SVR4_chroot		(__NR_SVR4 +  61)#define __NR_SVR4_fcntl			(__NR_SVR4 +  62)#define __NR_SVR4_ulimit		(__NR_SVR4 +  63)#define __NR_SVR4_reserved1		(__NR_SVR4 +  64)#define __NR_SVR4_reserved2		(__NR_SVR4 +  65)#define __NR_SVR4_reserved3		(__NR_SVR4 +  66)#define __NR_SVR4_reserved4		(__NR_SVR4 +  67)#define __NR_SVR4_reserved5		(__NR_SVR4 +  68)#define __NR_SVR4_reserved6		(__NR_SVR4 +  69)#define __NR_SVR4_advfs			(__NR_SVR4 +  70)#define __NR_SVR4_unadvfs		(__NR_SVR4 +  71)#define __NR_SVR4_unused1		(__NR_SVR4 +  72)#define __NR_SVR4_unused2		(__NR_SVR4 +  73)#define __NR_SVR4_rfstart		(__NR_SVR4 +  74)#define __NR_SVR4_unused3		(__NR_SVR4 +  75)#define __NR_SVR4_rdebug		(__NR_SVR4 +  76)#define __NR_SVR4_rfstop		(__NR_SVR4 +  77)#define __NR_SVR4_rfsys			(__NR_SVR4 +  78)#define __NR_SVR4_rmdir			(__NR_SVR4 +  79)#define __NR_SVR4_mkdir			(__NR_SVR4 +  80)#define __NR_SVR4_getdents		(__NR_SVR4 +  81)#define __NR_SVR4_libattach		(__NR_SVR4 +  82)#define __NR_SVR4_libdetach		(__NR_SVR4 +  83)#define __NR_SVR4_sysfs			(__NR_SVR4 +  84)#define __NR_SVR4_getmsg		(__NR_SVR4 +  85)#define __NR_SVR4_putmsg		(__NR_SVR4 +  86)#define __NR_SVR4_poll			(__NR_SVR4 +  87)#define __NR_SVR4_lstat			(__NR_SVR4 +  88)#define __NR_SVR4_symlink		(__NR_SVR4 +  89)#define __NR_SVR4_readlink		(__NR_SVR4 +  90)#define __NR_SVR4_setgroups		(__NR_SVR4 +  91)#define __NR_SVR4_getgroups		(__NR_SVR4 +  92)#define __NR_SVR4_fchmod		(__NR_SVR4 +  93)#define __NR_SVR4_fchown		(__NR_SVR4 +  94)#define __NR_SVR4_sigprocmask		(__NR_SVR4 +  95)#define __NR_SVR4_sigsuspend		(__NR_SVR4 +  96)#define __NR_SVR4_sigaltstack		(__NR_SVR4 +  97)#define __NR_SVR4_sigaction		(__NR_SVR4 +  98)#define __NR_SVR4_sigpending		(__NR_SVR4 +  99)#define __NR_SVR4_setcontext		(__NR_SVR4 + 100)#define __NR_SVR4_evsys			(__NR_SVR4 + 101)#define __NR_SVR4_evtrapret		(__NR_SVR4 + 102)#define __NR_SVR4_statvfs		(__NR_SVR4 + 103)#define __NR_SVR4_fstatvfs		(__NR_SVR4 + 104)#define __NR_SVR4_reserved7		(__NR_SVR4 + 105)#define __NR_SVR4_nfssys		(__NR_SVR4 + 106)#define __NR_SVR4_waitid		(__NR_SVR4 + 107)#define __NR_SVR4_sigsendset		(__NR_SVR4 + 108)#define __NR_SVR4_hrtsys		(__NR_SVR4 + 109)#define __NR_SVR4_acancel		(__NR_SVR4 + 110)#define __NR_SVR4_async			(__NR_SVR4 + 111)#define __NR_SVR4_priocntlset		(__NR_SVR4 + 112)#define __NR_SVR4_pathconf		(__NR_SVR4 + 113)#define __NR_SVR4_mincore		(__NR_SVR4 + 114)#define __NR_SVR4_mmap			(__NR_SVR4 + 115)#define __NR_SVR4_mprotect		(__NR_SVR4 + 116)#define __NR_SVR4_munmap		(__NR_SVR4 + 117)#define __NR_SVR4_fpathconf		(__NR_SVR4 + 118)#define __NR_SVR4_vfork			(__NR_SVR4 + 119)#define __NR_SVR4_fchdir		(__NR_SVR4 + 120)#define __NR_SVR4_readv			(__NR_SVR4 + 121)#define __NR_SVR4_writev		(__NR_SVR4 + 122)#define __NR_SVR4_xstat			(__NR_SVR4 + 123)#define __NR_SVR4_lxstat		(__NR_SVR4 + 124)#define __NR_SVR4_fxstat		(__NR_SVR4 + 125)#define __NR_SVR4_xmknod		(__NR_SVR4 + 126)#define __NR_SVR4_clocal		(__NR_SVR4 + 127)#define __NR_SVR4_setrlimit		(__NR_SVR4 + 128)#define __NR_SVR4_getrlimit		(__NR_SVR4 + 129)#define __NR_SVR4_lchown		(__NR_SVR4 + 130)#define __NR_SVR4_memcntl		(__NR_SVR4 + 131)#define __NR_SVR4_getpmsg		(__NR_SVR4 + 132)#define __NR_SVR4_putpmsg		(__NR_SVR4 + 133)#define __NR_SVR4_rename		(__NR_SVR4 + 134)#define __NR_SVR4_nuname		(__NR_SVR4 + 135)#define __NR_SVR4_setegid		(__NR_SVR4 + 136)#define __NR_SVR4_sysconf		(__NR_SVR4 + 137)#define __NR_SVR4_adjtime		(__NR_SVR4 + 138)#define __NR_SVR4_sysinfo		(__NR_SVR4 + 139)#define __NR_SVR4_reserved8		(__NR_SVR4 + 140)#define __NR_SVR4_seteuid		(__NR_SVR4 + 141)#define __NR_SVR4_PYRAMID_statis	(__NR_SVR4 + 142)#define __NR_SVR4_PYRAMID_tuning	(__NR_SVR4 + 143)#define __NR_SVR4_PYRAMID_forcerr	(__NR_SVR4 + 144)#define __NR_SVR4_PYRAMID_mpcntl	(__NR_SVR4 + 145)#define __NR_SVR4_reserved9		(__NR_SVR4 + 146)#define __NR_SVR4_reserved10		(__NR_SVR4 + 147)#define __NR_SVR4_reserved11		(__NR_SVR4 + 148)#define __NR_SVR4_reserved12		(__NR_SVR4 + 149)#define __NR_SVR4_reserved13		(__NR_SVR4 + 150)#define __NR_SVR4_reserved14		(__NR_SVR4 + 151)#define __NR_SVR4_reserved15		(__NR_SVR4 + 152)#define __NR_SVR4_reserved16		(__NR_SVR4 + 153)#define __NR_SVR4_reserved17		(__NR_SVR4 + 154)#define __NR_SVR4_reserved18		(__NR_SVR4 + 155)#define __NR_SVR4_reserved19		(__NR_SVR4 + 156)#define __NR_SVR4_reserved20		(__NR_SVR4 + 157)#define __NR_SVR4_reserved21		(__NR_SVR4 + 158)#define __NR_SVR4_reserved22		(__NR_SVR4 + 159)#define __NR_SVR4_reserved23		(__NR_SVR4 + 160)#define __NR_SVR4_reserved24		(__NR_SVR4 + 161)#define __NR_SVR4_reserved25		(__NR_SVR4 + 162)#define __NR_SVR4_reserved26		(__NR_SVR4 + 163)#define __NR_SVR4_reserved27		(__NR_SVR4 + 164)#define __NR_SVR4_reserved28		(__NR_SVR4 + 165)#define __NR_SVR4_reserved29		(__NR_SVR4 + 166)#define __NR_SVR4_reserved30		(__NR_SVR4 + 167)#define __NR_SVR4_reserved31		(__NR_SVR4 + 168)#define __NR_SVR4_reserved32		(__NR_SVR4 + 169)#define __NR_SVR4_reserved33		(__NR_SVR4 + 170)#define __NR_SVR4_reserved34		(__NR_SVR4 + 171)#define __NR_SVR4_reserved35		(__NR_SVR4 + 172)#define __NR_SVR4_reserved36		(__NR_SVR4 + 173)#define __NR_SVR4_reserved37		(__NR_SVR4 + 174)#define __NR_SVR4_reserved38		(__NR_SVR4 + 175)#define __NR_SVR4_reserved39		(__NR_SVR4 + 176)#define __NR_SVR4_reserved40		(__NR_SVR4 + 177)#define __NR_SVR4_reserved41		(__NR_SVR4 + 178)#define __NR_SVR4_reserved42		(__NR_SVR4 + 179)#define __NR_SVR4_reserved43		(__NR_SVR4 + 180)#define __NR_SVR4_reserved44		(__NR_SVR4 + 181)#define __NR_SVR4_reserved45		(__NR_SVR4 + 182)#define __NR_SVR4_reserved46		(__NR_SVR4 + 183)#define __NR_SVR4_reserved47		(__NR_SVR4 + 184)#define __NR_SVR4_reserved48		(__NR_SVR4 + 185)#define __NR_SVR4_reserved49		(__NR_SVR4 + 186)#define __NR_SVR4_reserved50		(__NR_SVR4 + 187)#define __NR_SVR4_reserved51		(__NR_SVR4 + 188)#define __NR_SVR4_reserved52		(__NR_SVR4 + 189)#define __NR_SVR4_reserved53		(__NR_SVR4 + 190)#define __NR_SVR4_reserved54		(__NR_SVR4 + 191)#define __NR_SVR4_reserved55		(__NR_SVR4 + 192)#define __NR_SVR4_reserved56		(__NR_SVR4 + 193)#define __NR_SVR4_reserved57		(__NR_SVR4 + 194)#define __NR_SVR4_reserved58		(__NR_SVR4 + 195)#define __NR_SVR4_reserved59		(__NR_SVR4 + 196)#define __NR_SVR4_reserved60		(__NR_SVR4 + 197)#define __NR_SVR4_reserved61		(__NR_SVR4 + 198)#define __NR_SVR4_reserved62		(__NR_SVR4 + 199)#define __NR_SVR4_reserved63		(__NR_SVR4 + 200)#define __NR_SVR4_aread			(__NR_SVR4 + 201)#define __NR_SVR4_awrite		(__NR_SVR4 + 202)	#define __NR_SVR4_listio		(__NR_SVR4 + 203)#define __NR_SVR4_mips_acancel		(__NR_SVR4 + 204)#define __NR_SVR4_astatus		(__NR_SVR4 + 205)#define __NR_SVR4_await			(__NR_SVR4 + 206)#define __NR_SVR4_areadv		(__NR_SVR4 + 207)#define __NR_SVR4_awritev		(__NR_SVR4 + 208)#define __NR_SVR4_MIPS_reserved1	(__NR_SVR4 + 209)#define __NR_SVR4_MIPS_reserved2	(__NR_SVR4 + 210)#define __NR_SVR4_MIPS_reserved3	(__NR_SVR4 + 211)#define __NR_SVR4_MIPS_reserved4	(__NR_SVR4 + 212)#define __NR_SVR4_MIPS_reserved5	(__NR_SVR4 + 213)#define __NR_SVR4_MIPS_reserved6	(__NR_SVR4 + 214)#define __NR_SVR4_MIPS_reserved7	(__NR_SVR4 + 215)#define __NR_SVR4_MIPS_reserved8	(__NR_SVR4 + 216)#define __NR_SVR4_MIPS_reserved9	(__NR_SVR4 + 217)#define __NR_SVR4_MIPS_reserved10	(__NR_SVR4 + 218)#define __NR_SVR4_MIPS_reserved11	(__NR_SVR4 + 219)#define __NR_SVR4_MIPS_reserved12	(__NR_SVR4 + 220)#define __NR_SVR4_CDC_reserved1		(__NR_SVR4 + 221)#define __NR_SVR4_CDC_reserved2		(__NR_SVR4 + 222)#define __NR_SVR4_CDC_reserved3		(__NR_SVR4 + 223)#define __NR_SVR4_CDC_reserved4		(__NR_SVR4 + 224)#define __NR_SVR4_CDC_reserved5		(__NR_SVR4 + 225)#define __NR_SVR4_CDC_reserved6		(__NR_SVR4 + 226)#define __NR_SVR4_CDC_reserved7		(__NR_SVR4 + 227)#define __NR_SVR4_CDC_reserved8		(__NR_SVR4 + 228)#define __NR_SVR4_CDC_reserved9		(__NR_SVR4 + 229)#define __NR_SVR4_CDC_reserved10	(__NR_SVR4 + 230)#define __NR_SVR4_CDC_reserved11	(__NR_SVR4 + 231)#define __NR_SVR4_CDC_reserved12	(__NR_SVR4 + 232)#define __NR_SVR4_CDC_reserved13	(__NR_SVR4 + 233)#define __NR_SVR4_CDC_reserved14	(__NR_SVR4 + 234)#define __NR_SVR4_CDC_reserved15	(__NR_SVR4 + 235)#define __NR_SVR4_CDC_reserved16	(__NR_SVR4 + 236)#define __NR_SVR4_CDC_reserved17	(__NR_SVR4 + 237)#define __NR_SVR4_CDC_reserved18	(__NR_SVR4 + 238)#define __NR_SVR4_CDC_reserved19	(__NR_SVR4 + 239)#define __NR_SVR4_CDC_reserved20	(__NR_SVR4 + 240)/* * SYS V syscalls are in the range from 1000 to 1999 */#define __NR_SYSV			1000#define __NR_SYSV_syscall		(__NR_SYSV +   0)#define __NR_SYSV_exit			(__NR_SYSV +   1)#define __NR_SYSV_fork			(__NR_SYSV +   2)#define __NR_SYSV_read			(__NR_SYSV +   3)#define __NR_SYSV_write			(__NR_SYSV +   4)#define __NR_SYSV_open			(__NR_SYSV +   5)#define __NR_SYSV_close			(__NR_SYSV +   6)#define __NR_SYSV_wait			(__NR_SYSV +   7)#define __NR_SYSV_creat			(__NR_SYSV +   8)#define __NR_SYSV_link			(__NR_SYSV +   9)#define __NR_SYSV_unlink		(__NR_SYSV +  10)#define __NR_SYSV_execv			(__NR_SYSV +  11)#define __NR_SYSV_chdir			(__NR_SYSV +  12)#define __NR_SYSV_time			(__NR_SYSV +  13)#define __NR_SYSV_mknod			(__NR_SYSV +  14)#define __NR_SYSV_chmod			(__NR_SYSV +  15)#define __NR_SYSV_chown			(__NR_SYSV +  16)#define __NR_SYSV_brk			(__NR_SYSV +  17)#define __NR_SYSV_stat			(__NR_SYSV +  18)#define __NR_SYSV_lseek			(__NR_SYSV +  19)#define __NR_SYSV_getpid		(__NR_SYSV +  20)#define __NR_SYSV_mount			(__NR_SYSV +  21)#define __NR_SYSV_umount		(__NR_SYSV +  22)#define __NR_SYSV_setuid		(__NR_SYSV +  23)#define __NR_SYSV_getuid		(__NR_SYSV +  24)#define __NR_SYSV_stime			(__NR_SYSV +  25)#define __NR_SYSV_ptrace		(__NR_SYSV +  26)#define __NR_SYSV_alarm			(__NR_SYSV +  27)#define __NR_SYSV_fstat			(__NR_SYSV +  28)#define __NR_SYSV_pause			(__NR_SYSV +  29)#define __NR_SYSV_utime			(__NR_SYSV +  30)#define __NR_SYSV_stty			(__NR_SYSV +  31)#define __NR_SYSV_gtty			(__NR_SYSV +  32)#define __NR_SYSV_access		(__NR_SYSV +  33)#define __NR_SYSV_nice			(__NR_SYSV +  34)#define __NR_SYSV_statfs		(__NR_SYSV +  35)#define __NR_SYSV_sync			(__NR_SYSV +  36)#define __NR_SYSV_kill			(__NR_SYSV +  37)#define __NR_SYSV_fstatfs		(__NR_SYSV +  38)#define __NR_SYSV_setpgrp		(__NR_SYSV +  39)#define __NR_SYSV_syssgi		(__NR_SYSV +  40)#define __NR_SYSV_dup			(__NR_SYSV +  41)#define __NR_SYSV_pipe			(__NR_SYSV +  42)#define __NR_SYSV_times			(__NR_SYSV +  43)#define __NR_SYSV_profil		(__NR_SYSV +  44)#define __NR_SYSV_plock			(__NR_SYSV +  45)#define __NR_SYSV_setgid		(__NR_SYSV +  46)#define __NR_SYSV_getgid		(__NR_SYSV +  47)#define __NR_SYSV_sig			(__NR_SYSV +  48)#define __NR_SYSV_msgsys		(__NR_SYSV +  49)#define __NR_SYSV_sysmips		(__NR_SYSV +  50)#define __NR_SYSV_acct			(__NR_SYSV +  51)#define __NR_SYSV_shmsys		(__NR_SYSV +  52)#define __NR_SYSV_semsys		(__NR_SYSV +  53)#define __NR_SYSV_ioctl			(__NR_SYSV +  54)#define __NR_SYSV_uadmin		(__NR_SYSV +  55)#define __NR_SYSV_sysmp			(__NR_SYSV +  56)#define __NR_SYSV_utssys		(__NR_SYSV +  57)#define __NR_SYSV_USG_reserved1		(__NR_SYSV +  58)#define __NR_SYSV_execve		(__NR_SYSV +  59)#define __NR_SYSV_umask			(__NR_SYSV +  60)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -