Lines Matching refs:regs

58 void show_regs(struct pt_regs * regs)  in show_regs()  argument
63 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs()
65 regs->msr, regs->msr&MSR_EE ? 1 : 0, regs->msr&MSR_PR ? 1 : 0, in show_regs()
66 regs->msr & MSR_FP ? 1 : 0,regs->msr&MSR_ME ? 1 : 0, in show_regs()
67 regs->msr&MSR_IR ? 1 : 0, in show_regs()
68 regs->msr&MSR_DR ? 1 : 0); in show_regs()
76 rt_kprintf("%08lX ", regs->gpr[i]); in show_regs()
89 _exception(int signr, struct pt_regs *regs) in _exception() argument
91 show_regs(regs); in _exception()
92 print_backtrace((unsigned long *)regs->gpr[1]); in _exception()
112 void external_interrupt(struct pt_regs *regs) in external_interrupt() argument
131 void MachineCheckException(struct pt_regs *regs) in MachineCheckException() argument
135 if ((fixup = search_exception_table(regs->nip)) != 0) { in MachineCheckException()
136 regs->nip = fixup; in MachineCheckException()
145 rt_kprintf("regs %p ", regs); in MachineCheckException()
157 show_regs(regs); in MachineCheckException()
158 print_backtrace((unsigned long *)regs->gpr[1]); in MachineCheckException()
162 void AlignmentException(struct pt_regs *regs) in AlignmentException() argument
164 show_regs(regs); in AlignmentException()
165 print_backtrace((unsigned long *)regs->gpr[1]); in AlignmentException()
169 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException() argument
173 show_regs(regs); in ProgramCheckException()
183 print_backtrace((unsigned long *)regs->gpr[1]); in ProgramCheckException()
187 void DecrementerPITException(struct pt_regs *regs) in DecrementerPITException() argument
196 void UnknownException(struct pt_regs *regs) in UnknownException() argument
200 regs->nip, regs->msr, regs->trap); in UnknownException()
201 _exception(0, regs); in UnknownException()
204 void DebugException(struct pt_regs *regs) in DebugException() argument
206 rt_kprintf("Debugger trap at @ %lx @regs %lx\n", regs->nip, (rt_uint32_t)regs ); in DebugException()
207 show_regs(regs); in DebugException()