Home
last modified time | relevance | path

Searched refs:bp_info (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/powerpc/kernel/ !
Dptrace.c1039 struct ppc_hw_breakpoint *bp_info) in set_intruction_bp() argument
1052 if (bp_info->addr >= TASK_SIZE) in set_intruction_bp()
1055 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { in set_intruction_bp()
1058 if (bp_info->addr2 >= TASK_SIZE) in set_intruction_bp()
1064 child->thread.iac1 = bp_info->addr; in set_intruction_bp()
1065 child->thread.iac2 = bp_info->addr2; in set_intruction_bp()
1067 if (bp_info->addr_mode == in set_intruction_bp()
1075 child->thread.iac3 = bp_info->addr; in set_intruction_bp()
1076 child->thread.iac4 = bp_info->addr2; in set_intruction_bp()
1078 if (bp_info->addr_mode == in set_intruction_bp()
[all …]
Dhw_breakpoint.c297 struct arch_hw_breakpoint *bp_info; in single_step_dabr_instruction() local
307 bp_info = counter_arch_bp(bp); in single_step_dabr_instruction()
313 if (!bp_info->extraneous_interrupt) in single_step_dabr_instruction()
316 set_dabr(bp_info->address | bp_info->type | DABR_TRANSLATION); in single_step_dabr_instruction()
/linux-3.4.99/arch/x86/kernel/ !
Dhw_breakpoint.c65 unsigned long bp_info; in __encode_dr7() local
67 bp_info = (len | type) & 0xf; in __encode_dr7()
68 bp_info <<= (DR_CONTROL_SHIFT + drnum * DR_CONTROL_SIZE); in __encode_dr7()
69 bp_info |= (DR_GLOBAL_ENABLE << (drnum * DR_ENABLE_SIZE)); in __encode_dr7()
71 return bp_info; in __encode_dr7()
89 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7() local
91 *len = (bp_info & 0xc) | 0x40; in decode_dr7()
92 *type = (bp_info & 0x3) | 0x80; in decode_dr7()