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

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

Issue 6937003: modified nacl_sync.h to have NACL_WUR for all functions that return a (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 7 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) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 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).
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 } 980 }
981 (*done->Run)(done); 981 (*done->Run)(done);
982 } 982 }
983 #endif 983 #endif
984 984
985 NaClErrorCode NaClWaitForLoadModuleStatus(struct NaClApp *nap) { 985 NaClErrorCode NaClWaitForLoadModuleStatus(struct NaClApp *nap) {
986 NaClErrorCode status; 986 NaClErrorCode status;
987 987
988 NaClXMutexLock(&nap->mu); 988 NaClXMutexLock(&nap->mu);
989 while (LOAD_STATUS_UNKNOWN == (status = nap->module_load_status)) { 989 while (LOAD_STATUS_UNKNOWN == (status = nap->module_load_status)) {
990 NaClCondVarWait(&nap->cv, &nap->mu); 990 NaClXCondVarWait(&nap->cv, &nap->mu);
991 } 991 }
992 NaClXMutexUnlock(&nap->mu); 992 NaClXMutexUnlock(&nap->mu);
993 return status; 993 return status;
994 } 994 }
995 995
996 static void NaClSecureChannelStartModuleRpc(struct NaClSrpcRpc *rpc, 996 static void NaClSecureChannelStartModuleRpc(struct NaClSrpcRpc *rpc,
997 struct NaClSrpcArg **in_args, 997 struct NaClSrpcArg **in_args,
998 struct NaClSrpcArg **out_args, 998 struct NaClSrpcArg **out_args,
999 struct NaClSrpcClosure *done) { 999 struct NaClSrpcClosure *done) {
1000 /* 1000 /*
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 nacl_global_xlate_base = mem_start; 1543 nacl_global_xlate_base = mem_start;
1544 1544
1545 #ifdef __GNUC__ 1545 #ifdef __GNUC__
1546 _ovly_debug_event (); 1546 _ovly_debug_event ();
1547 #endif 1547 #endif
1548 } 1548 }
1549 1549
1550 void NaClGdbHook(struct NaClApp const *nap) { 1550 void NaClGdbHook(struct NaClApp const *nap) {
1551 StopForDebuggerInit(nap->mem_start); 1551 StopForDebuggerInit(nap->mem_start);
1552 } 1552 }
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/osx/nacl_ldt.c ('k') | src/trusted/service_runtime/sel_ldr_standard.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698