Lines Matching defs:saved_state
298 x86_saved_state32_t *saved_state = saved_state32(tagged_regs);
299 struct x86_saved_state32_from_kernel *regs = (struct x86_saved_state32_from_kernel *)saved_state;
301 if (FBT_EXCEPTION_CODE == trapno && !IS_USER_TRAP(saved_state)) {
311 esp_probe = saved_state->uesp; /* Easy, x86_64 establishes this value in idt64.s */
316 emul = dtrace_invop( saved_state->eip, (uintptr_t *)esp_probe, saved_state->eax );
322 saved_state->eip += DTRACE_INVOP_NOP_SKIP; /* Skip over the patched NOP */
327 saved_state->ebp = esp_probe; /* Emulate patched movl %esp,%ebp */
328 saved_state->eip += DTRACE_INVOP_MOVL_ESP_EBP_SKIP; /* Skip over the bytes of the patched movl %esp,%ebp */
339 fp = saved_state->ebp;
344 saved_state->ebp = *(uint32_t *)fp;
346 saved_state->eip += DTRACE_INVOP_LEAVE_SKIP;
359 saved_state->uesp += (delta << 2);