Lines Matching refs:ucontext
24 // OpenBSD doesn't have <ucontext.h>. ucontext_t lives in <signal.h>
27 #include <ucontext.h>
83 struct ucontext* uc_link;
95 struct ucontext* uc_link;
126 struct ucontext* uc_link;
144 struct ucontext* uc_link;
161 struct ucontext* uc_link;
374 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context);
378 mcontext_t& mcontext = ucontext->uc_mcontext;
424 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->nip);
425 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R1]);
426 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R31]);
427 state->lr = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->link);
430 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[32]);
431 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[1]);
432 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[31]);
433 state->lr = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[36]);
440 reinterpret_cast<void*>(ucontext->uc_mcontext.psw.addr & 0x7FFFFFFF);
442 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.psw.addr);
444 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[15]);
445 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[11]);
446 state->lr = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[14]);
513 state->pc = reinterpret_cast<void*>(ucontext->sc_eip);
514 state->sp = reinterpret_cast<void*>(ucontext->sc_esp);
515 state->fp = reinterpret_cast<void*>(ucontext->sc_ebp);
517 state->pc = reinterpret_cast<void*>(ucontext->sc_rip);
518 state->sp = reinterpret_cast<void*>(ucontext->sc_rsp);
519 state->fp = reinterpret_cast<void*>(ucontext->sc_rbp);