Lines Matching refs:regs
32 void show_regs(struct pt_regs * regs) in show_regs() argument
37 print_symbol("PC is at %s\n", instruction_pointer(regs)); in show_regs()
38 print_symbol("PR is at %s\n", regs->pr); in show_regs()
41 regs->pc, regs->regs[15], regs->sr); in show_regs()
49 regs->regs[0],regs->regs[1], in show_regs()
50 regs->regs[2],regs->regs[3]); in show_regs()
52 regs->regs[4],regs->regs[5], in show_regs()
53 regs->regs[6],regs->regs[7]); in show_regs()
55 regs->regs[8],regs->regs[9], in show_regs()
56 regs->regs[10],regs->regs[11]); in show_regs()
58 regs->regs[12],regs->regs[13], in show_regs()
59 regs->regs[14]); in show_regs()
61 regs->mach, regs->macl, regs->gbr, regs->pr); in show_regs()
63 show_trace(NULL, (unsigned long *)regs->regs[15], regs); in show_regs()
64 show_code(regs); in show_regs()
67 void start_thread(struct pt_regs *regs, unsigned long new_pc, in start_thread() argument
70 regs->pr = 0; in start_thread()
71 regs->sr = SR_FD; in start_thread()
72 regs->pc = new_pc; in start_thread()
73 regs->regs[15] = new_sp; in start_thread()
105 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
151 childregs->regs[4] = arg; in copy_thread()
152 childregs->regs[5] = usp; in copy_thread()
165 childregs->regs[15] = usp; in copy_thread()
169 childregs->gbr = childregs->regs[0]; in copy_thread()
171 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()