Lines Matching refs:cregs
194 struct pt_regs *cregs = &(p->thread.regs); in copy_thread() local
205 memset(cregs, 0, sizeof(struct pt_regs)); in copy_thread()
211 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
212 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
218 cregs->gr[27] = ((unsigned long *)usp)[3]; in copy_thread()
219 cregs->gr[26] = ((unsigned long *)usp)[2]; in copy_thread()
221 cregs->gr[26] = usp; in copy_thread()
223 cregs->gr[25] = kthread_arg; in copy_thread()
232 cregs->gr[30] = usp; in copy_thread()
234 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
235 cregs->kpc = (unsigned long) &child_return; in copy_thread()
239 cregs->cr27 = tls; in copy_thread()