Lines Matching refs:debug_status
1922 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1929 if (debug_status & (DBSR_DAC1R | DBSR_DAC1W)) { in handle_debug()
1934 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, in handle_debug()
1937 } else if (debug_status & (DBSR_DAC2R | DBSR_DAC2W)) { in handle_debug()
1939 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, in handle_debug()
1942 } else if (debug_status & DBSR_IAC1) { in handle_debug()
1945 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, in handle_debug()
1948 } else if (debug_status & DBSR_IAC2) { in handle_debug()
1950 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, in handle_debug()
1953 } else if (debug_status & DBSR_IAC3) { in handle_debug()
1956 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, in handle_debug()
1959 } else if (debug_status & DBSR_IAC4) { in handle_debug()
1961 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, in handle_debug()
1983 unsigned long debug_status = regs->dsisr; in DEFINE_INTERRUPT_HANDLER() local
1985 current->thread.debug.dbsr = debug_status; in DEFINE_INTERRUPT_HANDLER()
1992 if (debug_status & DBSR_BT) { in DEFINE_INTERRUPT_HANDLER()
2017 } else if (debug_status & DBSR_IC) { /* Instruction complete */ in DEFINE_INTERRUPT_HANDLER()
2048 handle_debug(regs, debug_status); in DEFINE_INTERRUPT_HANDLER()