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

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

Issue 206493005: Provide chrome the option of learning the debug stub port chosen by nacl. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: review fixes Created 6 years, 8 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/debug_stub/transport_common.cc ('k') | src/trusted/service_runtime/sel_ldr.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 Simple/secure ELF loader (NaCl SEL). 8 * NaCl Simple/secure ELF loader (NaCl SEL).
9 * 9 *
10 * This loader can only process NaCl object files as produced using 10 * This loader can only process NaCl object files as produced using
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 * any per-thread lock (natp->mu). 384 * any per-thread lock (natp->mu).
385 */ 385 */
386 struct NaClMutex threads_mu; 386 struct NaClMutex threads_mu;
387 struct DynArray threads; /* NaClAppThread pointers */ 387 struct DynArray threads; /* NaClAppThread pointers */
388 int num_threads; /* number actually running */ 388 int num_threads; /* number actually running */
389 389
390 struct NaClFastMutex desc_mu; 390 struct NaClFastMutex desc_mu;
391 struct DynArray desc_tbl; /* NaClDesc pointers */ 391 struct DynArray desc_tbl; /* NaClDesc pointers */
392 392
393 const struct NaClDebugCallbacks *debug_stub_callbacks; 393 const struct NaClDebugCallbacks *debug_stub_callbacks;
394 uint16_t debug_stub_port;
394 struct NaClDesc *main_nexe_desc; 395 struct NaClDesc *main_nexe_desc;
395 struct NaClDesc *irt_nexe_desc; 396 struct NaClDesc *irt_nexe_desc;
396 397
397 struct NaClMutex exception_mu; 398 struct NaClMutex exception_mu;
398 uint32_t exception_handler; 399 uint32_t exception_handler;
399 int enable_exception_handling; 400 int enable_exception_handling;
400 #if NACL_WINDOWS 401 #if NACL_WINDOWS
401 enum NaClDebugExceptionHandlerState debug_exception_handler_state; 402 enum NaClDebugExceptionHandlerState debug_exception_handler_state;
402 NaClAttachDebugExceptionHandlerFunc attach_debug_exception_handler_func; 403 NaClAttachDebugExceptionHandlerFunc attach_debug_exception_handler_func;
403 #endif 404 #endif
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 #else 893 #else
893 static INLINE void NaClHandleBootstrapArgs(int *argc_p, char ***argv_p) { 894 static INLINE void NaClHandleBootstrapArgs(int *argc_p, char ***argv_p) {
894 UNREFERENCED_PARAMETER(argc_p); 895 UNREFERENCED_PARAMETER(argc_p);
895 UNREFERENCED_PARAMETER(argv_p); 896 UNREFERENCED_PARAMETER(argv_p);
896 } 897 }
897 #endif 898 #endif
898 899
899 EXTERN_C_END 900 EXTERN_C_END
900 901
901 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ 902 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */
OLDNEW
« no previous file with comments | « src/trusted/debug_stub/transport_common.cc ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698