Lines Matching refs:debug_status
1969 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1976 if (debug_status & (DBSR_DAC1R | DBSR_DAC1W)) { in handle_debug()
1981 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, in handle_debug()
1984 } else if (debug_status & (DBSR_DAC2R | DBSR_DAC2W)) { in handle_debug()
1986 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, in handle_debug()
1989 } else if (debug_status & DBSR_IAC1) { in handle_debug()
1992 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, in handle_debug()
1995 } else if (debug_status & DBSR_IAC2) { in handle_debug()
1997 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, in handle_debug()
2000 } else if (debug_status & DBSR_IAC3) { in handle_debug()
2003 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, in handle_debug()
2006 } else if (debug_status & DBSR_IAC4) { in handle_debug()
2008 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, in handle_debug()
2030 unsigned long debug_status = regs->dsisr; in DEFINE_INTERRUPT_HANDLER() local
2032 current->thread.debug.dbsr = debug_status; in DEFINE_INTERRUPT_HANDLER()
2039 if (debug_status & DBSR_BT) { in DEFINE_INTERRUPT_HANDLER()
2064 } else if (debug_status & DBSR_IC) { /* Instruction complete */ in DEFINE_INTERRUPT_HANDLER()
2095 handle_debug(regs, debug_status); in DEFINE_INTERRUPT_HANDLER()