Lines Matching refs:childregs
59 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
65 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
67 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
70 childregs->pt_mode = 1; in copy_thread()
71 local_save_flags(childregs->msr); in copy_thread()
72 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()
82 childregs->msr |= MSR_UMS; in copy_thread()
94 childregs->msr &= ~MSR_EIP; in copy_thread()
95 childregs->msr |= MSR_IE; in copy_thread()
96 childregs->msr &= ~MSR_VM; in copy_thread()
97 childregs->msr |= MSR_VMS; in copy_thread()
98 childregs->msr |= MSR_EE; /* exceptions will be enabled*/ in copy_thread()
100 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
110 childregs->r21 = tls; in copy_thread()