Lines Matching refs:reg
57 greg_t *reg; in makecontext() local
64 reg = ucp->uc_mcontext.gregs; in makecontext()
65 reg[REG_PC] = (greg_t)func; in makecontext()
66 reg[REG_nPC] = reg[REG_PC] + 0x4; in makecontext()
96 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); in makecontext()
103 reg[REG_SP] = (greg_t)sp - STACK_BIAS; /* sp (when done) */ in makecontext()
104 reg[REG_O7] = (greg_t)resumecontext - 8; /* return pc */ in makecontext()
110 greg_t *reg; in __makecontext_v2() local
117 reg = ucp->uc_mcontext.gregs; in __makecontext_v2()
118 reg[REG_PC] = (greg_t)func; in __makecontext_v2()
119 reg[REG_nPC] = reg[REG_PC] + 0x4; in __makecontext_v2()
143 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); in __makecontext_v2()
150 reg[REG_SP] = (greg_t)sp - STACK_BIAS; /* sp (when done) */ in __makecontext_v2()
151 reg[REG_O7] = (greg_t)resumecontext - 8; /* return pc */ in __makecontext_v2()