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

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

Issue 1778653002: Add explicit includes for a few intrinsics. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 9 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
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 <string.h> 7 #include <string.h>
8 8
9 /* 9 /*
10 * NaCl Simple/secure ELF loader (NaCl SEL). 10 * NaCl Simple/secure ELF loader (NaCl SEL).
11 */ 11 */
12 #include "native_client/src/include/build_config.h" 12 #include "native_client/src/include/build_config.h"
13
14 #if NACL_WINDOWS
15 #include <intrin.h>
16 #endif
17
13 #include "native_client/src/include/portability.h" 18 #include "native_client/src/include/portability.h"
14 #include "native_client/src/include/portability_io.h" 19 #include "native_client/src/include/portability_io.h"
15 #include "native_client/src/include/portability_string.h" 20 #include "native_client/src/include/portability_string.h"
16 #include "native_client/src/include/nacl_macros.h" 21 #include "native_client/src/include/nacl_macros.h"
17 22
18 #include "native_client/src/public/nacl_app.h" 23 #include "native_client/src/public/nacl_app.h"
19 24
20 #include "native_client/src/shared/gio/gio.h" 25 #include "native_client/src/shared/gio/gio.h"
21 #include "native_client/src/shared/platform/nacl_check.h" 26 #include "native_client/src/shared/platform/nacl_check.h"
22 #include "native_client/src/shared/platform/nacl_exit.h" 27 #include "native_client/src/shared/platform/nacl_exit.h"
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 nacl_global_xlate_base = mem_start; 983 nacl_global_xlate_base = mem_start;
979 984
980 NaClSandboxMemoryStartForValgrind(mem_start); 985 NaClSandboxMemoryStartForValgrind(mem_start);
981 986
982 _ovly_debug_event(); 987 _ovly_debug_event();
983 } 988 }
984 989
985 void NaClGdbHook(struct NaClApp const *nap) { 990 void NaClGdbHook(struct NaClApp const *nap) {
986 StopForDebuggerInit(nap->mem_start); 991 StopForDebuggerInit(nap->mem_start);
987 } 992 }
OLDNEW
« src/shared/platform/win/nacl_time.c ('K') | « src/trusted/service_runtime/arch/x86_32/sel_rt_32.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698