Searched refs:dr7 (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/arch/x86/kernel/ |
D | hw_breakpoint.c | 85 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type) in decode_dr7() argument 87 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7() 92 return (dr7 >> (bpnum * DR_ENABLE_SIZE)) & 0x3; in decode_dr7() 107 unsigned long *dr7; in arch_install_hw_breakpoint() local 125 dr7 = this_cpu_ptr(&cpu_dr7); in arch_install_hw_breakpoint() 126 *dr7 |= encode_dr7(i, info->len, info->type); in arch_install_hw_breakpoint() 128 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint() 147 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local 162 dr7 = this_cpu_ptr(&cpu_dr7); in arch_uninstall_hw_breakpoint() 163 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint() [all …]
|
D | ptrace.c | 585 int dr7 = 0; in ptrace_get_dr7() local 591 dr7 |= encode_dr7(i, info->len, info->type); in ptrace_get_dr7() 595 return dr7; in ptrace_get_dr7()
|
/linux-4.1.27/tools/testing/selftests/breakpoints/ |
D | breakpoint_test.c | 57 unsigned long vdr7, dr7; in toggle_breakpoint() local 86 dr7 = ptrace(PTRACE_PEEKUSER, child_pid, in toggle_breakpoint() 102 dr7 |= vdr7; in toggle_breakpoint() 104 dr7 &= ~vdr7; in toggle_breakpoint() 107 offsetof(struct user, u_debugreg[7]), dr7); in toggle_breakpoint()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | hw_breakpoint.h | 69 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type);
|
D | svm.h | 157 u64 dr7; member
|
D | kvm_host.h | 481 unsigned long dr7; member
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | kvm.h | 250 __u64 dr7; member 319 __u64 dr7; member
|
/linux-4.1.27/arch/x86/kvm/ |
D | x86.c | 820 unsigned long dr7; in kvm_update_dr7() local 823 dr7 = vcpu->arch.guest_debug_dr7; in kvm_update_dr7() 825 dr7 = vcpu->arch.dr7; in kvm_update_dr7() 826 kvm_x86_ops->set_dr7(vcpu, dr7); in kvm_update_dr7() 828 if (dr7 & DR7_BP_EN_MASK) in kvm_update_dr7() 862 vcpu->arch.dr7 = (val & DR7_VOLATILE) | DR7_FIXED_1; in __kvm_set_dr() 897 *val = vcpu->arch.dr7; in kvm_get_dr() 3166 dbgregs->dr7 = vcpu->arch.dr7; in kvm_vcpu_ioctl_x86_get_debugregs() 3179 if (dbgregs->dr7 & ~0xffffffffull) in kvm_vcpu_ioctl_x86_set_debugregs() 3186 vcpu->arch.dr7 = dbgregs->dr7; in kvm_vcpu_ioctl_x86_set_debugregs() [all …]
|
D | svm.c | 1691 vcpu->arch.dr7 = svm->vmcb->save.dr7; in svm_sync_dirty_debug_regs() 1701 svm->vmcb->save.dr7 = value; in svm_set_dr7() 2349 nested_vmcb->save.dr7 = vmcb->save.dr7; in nested_svm_vmexit() 2415 svm->vmcb->save.dr7 = 0; in nested_svm_vmexit() 2581 svm->vmcb->save.dr7 = nested_vmcb->save.dr7; in nested_svm_vmrun() 3477 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
|
D | vmx.c | 5164 kvm_run->debug.arch.dr7 = vmcs_readl(GUEST_DR7); in handle_exception() 5393 int dr, dr7, reg; in handle_dr() local 5405 dr7 = vmcs_readl(GUEST_DR7); in handle_dr() 5406 if (dr7 & DR7_GD) { in handle_dr() 5414 vcpu->run->debug.arch.dr7 = dr7; in handle_dr() 5476 vcpu->arch.dr7 = vmcs_readl(GUEST_DR7); in vmx_sync_dirty_debug_regs() 9114 kvm_set_dr(vcpu, 7, vcpu->arch.dr7); in prepare_vmcs02()
|
D | emulate.c | 3629 unsigned long dr7; in check_dr7_gd() local 3631 ctxt->ops->get_dr(ctxt, 7, &dr7); in check_dr7_gd() 3634 return dr7 & (1 << 13); in check_dr7_gd()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | api.txt | 869 __u64 dr7;
|