Home
last modified time | relevance | path

Searched refs:set_debugreg (Results 1 – 13 of 13) sorted by relevance

/arch/x86/include/asm/
Ddebugreg.h16 #define set_debugreg(value, register) \ macro
78 set_debugreg(0UL, 7); in hw_breakpoint_disable()
81 set_debugreg(0UL, 0); in hw_breakpoint_disable()
82 set_debugreg(0UL, 1); in hw_breakpoint_disable()
83 set_debugreg(0UL, 2); in hw_breakpoint_disable()
84 set_debugreg(0UL, 3); in hw_breakpoint_disable()
Dsuspend_64.h42 set_debugreg((thread)->debugreg##register, register)
Dparavirt.h40 static inline void set_debugreg(unsigned long val, int reg) in set_debugreg() function
42 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); in set_debugreg()
Dparavirt_types.h105 void (*set_debugreg)(int regno, unsigned long value); member
/arch/x86/kernel/
Dhw_breakpoint.c124 set_debugreg(info->address, i); in arch_install_hw_breakpoint()
130 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
167 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
422 set_debugreg(__this_cpu_read(cpu_debugreg[0]), 0); in hw_breakpoint_restore()
423 set_debugreg(__this_cpu_read(cpu_debugreg[1]), 1); in hw_breakpoint_restore()
424 set_debugreg(__this_cpu_read(cpu_debugreg[2]), 2); in hw_breakpoint_restore()
425 set_debugreg(__this_cpu_read(cpu_debugreg[3]), 3); in hw_breakpoint_restore()
426 set_debugreg(current->thread.debugreg6, 6); in hw_breakpoint_restore()
427 set_debugreg(__this_cpu_read(cpu_dr7), 7); in hw_breakpoint_restore()
468 set_debugreg(0UL, 7); in hw_breakpoint_handler()
[all …]
Dkgdb.c218 set_debugreg(breakinfo[breakno].addr, breakno); in kgdb_correct_hw_break()
222 set_debugreg(early_dr7, 7); in kgdb_correct_hw_break()
405 set_debugreg(0UL, 7); in kgdb_disable_hw_debug()
Dparavirt.c330 .set_debugreg = native_set_debugreg,
Dtraps.c691 set_debugreg(0, 6); in do_debug()
/arch/x86/include/asm/xen/
Dhypercall.h326 return _hypercall2(int, set_debugreg, reg, value); in HYPERVISOR_set_debugreg()
/arch/x86/lguest/
Dboot.c1434 pv_cpu_ops.set_debugreg = lguest_set_debugreg; in lguest_init()
/arch/x86/kvm/
Dx86.c2855 set_debugreg(0, 6); in kvm_arch_vcpu_put()
6789 set_debugreg(0, 7); in vcpu_enter_guest()
6790 set_debugreg(vcpu->arch.eff_db[0], 0); in vcpu_enter_guest()
6791 set_debugreg(vcpu->arch.eff_db[1], 1); in vcpu_enter_guest()
6792 set_debugreg(vcpu->arch.eff_db[2], 2); in vcpu_enter_guest()
6793 set_debugreg(vcpu->arch.eff_db[3], 3); in vcpu_enter_guest()
6794 set_debugreg(vcpu->arch.dr6, 6); in vcpu_enter_guest()
/arch/x86/kernel/cpu/
Dcommon.c1563 set_debugreg(0, i); in clear_all_debug_regs()
/arch/x86/xen/
Denlighten.c1241 .set_debugreg = xen_set_debugreg,