Lines Matching refs:regs
31 void show_regs(struct pt_regs * regs) in show_regs() argument
36 pr_info("PC is at %pS\n", (void *)instruction_pointer(regs)); in show_regs()
37 pr_info("PR is at %pS\n", (void *)regs->pr); in show_regs()
39 pr_info("PC : %08lx SP : %08lx SR : %08lx ", regs->pc, in show_regs()
40 regs->regs[15], regs->sr); in show_regs()
48 regs->regs[0], regs->regs[1], regs->regs[2], regs->regs[3]); in show_regs()
50 regs->regs[4], regs->regs[5], regs->regs[6], regs->regs[7]); in show_regs()
52 regs->regs[8], regs->regs[9], regs->regs[10], regs->regs[11]); in show_regs()
54 regs->regs[12], regs->regs[13], regs->regs[14]); in show_regs()
56 regs->mach, regs->macl, regs->gbr, regs->pr); in show_regs()
58 show_trace(NULL, (unsigned long *)regs->regs[15], regs, KERN_DEFAULT); in show_regs()
59 show_code(regs); in show_regs()
62 void start_thread(struct pt_regs *regs, unsigned long new_pc, in start_thread() argument
65 regs->pr = 0; in start_thread()
66 regs->sr = SR_FD; in start_thread()
67 regs->pc = new_pc; in start_thread()
68 regs->regs[15] = new_sp; in start_thread()
117 childregs->regs[4] = (unsigned long) args->fn_arg; in copy_thread()
118 childregs->regs[5] = (unsigned long) args->fn; in copy_thread()
130 childregs->regs[15] = usp; in copy_thread()
135 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()