OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
3 * Distributed under the terms of the GNU General Public License v2 | 3 * Distributed under the terms of the GNU General Public License v2 |
4 */ | 4 */ |
5 | 5 |
6 #ifndef _SYSCALL_H_ | 6 #ifndef _SYSCALL_H_ |
7 #define _SYSCALL_H_ | 7 #define _SYSCALL_H_ 1 |
8 | 8 |
9 enum { | 9 enum { |
10 sys_restart_syscall, /* 0 - old setup,() system call, used for restar
ting */ | 10 sys_restart_syscall, /* 0 - old setup,() system call, used for restar
ting */ |
11 sys_exit, | 11 sys_exit, |
12 ptregs_fork, | 12 ptregs_fork, |
13 sys_read, | 13 sys_read, |
14 sys_write, | 14 sys_write, |
15 sys_open, /* 5 */ | 15 sys_open, /* 5 */ |
16 sys_close, | 16 sys_close, |
17 sys_waitpid, | 17 sys_waitpid, |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 sys_pwritev, | 344 sys_pwritev, |
345 sys_rt_tgsigqueueinfo, /* 335 */ | 345 sys_rt_tgsigqueueinfo, /* 335 */ |
346 sys_perf_event_open, | 346 sys_perf_event_open, |
347 NUM_SYS_CALLS | 347 NUM_SYS_CALLS |
348 }; | 348 }; |
349 | 349 |
350 extern const char *Syscall[]; | 350 extern const char *Syscall[]; |
351 extern const int Num_syscalls; | 351 extern const int Num_syscalls; |
352 | 352 |
353 #endif | 353 #endif |
OLD | NEW |