Lines Matching refs:debug_status
1938 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1945 if (debug_status & (DBSR_DAC1R | DBSR_DAC1W)) { in handle_debug()
1950 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, in handle_debug()
1953 } else if (debug_status & (DBSR_DAC2R | DBSR_DAC2W)) { in handle_debug()
1955 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, in handle_debug()
1958 } else if (debug_status & DBSR_IAC1) { in handle_debug()
1961 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, in handle_debug()
1964 } else if (debug_status & DBSR_IAC2) { in handle_debug()
1966 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, in handle_debug()
1969 } else if (debug_status & DBSR_IAC3) { in handle_debug()
1972 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, in handle_debug()
1975 } else if (debug_status & DBSR_IAC4) { in handle_debug()
1977 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, in handle_debug()
1999 unsigned long debug_status = regs->dsisr; in DEFINE_INTERRUPT_HANDLER() local
2001 current->thread.debug.dbsr = debug_status; in DEFINE_INTERRUPT_HANDLER()
2008 if (debug_status & DBSR_BT) { in DEFINE_INTERRUPT_HANDLER()
2033 } else if (debug_status & DBSR_IC) { /* Instruction complete */ in DEFINE_INTERRUPT_HANDLER()
2064 handle_debug(regs, debug_status); in DEFINE_INTERRUPT_HANDLER()