Lines Matching refs:saved_state
122 static void panic_trap(x86_saved_state32_t *saved_state);
123 static void set_recovery_ip(x86_saved_state32_t *saved_state, vm_offset_t ip);
322 x86_saved_state32_t *saved_state;
344 saved_state = saved_state32(state);
346 vaddr = (user_addr_t)saved_state->cr2;
347 type = saved_state->trapno;
348 code = saved_state->err & 0xffff;
349 intr = (saved_state->efl & EFL_IF) != 0; /* state of ints at trap */
351 kern_ip = (vm_offset_t)saved_state->eip;
459 if ((saved_state->efl & EFL_TF) == 0
462 if ((saved_state->efl & EFL_TF) == 0)
536 db_find_watchpoint(map, vaddr, saved_state))
537 kdb_trap(T_WATCHPOINT, 0, saved_state);
589 set_recovery_ip(saved_state, rp->recover_addr);
598 set_recovery_ip(saved_state, thread->recover);
624 sync_iss_to_iks(saved_state);
630 if (kdp_i386_trap(type, saved_state, result, vaddr))
635 if (kdb_trap(type, code, saved_state)) {
649 panic_trap(saved_state);
657 set_recovery_ip(x86_saved_state32_t *saved_state, vm_offset_t ip)
659 saved_state->eip = ip;
945 x86_saved_state_t *saved_state)
959 assert((is_saved_state32(saved_state) && !thread_is_64bit(thread)) ||
960 (is_saved_state64(saved_state) && thread_is_64bit(thread)));
962 if (is_saved_state64(saved_state)) {
965 regs = saved_state64(saved_state);
974 regs = saved_state32(saved_state);
991 saved_state, type, vaddr);
996 perfASTHook(type, saved_state, 0, 0);
1004 if (perfTrapHook(type, saved_state, 0, 0) == KERN_SUCCESS)
1055 if (dtrace_user_probe(saved_state) == KERN_SUCCESS)
1152 if (dtrace_user_probe(saved_state) == KERN_SUCCESS)
1169 if (kdb_trap(type, err, saved_state32(saved_state)))
1309 sync_iss_to_iks(x86_saved_state32_t *saved_state)
1318 regs = saved_state;
1360 sync_iss_to_iks_unconditionally(__unused x86_saved_state_t *saved_state) {