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