Lines Matching refs:debug_status
1968 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1975 if (debug_status & (DBSR_DAC1R | DBSR_DAC1W)) { in handle_debug()
1980 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, in handle_debug()
1983 } else if (debug_status & (DBSR_DAC2R | DBSR_DAC2W)) { in handle_debug()
1985 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, in handle_debug()
1988 } else if (debug_status & DBSR_IAC1) { in handle_debug()
1991 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, in handle_debug()
1994 } else if (debug_status & DBSR_IAC2) { in handle_debug()
1996 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, in handle_debug()
1999 } else if (debug_status & DBSR_IAC3) { in handle_debug()
2002 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, in handle_debug()
2005 } else if (debug_status & DBSR_IAC4) { in handle_debug()
2007 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, in handle_debug()
2029 unsigned long debug_status = regs->dsisr; in DEFINE_INTERRUPT_HANDLER() local
2031 current->thread.debug.dbsr = debug_status; in DEFINE_INTERRUPT_HANDLER()
2038 if (debug_status & DBSR_BT) { in DEFINE_INTERRUPT_HANDLER()
2063 } else if (debug_status & DBSR_IC) { /* Instruction complete */ in DEFINE_INTERRUPT_HANDLER()
2094 handle_debug(regs, debug_status); in DEFINE_INTERRUPT_HANDLER()