Lines Matching full:pc
36 static void instruction_dump(unsigned long *pc) in instruction_dump() argument
40 if((((unsigned long) pc) & 3)) in instruction_dump()
44 printk("%c%08lx%c",i?' ':'<',pc[i],i?' ':'>'); in instruction_dump()
89 instruction_dump ((unsigned long *) regs->pc); in die_if_kernel()
105 (void __user *)regs->pc, type - 0x80); in do_hw_interrupt()
108 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument
114 printk("Ill instr. at pc=%08lx instruction is %08lx\n", in do_illegal_instruction()
115 regs->pc, *(unsigned long *)regs->pc); in do_illegal_instruction()
118 send_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)pc, current); in do_illegal_instruction()
121 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
126 send_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)pc, current); in do_priv_instruction()
131 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned() argument
135 printk("KERNEL MNA at pc %08lx npc %08lx called by %08lx\n", pc, npc, in do_memaccess_unaligned()
142 instruction_dump ((unsigned long *) regs->pc); in do_memaccess_unaligned()
157 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() argument
199 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
268 printk("WARNING: FPU exception from kernel mode. at pc=%08lx\n",
269 regs->pc);
270 regs->pc = regs->npc;
293 send_sig_fault(SIGFPE, code, (void __user *)pc, fpt);
302 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
307 send_sig_fault(SIGEMT, EMT_TAGOVF, (void __user *)pc, current);
310 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
314 printk("Watchpoint detected at PC %08lx NPC %08lx PSR %08lx\n",
315 pc, npc, psr);
322 void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
326 printk("Register Access Exception at PC %08lx NPC %08lx PSR %08lx\n",
327 pc, npc, psr);
329 force_sig_fault(SIGBUS, BUS_OBJERR, (void __user *)pc);
332 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
335 send_sig_fault(SIGILL, ILL_COPROC, (void __user *)pc, current);
338 void handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
342 printk("Co-Processor Exception at PC %08lx NPC %08lx PSR %08lx\n",
343 pc, npc, psr);
345 send_sig_fault(SIGILL, ILL_COPROC, (void __user *)pc, current);
348 void handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
351 send_sig_fault(SIGFPE, FPE_INTDIV, (void __user *)pc, current);