Lines Matching refs:childregs
57 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
63 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
65 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
68 childregs->pt_mode = 1; in copy_thread()
69 local_save_flags(childregs->msr); in copy_thread()
71 ti->cpu_context.msr = childregs->msr & ~MSR_IE; in copy_thread()
76 *childregs = *current_pt_regs(); in copy_thread()
78 childregs->r1 = usp; in copy_thread()
81 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
83 ti->cpu_context.msr = (unsigned long)childregs->msr; in copy_thread()
85 childregs->msr |= MSR_UMS; in copy_thread()
97 childregs->msr &= ~MSR_EIP; in copy_thread()
98 childregs->msr |= MSR_IE; in copy_thread()
99 childregs->msr &= ~MSR_VM; in copy_thread()
100 childregs->msr |= MSR_VMS; in copy_thread()
101 childregs->msr |= MSR_EE; /* exceptions will be enabled*/ in copy_thread()
103 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
114 childregs->r21 = childregs->r10; in copy_thread()