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

Side by Side Diff: src/trusted/service_runtime/nacl_syscall_common.c

Issue 10981077: change native_client/.../sys/mman.h to native_client/.../bits/mman.h (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « src/trusted/service_runtime/mmap_test.c ('k') | src/trusted/service_runtime/nacl_text.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 service run-time, non-platform specific system call helper routines. 8 * NaCl service run-time, non-platform specific system call helper routines.
9 */ 9 */
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" 45 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h"
46 #include "native_client/src/trusted/service_runtime/nacl_copy.h" 46 #include "native_client/src/trusted/service_runtime/nacl_copy.h"
47 #include "native_client/src/trusted/service_runtime/nacl_globals.h" 47 #include "native_client/src/trusted/service_runtime/nacl_globals.h"
48 #include "native_client/src/trusted/service_runtime/nacl_syscall_handlers.h" 48 #include "native_client/src/trusted/service_runtime/nacl_syscall_handlers.h"
49 #include "native_client/src/trusted/service_runtime/nacl_thread_nice.h" 49 #include "native_client/src/trusted/service_runtime/nacl_thread_nice.h"
50 #include "native_client/src/trusted/service_runtime/nacl_tls.h" 50 #include "native_client/src/trusted/service_runtime/nacl_tls.h"
51 #include "native_client/src/trusted/service_runtime/sel_ldr.h" 51 #include "native_client/src/trusted/service_runtime/sel_ldr.h"
52 #include "native_client/src/trusted/service_runtime/sel_memory.h" 52 #include "native_client/src/trusted/service_runtime/sel_memory.h"
53 #include "native_client/src/trusted/service_runtime/win/debug_exception_handler. h" 53 #include "native_client/src/trusted/service_runtime/win/debug_exception_handler. h"
54 54
55 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
55 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" 56 #include "native_client/src/trusted/service_runtime/include/sys/errno.h"
56 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" 57 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h"
57 #include "native_client/src/trusted/service_runtime/include/sys/mman.h"
58 #include "native_client/src/trusted/service_runtime/include/sys/nacl_test_crash. h" 58 #include "native_client/src/trusted/service_runtime/include/sys/nacl_test_crash. h"
59 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" 59 #include "native_client/src/trusted/service_runtime/include/sys/stat.h"
60 60
61 #if NACL_WINDOWS 61 #if NACL_WINDOWS
62 #include "native_client/src/trusted/service_runtime/win/debug_exception_handler. h" 62 #include "native_client/src/trusted/service_runtime/win/debug_exception_handler. h"
63 #include "native_client/src/shared/platform/win/xlate_system_error.h" 63 #include "native_client/src/shared/platform/win/xlate_system_error.h"
64 #endif 64 #endif
65 65
66 66
67 struct NaClDescQuotaInterface; 67 struct NaClDescQuotaInterface;
(...skipping 3089 matching lines...) Expand 10 before | Expand all | Expand 10 after
3157 return NaClCommonSysClockGetCommon(natp, clk_id, (uintptr_t) tsp, 3157 return NaClCommonSysClockGetCommon(natp, clk_id, (uintptr_t) tsp,
3158 NaClClockGetRes); 3158 NaClClockGetRes);
3159 } 3159 }
3160 3160
3161 int32_t NaClCommonSysClockGetTime(struct NaClAppThread *natp, 3161 int32_t NaClCommonSysClockGetTime(struct NaClAppThread *natp,
3162 int clk_id, 3162 int clk_id,
3163 uint32_t tsp) { 3163 uint32_t tsp) {
3164 return NaClCommonSysClockGetCommon(natp, clk_id, (uintptr_t) tsp, 3164 return NaClCommonSysClockGetCommon(natp, clk_id, (uintptr_t) tsp,
3165 NaClClockGetTime); 3165 NaClClockGetTime);
3166 } 3166 }
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/mmap_test.c ('k') | src/trusted/service_runtime/nacl_text.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698