OLD | NEW |
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 Loading... |
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 Loading... |
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_ */ |
OLD | NEW |