Lines Matching refs:dr6
951 // We need to save the current values of dr6 and dr7 in the CPU structure,
955 asm("mov %%dr6, %0" : "=r"(thread->cpu->arch.dr6));
986 // Get dr6 and dr7. If the given iframe is a userland frame, the exception
988 // x86_exit_user_debug_at_kernel_entry() has already been invoked and dr6
991 size_t dr6;
994 dr6 = thread->cpu->arch.dr6;
997 asm("mov %%dr6, %0" : "=r"(dr6));
1001 TRACE(("x86_handle_debug_exception(): DR6: %lx, DR7: %lx\n", dr6, dr7));
1004 if (dr6 & X86_DR6_BREAKPOINT_MASK) {
1010 if (dr6 & (1 << sDR6B[i])) {
1026 panic("hit kernel %spoint: dr6: 0x%lx, dr7: 0x%lx",
1027 watchpoint ? "watch" : "break", dr6, dr7);
1029 } else if (dr6 & (1 << X86_DR6_BD)) {
1040 } else if ((dr6 & (1 << X86_DR6_BS)) || sQEmuSingleStepHack) {
1093 } else if (dr6 & (1 << X86_DR6_BT)) {