Lines Matching refs:childregs
121 struct pt_regs *childregs;
138 childregs = (struct pt_regs *) childksp - 1;
140 childksp = (unsigned long) childregs;
141 *childregs = *regs;
142 childregs->regs[7] = 0; /* Clear error flag */
144 childregs->regs[2] = 0; /* Child gets zero as return value */
146 if (childregs->cp0_status & ST0_CU0) {
147 childregs->regs[28] = (unsigned long) ti;
148 childregs->regs[29] = childksp;
151 childregs->regs[29] = usp;
154 p->thread.reg29 = (unsigned long) childregs;
162 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1);
169 childregs->cp0_tcstatus &= ~(ST0_CU2|ST0_CU1);