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

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

Issue 10441152: Debug stub: suspend/resume threads on Linux Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 6 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/service_runtime/posix/nacl_signal.c ('k') | no next file » | 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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 uint32_t addr_first_usr, 758 uint32_t addr_first_usr,
759 uint32_t addr_last_usr); 759 uint32_t addr_last_usr);
760 760
761 void NaClGdbHook(struct NaClApp const *nap); 761 void NaClGdbHook(struct NaClApp const *nap);
762 762
763 void NaClUntrustedThreadSuspend(struct NaClAppThread *natp, int save_registers); 763 void NaClUntrustedThreadSuspend(struct NaClAppThread *natp, int save_registers);
764 void NaClUntrustedThreadResume(struct NaClAppThread *natp); 764 void NaClUntrustedThreadResume(struct NaClAppThread *natp);
765 void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap, int save_registers); 765 void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap, int save_registers);
766 void NaClUntrustedThreadsResumeAll(struct NaClApp *nap); 766 void NaClUntrustedThreadsResumeAll(struct NaClApp *nap);
767 767
768 void NaClUntrustedThreadsSuspendAll2(struct NaClApp *nap, struct NaClAppThread * signaled_natp);
769 void NaClUntrustedThreadsResumeAll2(struct NaClApp *nap, struct NaClAppThread *s ignaled_natp);
770
771
768 #if NACL_LINUX 772 #if NACL_LINUX
769 773
770 void NaClSuspendSignalHandler(struct NaClSignalContext *regs); 774 void NaClSuspendSignalHandler(struct NaClSignalContext *regs);
771 775
772 void handle_r_debug(const char *switch_value, char *argv0); 776 void handle_r_debug(const char *switch_value, char *argv0);
773 777
774 #endif 778 #endif
775 779
776 EXTERN_C_END 780 EXTERN_C_END
777 781
778 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */ 782 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_LDR_H_ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/posix/nacl_signal.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698