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 | 396 |
396 struct NaClMutex exception_mu; | 397 struct NaClMutex exception_mu; |
397 uint32_t exception_handler; | 398 uint32_t exception_handler; |
398 int enable_exception_handling; | 399 int enable_exception_handling; |
399 #if NACL_WINDOWS | 400 #if NACL_WINDOWS |
400 enum NaClDebugExceptionHandlerState debug_exception_handler_state; | 401 enum NaClDebugExceptionHandlerState debug_exception_handler_state; |
401 NaClAttachDebugExceptionHandlerFunc attach_debug_exception_handler_func; | 402 NaClAttachDebugExceptionHandlerFunc attach_debug_exception_handler_func; |
402 #endif | 403 #endif |
403 /* | 404 /* |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 #else | 892 #else |
892 static INLINE void NaClHandleBootstrapArgs(int *argc_p, char ***argv_p) { | 893 static INLINE void NaClHandleBootstrapArgs(int *argc_p, char ***argv_p) { |
893 UNREFERENCED_PARAMETER(argc_p); | 894 UNREFERENCED_PARAMETER(argc_p); |
894 UNREFERENCED_PARAMETER(argv_p); | 895 UNREFERENCED_PARAMETER(argv_p); |
895 } | 896 } |
896 #endif | 897 #endif |
897 | 898 |
898 EXTERN_C_END | 899 EXTERN_C_END |
899 | 900 |
900 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ | 901 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ |
OLD | NEW |