Lines Matching refs:ucontext
94 void RegsX86::SetFromUcontext(x86_ucontext_t* ucontext) { in SetFromUcontext() argument
96 regs_[X86_REG_EDI] = ucontext->uc_mcontext.edi; in SetFromUcontext()
97 regs_[X86_REG_ESI] = ucontext->uc_mcontext.esi; in SetFromUcontext()
98 regs_[X86_REG_EBP] = ucontext->uc_mcontext.ebp; in SetFromUcontext()
99 regs_[X86_REG_ESP] = ucontext->uc_mcontext.esp; in SetFromUcontext()
100 regs_[X86_REG_EBX] = ucontext->uc_mcontext.ebx; in SetFromUcontext()
101 regs_[X86_REG_EDX] = ucontext->uc_mcontext.edx; in SetFromUcontext()
102 regs_[X86_REG_ECX] = ucontext->uc_mcontext.ecx; in SetFromUcontext()
103 regs_[X86_REG_EAX] = ucontext->uc_mcontext.eax; in SetFromUcontext()
104 regs_[X86_REG_EIP] = ucontext->uc_mcontext.eip; in SetFromUcontext()
107 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() argument
108 x86_ucontext_t* x86_ucontext = reinterpret_cast<x86_ucontext_t*>(ucontext); in CreateFromUcontext()