Lines Matching refs:childregs
103 struct pt_regs *childregs;
120 childregs = (struct pt_regs *) childksp - 1;
121 *childregs = *regs;
122 childregs->regs[7] = 0; /* Clear error flag */
127 childregs->regs[3] = 1;
131 childregs->regs[2] = 0; /* Child gets zero as return value */
134 if (childregs->cp0_status & ST0_CU0) {
135 childregs->regs[28] = (unsigned long) ti;
136 childregs->regs[29] = childksp;
139 childregs->regs[29] = usp;
142 p->thread.reg29 = (unsigned long) childregs;
150 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1);