| 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 * Invoked while holding the VM lock. Check that no I/O is pending; | 747 * Invoked while holding the VM lock. Check that no I/O is pending; |
| 748 * abort the app if the app is racing I/O operations against VM | 748 * abort the app if the app is racing I/O operations against VM |
| 749 * operations. | 749 * operations. |
| 750 */ | 750 */ |
| 751 void NaClVmIoPendingCheck_mu(struct NaClApp *nap, | 751 void NaClVmIoPendingCheck_mu(struct NaClApp *nap, |
| 752 uint32_t addr_first_usr, | 752 uint32_t addr_first_usr, |
| 753 uint32_t addr_last_usr); | 753 uint32_t addr_last_usr); |
| 754 | 754 |
| 755 void NaClGdbHook(struct NaClApp const *nap); | 755 void NaClGdbHook(struct NaClApp const *nap); |
| 756 | 756 |
| 757 #if NACL_WINDOWS | |
| 758 | |
| 759 void NaClUntrustedThreadSuspend(struct NaClAppThread *natp); | 757 void NaClUntrustedThreadSuspend(struct NaClAppThread *natp); |
| 760 void NaClUntrustedThreadResume(struct NaClAppThread *natp); | 758 void NaClUntrustedThreadResume(struct NaClAppThread *natp); |
| 761 void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap); | 759 void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap); |
| 762 void NaClUntrustedThreadsResumeAll(struct NaClApp *nap); | 760 void NaClUntrustedThreadsResumeAll(struct NaClApp *nap); |
| 763 | 761 |
| 764 #else | 762 #if NACL_LINUX |
| 765 | 763 |
| 766 static INLINE void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap) { | 764 void NaClSuspendSignalHandler(void); |
| 767 UNREFERENCED_PARAMETER(nap); | |
| 768 NaClLog(LOG_FATAL, "NaClUntrustedThreadsSuspendAll: Not implemented\n"); | |
| 769 } | |
| 770 | 765 |
| 771 static INLINE void NaClUntrustedThreadsResumeAll(struct NaClApp *nap) { | 766 void handle_r_debug(const char *switch_value, char *argv0); |
| 772 UNREFERENCED_PARAMETER(nap); | |
| 773 NaClLog(LOG_FATAL, "NaClUntrustedThreadsResumeAll: Not implemented\n"); | |
| 774 } | |
| 775 | 767 |
| 776 #endif | 768 #endif |
| 777 | 769 |
| 778 #if NACL_LINUX | |
| 779 void handle_r_debug(const char *switch_value, char *argv0); | |
| 780 #endif | |
| 781 | |
| 782 EXTERN_C_END | 770 EXTERN_C_END |
| 783 | 771 |
| 784 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ | 772 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ |
| OLD | NEW |