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/shared/platform/nacl_host_desc.h

Issue 23484041: Split filename-based syscall implementations into a separate file (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix missing #includes for Windows Created 7 years, 3 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 | « no previous file | src/trusted/service_runtime/build.scons » ('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 Runtime. I/O Descriptor / Handle abstraction. Memory 8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. Memory
9 * mapping using descriptors. 9 * mapping using descriptors.
10 */ 10 */
11 11
12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ 12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__
13 #define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ 13 #define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__
14 14
15 #include <sys/stat.h>
16
15 #include "native_client/src/include/nacl_compiler_annotations.h" 17 #include "native_client/src/include/nacl_compiler_annotations.h"
16 #include "native_client/src/include/portability.h" 18 #include "native_client/src/include/portability.h"
17 #include "native_client/src/shared/platform/nacl_sync.h" 19 #include "native_client/src/shared/platform/nacl_sync.h"
18 20
19 #if NACL_LINUX || NACL_OSX 21 #if NACL_LINUX || NACL_OSX
20 # include "native_client/src/shared/platform/posix/nacl_host_desc_types.h" 22 # include "native_client/src/shared/platform/posix/nacl_host_desc_types.h"
21 #elif NACL_WINDOWS 23 #elif NACL_WINDOWS
22 # include "native_client/src/shared/platform/win/nacl_host_desc_types.h" 24 # include "native_client/src/shared/platform/win/nacl_host_desc_types.h"
23 #endif 25 #endif
24 26
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 char const **out_msg); 357 char const **out_msg);
356 358
357 extern DWORD NaClflProtectMap(int prot); 359 extern DWORD NaClflProtectMap(int prot);
358 #endif 360 #endif
359 361
360 EXTERN_C_END 362 EXTERN_C_END
361 363
362 #endif /* defined __native_client__ */ 364 #endif /* defined __native_client__ */
363 365
364 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ */ 366 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ */
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698