Home
last modified time | relevance | path

Searched refs:dr7 (Results 1 – 10 of 10) sorted by relevance

/arch/x86/kernel/
Dhw_breakpoint.c87 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type) in decode_dr7() argument
89 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7()
94 return (dr7 >> (bpnum * DR_ENABLE_SIZE)) & 0x3; in decode_dr7()
109 unsigned long *dr7; in arch_install_hw_breakpoint() local
127 dr7 = &__get_cpu_var(cpu_dr7); in arch_install_hw_breakpoint()
128 *dr7 |= encode_dr7(i, info->len, info->type); in arch_install_hw_breakpoint()
130 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
147 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local
162 dr7 = &__get_cpu_var(cpu_dr7); in arch_uninstall_hw_breakpoint()
163 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint()
[all …]
Dptrace.c589 int dr7 = 0; in ptrace_get_dr7() local
595 dr7 |= encode_dr7(i, info->len, info->type); in ptrace_get_dr7()
599 return dr7; in ptrace_get_dr7()
/arch/x86/include/asm/
Dhw_breakpoint.h67 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type);
Dkvm.h230 __u64 dr7; member
299 __u64 dr7; member
Dsvm.h154 u64 dr7; member
Dkvm_host.h444 unsigned long dr7; member
/arch/x86/kvm/
Dsvm.c1142 save->dr7 = 0x400; in init_vmcb()
1664 svm->vmcb->save.dr7 = dbg->arch.debugreg[7]; in svm_guest_debug()
1666 svm->vmcb->save.dr7 = vcpu->arch.dr7; in svm_guest_debug()
1691 svm->vmcb->save.dr7 = value; in svm_set_dr7()
2320 nested_vmcb->save.dr7 = vmcb->save.dr7; in nested_svm_vmexit()
2386 svm->vmcb->save.dr7 = 0; in nested_svm_vmexit()
2552 svm->vmcb->save.dr7 = nested_vmcb->save.dr7; in nested_svm_vmrun()
3408 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
Dx86.c707 vcpu->arch.dr7 = (val & DR7_VOLATILE) | DR7_FIXED_1; in __kvm_set_dr()
709 kvm_x86_ops->set_dr7(vcpu, vcpu->arch.dr7); in __kvm_set_dr()
750 *val = vcpu->arch.dr7; in _kvm_get_dr()
2502 dbgregs->dr7 = vcpu->arch.dr7; in kvm_vcpu_ioctl_x86_get_debugregs()
2515 vcpu->arch.dr7 = dbgregs->dr7; in kvm_vcpu_ioctl_x86_set_debugregs()
5796 vcpu->arch.switch_db_regs = (vcpu->arch.dr7 & DR7_BP_EN_MASK); in kvm_arch_vcpu_ioctl_set_guest_debug()
5984 vcpu->arch.dr7 = DR7_FIXED_1; in kvm_arch_vcpu_reset()
Dvmx.c2251 vmcs_writel(GUEST_DR7, vcpu->arch.dr7); in set_guest_debug()
4259 kvm_run->debug.arch.dr7 = vmcs_readl(GUEST_DR7); in handle_exception()
4476 vcpu->run->debug.arch.dr7 = dr; in handle_dr()
4484 vcpu->arch.dr7 &= ~DR7_GD; in handle_dr()
4486 vmcs_writel(GUEST_DR7, vcpu->arch.dr7); in handle_dr()
Demulate.c3183 unsigned long dr7; in check_dr7_gd() local
3185 ctxt->ops->get_dr(ctxt, 7, &dr7); in check_dr7_gd()
3188 return dr7 & (1 << 13); in check_dr7_gd()