Lines Matching refs:thread
42 #include <kern/thread.h>
63 #include <i386/thread.h>
89 * dependent thread state info.
93 __unused thread_t thread,
152 * thread, if otherwise unknown.
156 thread_t thread,
159 if (thread_is_64bit(thread)) {
169 __unused thread_t thread,
561 * dependent thread state info.
565 thread_t thread,
568 pal_register_cache_state(thread, DIRTY);
569 if (thread_is_64bit(thread)) {
572 iss64 = USER_REGS64(thread);
578 iss32 = USER_REGS32(thread);
588 * dependent thread state info. Used for small (<2G) deltas.
592 thread_t thread,
595 pal_register_cache_state(thread, DIRTY);
596 if (thread_is_64bit(thread)) {
599 iss64 = USER_REGS64(thread);
607 iss32 = USER_REGS32(thread);
619 * dependent thread state info.
622 thread_setentrypoint(thread_t thread, mach_vm_address_t entry)
624 pal_register_cache_state(thread, DIRTY);
625 if (thread_is_64bit(thread)) {
628 iss64 = USER_REGS64(thread);
634 iss32 = USER_REGS32(thread);
642 thread_setsinglestep(thread_t thread, int on)
644 pal_register_cache_state(thread, DIRTY);
645 if (thread_is_64bit(thread)) {
648 iss64 = USER_REGS64(thread);
657 iss32 = USER_REGS32(thread);
676 find_user_regs(thread_t thread)
678 pal_register_cache_state(thread, DIRTY);
679 return USER_STATE(thread);
697 find_kern_regs(thread_t thread)
699 if (thread == current_thread() &&
701 !(USER_STATE(thread) == current_cpu_datap()->cpu_int_state &&