Lines Matching refs:cregs
214 struct pt_regs *cregs = &(p->thread.regs); in copy_thread() local
225 memset(cregs, 0, sizeof(struct pt_regs)); in copy_thread()
231 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
232 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
238 cregs->gr[27] = ((unsigned long *)usp)[3]; in copy_thread()
239 cregs->gr[26] = ((unsigned long *)usp)[2]; in copy_thread()
241 cregs->gr[26] = usp; in copy_thread()
243 cregs->gr[25] = kthread_arg; in copy_thread()
252 cregs->gr[30] = usp; in copy_thread()
254 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
255 cregs->kpc = (unsigned long) &child_return; in copy_thread()
259 cregs->cr27 = cregs->gr[23]; in copy_thread()