Lines Matching refs:cregs
233 struct pt_regs *cregs = &(p->thread.regs); in copy_thread() local
244 memset(cregs, 0, sizeof(struct pt_regs)); in copy_thread()
250 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
251 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
257 cregs->gr[27] = ((unsigned long *)usp)[3]; in copy_thread()
258 cregs->gr[26] = ((unsigned long *)usp)[2]; in copy_thread()
260 cregs->gr[26] = usp; in copy_thread()
262 cregs->gr[25] = kthread_arg; in copy_thread()
271 cregs->gr[30] = usp; in copy_thread()
273 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
274 cregs->kpc = (unsigned long) &child_return; in copy_thread()
278 cregs->cr27 = cregs->gr[23]; in copy_thread()