Lines Matching refs:c_regs
148 struct pt_regs *c_regs; in copy_thread() local
155 c_regs = (struct pt_regs *) c_ksp; in copy_thread()
159 p->thread.uregs = c_regs; in copy_thread()
160 ti->frame = c_regs; in copy_thread()
161 p->thread.a3 = (unsigned long) c_regs; in copy_thread()
167 memset(c_regs, 0, sizeof(struct pt_regs)); in copy_thread()
168 c_regs->a0 = c_usp; /* function */ in copy_thread()
169 c_regs->d0 = ustk_size; /* argument */ in copy_thread()
170 local_save_flags(c_regs->epsw); in copy_thread()
171 c_regs->epsw |= EPSW_IE | EPSW_IM_7; in copy_thread()
175 *c_regs = *current_pt_regs(); in copy_thread()
177 c_regs->sp = c_usp; in copy_thread()
178 c_regs->epsw &= ~EPSW_FE; /* my FPU */ in copy_thread()
182 c_regs->e2 = current_frame()->d3; in copy_thread()