Lines Matching refs:ucontext
111 void RegsX86_64::SetFromUcontext(x86_64_ucontext_t* ucontext) { in SetFromUcontext() argument
113 memcpy(®s_[X86_64_REG_R8], &ucontext->uc_mcontext.r8, 8 * sizeof(uint64_t)); in SetFromUcontext()
116 regs_[X86_64_REG_RDI] = ucontext->uc_mcontext.rdi; in SetFromUcontext()
117 regs_[X86_64_REG_RSI] = ucontext->uc_mcontext.rsi; in SetFromUcontext()
118 regs_[X86_64_REG_RBP] = ucontext->uc_mcontext.rbp; in SetFromUcontext()
119 regs_[X86_64_REG_RBX] = ucontext->uc_mcontext.rbx; in SetFromUcontext()
120 regs_[X86_64_REG_RDX] = ucontext->uc_mcontext.rdx; in SetFromUcontext()
121 regs_[X86_64_REG_RAX] = ucontext->uc_mcontext.rax; in SetFromUcontext()
122 regs_[X86_64_REG_RCX] = ucontext->uc_mcontext.rcx; in SetFromUcontext()
123 regs_[X86_64_REG_RSP] = ucontext->uc_mcontext.rsp; in SetFromUcontext()
124 regs_[X86_64_REG_RIP] = ucontext->uc_mcontext.rip; in SetFromUcontext()
127 Regs* RegsX86_64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() argument
128 x86_64_ucontext_t* x86_64_ucontext = reinterpret_cast<x86_64_ucontext_t*>(ucontext); in CreateFromUcontext()