OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* | 7 /* |
8 * NaCl kernel / service run-time system call numbers | 8 * NaCl kernel / service run-time system call numbers |
9 */ | 9 */ |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #define NACL_sys_close 11 | 26 #define NACL_sys_close 11 |
27 #define NACL_sys_read 12 | 27 #define NACL_sys_read 12 |
28 #define NACL_sys_write 13 | 28 #define NACL_sys_write 13 |
29 #define NACL_sys_lseek 14 | 29 #define NACL_sys_lseek 14 |
30 #define NACL_sys_ioctl 15 | 30 #define NACL_sys_ioctl 15 |
31 #define NACL_sys_stat 16 | 31 #define NACL_sys_stat 16 |
32 #define NACL_sys_fstat 17 | 32 #define NACL_sys_fstat 17 |
33 #define NACL_sys_chmod 18 | 33 #define NACL_sys_chmod 18 |
34 /* no fchmod emulation on windows */ | 34 /* no fchmod emulation on windows */ |
35 | 35 |
36 #define NACL_sys_sysbrk 20 | 36 #define NACL_sys_brk 20 |
37 #define NACL_sys_mmap 21 | 37 #define NACL_sys_mmap 21 |
38 #define NACL_sys_munmap 22 | 38 #define NACL_sys_munmap 22 |
39 | 39 |
40 #define NACL_sys_getdents 23 | 40 #define NACL_sys_getdents 23 |
41 | 41 |
42 #define NACL_sys_mprotect 24 | 42 #define NACL_sys_mprotect 24 |
43 | 43 |
44 #define NACL_sys_exit 30 | 44 #define NACL_sys_exit 30 |
45 #define NACL_sys_getpid 31 | 45 #define NACL_sys_getpid 31 |
46 #define NACL_sys_sched_yield 32 | 46 #define NACL_sys_sched_yield 32 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 /* | 98 /* |
99 * This syscall number is set aside for use in tests that add a | 99 * This syscall number is set aside for use in tests that add a |
100 * syscall that must coexist with the normal syscalls. | 100 * syscall that must coexist with the normal syscalls. |
101 */ | 101 */ |
102 #define NACL_sys_test_syscall_1 111 | 102 #define NACL_sys_test_syscall_1 111 |
103 | 103 |
104 #define NACL_MAX_SYSCALLS 112 | 104 #define NACL_MAX_SYSCALLS 112 |
105 | 105 |
106 #endif | 106 #endif |
OLD | NEW |