Lines Matching refs:cregs
262 struct pt_regs * cregs = &(p->thread.regs); in copy_thread() local
274 *cregs = *pregs; in copy_thread()
279 cregs->gr[28] = 0; /* child */ in copy_thread()
290 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN; in copy_thread()
294 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
300 cregs->gr[27] = pregs->gr[27]; in copy_thread()
302 cregs->gr[26] = pregs->gr[26]; in copy_thread()
303 cregs->gr[25] = pregs->gr[25]; in copy_thread()
312 cregs->ksp = (unsigned long)stack in copy_thread()
314 cregs->gr[30] = usp; in copy_thread()
317 cregs->kpc = (unsigned long) &hpux_child_return; in copy_thread()
322 cregs->kpc = (unsigned long) &child_return; in copy_thread()
326 cregs->cr27 = pregs->gr[23]; in copy_thread()