Lines Matching refs:ucp
23 extern void __start_context (ucontext_t *ucp);
26 __makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...) in __makecontext() argument
33 sp = (unsigned long *) ((long) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size); in __makecontext()
38 ucp->uc_mcontext.mc_gregs[MC_PC] = (long) func; in __makecontext()
39 ucp->uc_mcontext.mc_gregs[MC_NPC] = ((long) func) + 4; in __makecontext()
40 ucp->uc_mcontext.mc_gregs[MC_O6] = ((long) sp) - 0x7ff; in __makecontext()
41 ucp->uc_mcontext.mc_gregs[MC_O7] = ((long) __start_context) - 8; in __makecontext()
42 ucp->uc_mcontext.mc_fp = ((long) topsp) - 0x7ff; in __makecontext()
43 ucp->uc_mcontext.mc_i7 = 0; in __makecontext()
46 sp[8] = (long) ucp->uc_link; in __makecontext()
50 ucp->uc_mcontext.mc_gregs[MC_O0 + i] = va_arg (ap, long); in __makecontext()