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

Side by Side Diff: src/trusted/service_runtime/arch/x86_32/sel_addrspace_x86_32.c

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years 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 #include "native_client/src/include/nacl_defines.h"
8
7 #if NACL_LINUX 9 #if NACL_LINUX
8 #include <errno.h> 10 #include <errno.h>
9 #include <sys/mman.h> 11 #include <sys/mman.h>
10 #endif 12 #endif
11 13
12 #include "native_client/src/include/nacl_platform.h" 14 #include "native_client/src/include/nacl_platform.h"
13 #include "native_client/src/shared/platform/nacl_check.h" 15 #include "native_client/src/shared/platform/nacl_check.h"
14 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" 16 #include "native_client/src/trusted/service_runtime/include/sys/errno.h"
15 #include "native_client/src/trusted/service_runtime/sel_addrspace.h" 17 #include "native_client/src/trusted/service_runtime/sel_addrspace.h"
16 #include "native_client/src/trusted/service_runtime/sel_memory.h" 18 #include "native_client/src/trusted/service_runtime/sel_memory.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 " failed\n", 69 " failed\n",
68 (uintptr_t) *mem); 70 (uintptr_t) *mem);
69 return LOAD_NO_MEMORY_FOR_ADDRESS_SPACE; 71 return LOAD_NO_MEMORY_FOR_ADDRESS_SPACE;
70 } 72 }
71 NaClLog(4, "NaClAllocateSpace: %"NACL_PRIxPTR", %"NACL_PRIxS"\n", 73 NaClLog(4, "NaClAllocateSpace: %"NACL_PRIxPTR", %"NACL_PRIxS"\n",
72 (uintptr_t) *mem, 74 (uintptr_t) *mem,
73 addrsp_size); 75 addrsp_size);
74 76
75 return LOAD_OK; 77 return LOAD_OK;
76 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698