• Home
  • Raw
  • Download

Lines Matching refs:regs

123 void show_regs(struct pt_regs *regs)  in show_regs()  argument
128 regs->regs[0], regs->regs[1], regs->regs[2], regs->regs[3], in show_regs()
129 regs->regs[4], regs->regs[5], regs->regs[6], regs->regs[7]); in show_regs()
131 regs->regs[8], regs->regs[9], regs->regs[10], regs->regs[11], in show_regs()
132 regs->regs[12], regs->regs[13], regs->regs[14], regs->regs[15]); in show_regs()
134 regs->regs[16], regs->regs[17], regs->regs[18], regs->regs[19], in show_regs()
135 regs->regs[20], regs->regs[21], regs->regs[22], regs->regs[23]); in show_regs()
137 regs->regs[24], regs->regs[25], regs->regs[26], regs->regs[27], in show_regs()
138 regs->regs[28], regs->regs[29], regs->regs[30], regs->regs[31]); in show_regs()
140 printk("CEH : %08lx\n", regs->ceh); in show_regs()
141 printk("CEL : %08lx\n", regs->cel); in show_regs()
144 regs->cp0_ema, regs->cp0_epc, print_tainted(), regs->cp0_psr, in show_regs()
145 regs->cp0_ecr, regs->cp0_condition); in show_regs()
148 static void show_registers(struct pt_regs *regs) in show_registers() argument
150 show_regs(regs); in show_registers()
153 show_stack(current_thread_info()->task, (long *) regs->regs[0]); in show_registers()
154 show_trace((long *) regs->regs[0]); in show_registers()
155 show_code((unsigned int *) regs->cp0_epc); in show_registers()
159 void __die(const char *str, struct pt_regs *regs, const char *file, in __die() argument
167 show_registers(regs); in __die()
171 void __die_if_kernel(const char *str, struct pt_regs *regs, in __die_if_kernel() argument
174 if (!user_mode(regs)) in __die_if_kernel()
175 __die(str, regs, file, func, line); in __die_if_kernel()
178 asmlinkage void do_adelinsn(struct pt_regs *regs) in do_adelinsn() argument
181 regs->cp0_ema, regs->cp0_epc); in do_adelinsn()
182 die_if_kernel("do_ade execution Exception\n", regs); in do_adelinsn()
186 asmlinkage void do_adedata(struct pt_regs *regs) in do_adedata() argument
189 fixup = search_exception_tables(regs->cp0_epc); in do_adedata()
191 regs->cp0_epc = fixup->fixup; in do_adedata()
195 regs->cp0_ema, regs->cp0_epc); in do_adedata()
196 die_if_kernel("do_ade execution Exception\n", regs); in do_adedata()
200 asmlinkage void do_pel(struct pt_regs *regs) in do_pel() argument
202 die_if_kernel("do_pel execution Exception", regs); in do_pel()
206 asmlinkage void do_cee(struct pt_regs *regs) in do_cee() argument
208 die_if_kernel("do_cee execution Exception", regs); in do_cee()
212 asmlinkage void do_cpe(struct pt_regs *regs) in do_cpe() argument
214 die_if_kernel("do_cpe execution Exception", regs); in do_cpe()
218 asmlinkage void do_be(struct pt_regs *regs) in do_be() argument
220 die_if_kernel("do_be execution Exception", regs); in do_be()
224 asmlinkage void do_ov(struct pt_regs *regs) in do_ov() argument
228 die_if_kernel("do_ov execution Exception", regs); in do_ov()
233 info.si_addr = (void *)regs->cp0_epc; in do_ov()
237 asmlinkage void do_tr(struct pt_regs *regs) in do_tr() argument
239 die_if_kernel("do_tr execution Exception", regs); in do_tr()
243 asmlinkage void do_ri(struct pt_regs *regs) in do_ri() argument
246 unsigned long epc = regs->cp0_epc; in do_ri()
263 die_if_kernel("do_ri execution Exception", regs); in do_ri()
268 asmlinkage void do_ccu(struct pt_regs *regs) in do_ccu() argument
270 die_if_kernel("do_ccu execution Exception", regs); in do_ccu()
274 asmlinkage void do_reserved(struct pt_regs *regs) in do_reserved() argument
281 die_if_kernel("do_reserved execution Exception", regs); in do_reserved()
282 show_regs(regs); in do_reserved()
289 void nmi_exception_handler(struct pt_regs *regs) in nmi_exception_handler() argument
291 die_if_kernel("nmi_exception_handler execution Exception", regs); in nmi_exception_handler()
292 die("NMI", regs); in nmi_exception_handler()