Lines Matching defs:ucp
56 ctx_wrapper(ucontext_t *ucp, handler_t func, uint64_t *args)
60 if (ucp->uc_link == NULL)
62 setcontext((const ucontext_t *)ucp->uc_link);
71 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
79 if (ucp == NULL)
87 sp = (ucp->uc_mcontext.mc_special.sp - sizeof(ucontext_t)) & ~15UL;
89 bcopy(ucp, sig_uc, sizeof(*sig_uc));
104 bsp = (uint64_t*)ucp->uc_mcontext.mc_special.bspstore;
105 bsp = spill(bsp, (intptr_t)ucp);
112 memset(&ucp->uc_mcontext, 0, sizeof(ucp->uc_mcontext));
113 ucp->uc_link = sig_uc;
114 sigdelset(&ucp->uc_sigmask, sig);
115 ucp->uc_mcontext.mc_special.sp = (intptr_t)args - 16;
116 ucp->uc_mcontext.mc_special.bspstore = (intptr_t)bsp;
117 ucp->uc_mcontext.mc_special.pfs = (3 << 7) | 3;
118 ucp->uc_mcontext.mc_special.rsc = 0xf;
119 ucp->uc_mcontext.mc_special.rp = ((struct fdesc*)ctx_wrapper)->ip;
120 ucp->uc_mcontext.mc_special.gp = ((struct fdesc*)ctx_wrapper)->gp;
121 ucp->uc_mcontext.mc_special.fpsr = IA64_FPSR_DEFAULT;