Lines Matching refs:cpu_context
67 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
68 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
69 ti->cpu_context.r20 = (unsigned long)args->fn; in copy_thread()
70 ti->cpu_context.r19 = (unsigned long)args->fn_arg; in copy_thread()
73 ti->cpu_context.msr = childregs->msr & ~MSR_IE; in copy_thread()
74 ti->cpu_context.r15 = (unsigned long)ret_from_kernel_thread - 8; in copy_thread()
81 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
82 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
101 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
102 ti->cpu_context.msr &= ~MSR_UMS; /* switch_to to kernel mode */ in copy_thread()
103 ti->cpu_context.msr &= ~MSR_IE; in copy_thread()
104 ti->cpu_context.r15 = (unsigned long)ret_from_fork - 8; in copy_thread()