Lines Matching defs:debug
204 /* Synchronize guest's desire to get debug interrupts into shadow MSR */
210 /* Force enable debug interrupts when user space wants to debug */
735 struct debug_reg debug;
771 /* Switch to guest debug context */
772 debug = vcpu->arch.dbg_reg;
773 switch_booke_debug_regs(&debug);
774 debug = current->thread.debug;
775 current->thread.debug = vcpu->arch.dbg_reg;
785 /* Switch back to user space debug context */
786 switch_booke_debug_regs(&debug);
787 current->thread.debug = debug;
845 * Imprecise debug event is not injected
857 /* Inject a program interrupt if trap debug is not allowed */
869 run->debug.arch.status = 0;
870 run->debug.arch.address = vcpu->arch.regs.nip;
873 run->debug.arch.status |= KVMPPC_DEBUG_BREAKPOINT;
876 run->debug.arch.status |= KVMPPC_DEBUG_WATCH_WRITE;
878 run->debug.arch.status |= KVMPPC_DEBUG_WATCH_READ;
880 run->debug.arch.address = dbg_reg->dac1;
882 run->debug.arch.address = dbg_reg->dac2;
1401 * Clear DBSR.MRR to avoid guest debug interrupt as
2026 * DBCR1 and DBCR2 are set to trigger debug events when MSR.PR is 0
2033 * We set DBCR1 and DBCR2 to only trigger debug events when MSR.PR
2086 /* Clear pending debug event in DBSR */