Home
last modified time | relevance | path

Searched refs:epc_insn (Results 1 – 2 of 2) sorted by relevance

/arch/score/kernel/
Dptrace.c178 unsigned long epc_insn, far_epc_insn; in user_enable_single_step() local
186 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
188 if (is_16bitinsn(epc_insn)) { in user_enable_single_step()
189 if ((epc_insn & J16M) == J16) { in user_enable_single_step()
190 tmp = epc_insn & 0xFFE; in user_enable_single_step()
192 } else if ((epc_insn & B16M) == B16) { in user_enable_single_step()
194 tmp = (epc_insn & 0xFF) << 1; in user_enable_single_step()
199 } else if ((epc_insn & BR16M) == BR16) { in user_enable_single_step()
201 tmp = (epc_insn >> 4) & 0xF; in user_enable_single_step()
207 if ((epc_insn & J32M) == J32) { in user_enable_single_step()
[all …]
Dtraps.c241 unsigned long epc_insn; in do_ri() local
244 read_tsk_long(current, epc, &epc_insn); in do_ri()
253 } else if ((epc_insn == BREAKPOINT32_INSN) || in do_ri()
254 ((epc_insn & 0x0000FFFF) == 0x7002) || in do_ri()
255 ((epc_insn & 0xFFFF0000) == 0x70020000)) { in do_ri()