Lines Matching refs:childregs
60 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
66 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
68 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
71 childregs->pt_mode = 1; in copy_thread()
72 local_save_flags(childregs->msr); in copy_thread()
73 ti->cpu_context.msr = childregs->msr & ~MSR_IE; in copy_thread()
77 *childregs = *current_pt_regs(); in copy_thread()
79 childregs->r1 = usp; in copy_thread()
82 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
83 childregs->msr |= MSR_UMS; in copy_thread()
95 childregs->msr &= ~MSR_EIP; in copy_thread()
96 childregs->msr |= MSR_IE; in copy_thread()
97 childregs->msr &= ~MSR_VM; in copy_thread()
98 childregs->msr |= MSR_VMS; in copy_thread()
99 childregs->msr |= MSR_EE; /* exceptions will be enabled*/ in copy_thread()
101 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
111 childregs->r21 = tls; in copy_thread()