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()
74 ti->cpu_context.msr = childregs->msr & ~MSR_IE; in copy_thread()
79 *childregs = *current_pt_regs(); in copy_thread()
81 childregs->r1 = usp; in copy_thread()
84 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
86 ti->cpu_context.msr = (unsigned long)childregs->msr; in copy_thread()
88 childregs->msr |= MSR_UMS; in copy_thread()
100 childregs->msr &= ~MSR_EIP; in copy_thread()
101 childregs->msr |= MSR_IE; in copy_thread()
102 childregs->msr &= ~MSR_VM; in copy_thread()
103 childregs->msr |= MSR_VMS; in copy_thread()
104 childregs->msr |= MSR_EE; /* exceptions will be enabled*/ in copy_thread()
106 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
117 childregs->r21 = childregs->r10; in copy_thread()