OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2015 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2015 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 #ifndef NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ | 7 #ifndef NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ |
8 #define NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ 1 | 8 #define NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ 1 |
9 | 9 |
10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 # define __NR_pwrite64 181 | 59 # define __NR_pwrite64 181 |
60 # define __NR_getcwd 183 | 60 # define __NR_getcwd 183 |
61 # define __NR_ugetrlimit 191 | 61 # define __NR_ugetrlimit 191 |
62 # define __NR_mmap2 192 | 62 # define __NR_mmap2 192 |
63 # define __NR_truncate64 193 | 63 # define __NR_truncate64 193 |
64 # define __NR_stat64 195 | 64 # define __NR_stat64 195 |
65 # define __NR_lstat64 196 | 65 # define __NR_lstat64 196 |
66 # define __NR_fstat64 197 | 66 # define __NR_fstat64 197 |
67 # define __NR_getdents64 220 | 67 # define __NR_getdents64 220 |
68 # define __NR_fcntl64 221 | 68 # define __NR_fcntl64 221 |
69 # define __NR_gettid 224 | |
69 # define __NR_futex 240 | 70 # define __NR_futex 240 |
70 # define __NR_set_thread_area 243 | 71 # define __NR_set_thread_area 243 |
71 # define __NR_exit_group 252 | 72 # define __NR_exit_group 252 |
72 # define __NR_clock_gettime 265 | 73 # define __NR_clock_gettime 265 |
73 # define __NR_clock_getres 266 | 74 # define __NR_clock_getres 266 |
75 # define __NR_tgkill 270 | |
74 # define __NR_openat 295 | 76 # define __NR_openat 295 |
75 # define __NR_fstatat64 300 | 77 # define __NR_fstatat64 300 |
76 | 78 |
77 #elif defined(__arm__) | 79 #elif defined(__arm__) |
78 | 80 |
79 # define __NR_exit 1 | 81 # define __NR_exit 1 |
80 # define __NR_read 3 | 82 # define __NR_read 3 |
81 # define __NR_write 4 | 83 # define __NR_write 4 |
82 # define __NR_open 5 | 84 # define __NR_open 5 |
83 # define __NR_close 6 | 85 # define __NR_close 6 |
(...skipping 29 matching lines...) Expand all Loading... | |
113 # define __NR_pwrite64 181 | 115 # define __NR_pwrite64 181 |
114 # define __NR_getcwd 183 | 116 # define __NR_getcwd 183 |
115 # define __NR_ugetrlimit 191 | 117 # define __NR_ugetrlimit 191 |
116 # define __NR_mmap2 192 | 118 # define __NR_mmap2 192 |
117 # define __NR_truncate64 193 | 119 # define __NR_truncate64 193 |
118 # define __NR_stat64 195 | 120 # define __NR_stat64 195 |
119 # define __NR_lstat64 196 | 121 # define __NR_lstat64 196 |
120 # define __NR_fstat64 197 | 122 # define __NR_fstat64 197 |
121 # define __NR_getdents64 217 | 123 # define __NR_getdents64 217 |
122 # define __NR_fcntl64 221 | 124 # define __NR_fcntl64 221 |
125 # define __NR_gettid 224 | |
123 # define __NR_futex 240 | 126 # define __NR_futex 240 |
124 # define __NR_exit_group 248 | 127 # define __NR_exit_group 248 |
125 # define __NR_clock_gettime 263 | 128 # define __NR_clock_gettime 263 |
126 # define __NR_clock_getres 264 | 129 # define __NR_clock_getres 264 |
130 # define __NR_tgkill 286 | |
Junichi Uekawa
2015/07/01 02:14:57
double checking; 268?
Luis Héctor Chávez
2015/07/06 23:45:00
Yes, it should have been 268.
| |
127 # define __NR_socketpair 288 | 131 # define __NR_socketpair 288 |
128 # define __NR_shutdown 293 | 132 # define __NR_shutdown 293 |
129 # define __NR_sendmsg 296 | 133 # define __NR_sendmsg 296 |
130 # define __NR_recvmsg 297 | 134 # define __NR_recvmsg 297 |
131 # define __NR_openat 322 | 135 # define __NR_openat 322 |
132 # define __NR_fstatat64 327 | 136 # define __NR_fstatat64 327 |
133 # define __NR_ARM_cacheflush 0xf0002 | 137 # define __NR_ARM_cacheflush 0xf0002 |
134 # define __NR_ARM_set_tls 0xf0005 | 138 # define __NR_ARM_set_tls 0xf0005 |
135 | 139 |
136 #else | 140 #else |
137 # error Unsupported architecture | 141 # error Unsupported architecture |
138 #endif | 142 #endif |
139 | 143 |
140 #endif | 144 #endif |
OLD | NEW |