Lines Matching refs:dr7
87 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 = this_cpu_ptr(&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()
149 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local
164 dr7 = this_cpu_ptr(&cpu_dr7); in arch_uninstall_hw_breakpoint()
165 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint()
167 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
383 int dr7 = 0; in aout_dump_debugregs() local
394 dr7 |= encode_dr7(i, info->len, info->type); in aout_dump_debugregs()
404 dump->u_debugreg[7] = dr7; in aout_dump_debugregs()
456 unsigned long dr7, dr6; in hw_breakpoint_handler() local
471 get_debugreg(dr7, 7); in hw_breakpoint_handler()
530 set_debugreg(dr7, 7); in hw_breakpoint_handler()