Lines Matching refs:cpu_context
63 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
64 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
65 ti->cpu_context.r20 = (unsigned long)usp; /* fn */ in copy_thread()
66 ti->cpu_context.r19 = (unsigned long)arg; in copy_thread()
70 ti->cpu_context.msr = childregs->msr & ~MSR_IE; in copy_thread()
72 ti->cpu_context.r15 = (unsigned long)ret_from_kernel_thread - 8; in copy_thread()
79 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
80 ti->cpu_context.r1 = (unsigned long)childregs; in copy_thread()
82 ti->cpu_context.msr = (unsigned long)childregs->msr; in copy_thread()
102 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
103 ti->cpu_context.msr &= ~MSR_UMS; /* switch_to to kernel mode */ in copy_thread()
104 ti->cpu_context.msr &= ~MSR_IE; in copy_thread()
106 ti->cpu_context.r15 = (unsigned long)ret_from_fork - 8; in copy_thread()
124 struct cpu_context *ctx = in thread_saved_pc()
125 &(((struct thread_info *)(tsk->stack))->cpu_context); in thread_saved_pc()