Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: src/trusted/service_runtime/include/bits/nacl_syscalls.h

Issue 12209042: Ensure syscall functions are consistently prefixed with "NaClSys" (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/x86_64/nacl_text_pad_test.S ('k') | src/trusted/service_runtime/nacl_syscall_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698