Lines Matching refs:pc
35 static void instruction_dump(unsigned long *pc) in instruction_dump() argument
39 if((((unsigned long) pc) & 3)) in instruction_dump()
43 printk("%c%08lx%c",i?' ':'<',pc[i],i?' ':'>'); in instruction_dump()
88 instruction_dump ((unsigned long *) regs->pc); in die_if_kernel()
104 (void __user *)regs->pc, type - 0x80); in do_hw_interrupt()
107 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument
114 regs->pc, *(unsigned long *)regs->pc); in do_illegal_instruction()
117 send_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)pc, current); in do_illegal_instruction()
120 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
125 send_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)pc, current); in do_priv_instruction()
130 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned() argument
134 printk("KERNEL MNA at pc %08lx npc %08lx called by %08lx\n", pc, npc, in do_memaccess_unaligned()
141 instruction_dump ((unsigned long *) regs->pc); in do_memaccess_unaligned()
156 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() argument
198 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
268 regs->pc);
269 regs->pc = regs->npc;
292 send_sig_fault(SIGFPE, code, (void __user *)pc, fpt);
301 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
306 send_sig_fault(SIGEMT, EMT_TAGOVF, (void __user *)pc, current);
309 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
314 pc, npc, psr);
321 void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
326 pc, npc, psr);
328 force_sig_fault(SIGBUS, BUS_OBJERR, (void __user *)pc);
331 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
334 send_sig_fault(SIGILL, ILL_COPROC, (void __user *)pc, current);
337 void handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
342 pc, npc, psr);
344 send_sig_fault(SIGILL, ILL_COPROC, (void __user *)pc, current);
347 void handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
350 send_sig_fault(SIGFPE, FPE_INTDIV, (void __user *)pc, current);