Home
last modified time | relevance | path

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

/arch/score/kernel/
Dptrace.c176 unsigned long epc_insn, far_epc_insn; in user_enable_single_step() local
184 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
186 if (is_16bitinsn(epc_insn)) { in user_enable_single_step()
187 if ((epc_insn & J16M) == J16) { in user_enable_single_step()
188 tmp = epc_insn & 0xFFE; in user_enable_single_step()
190 } else if ((epc_insn & B16M) == B16) { in user_enable_single_step()
192 tmp = (epc_insn & 0xFF) << 1; in user_enable_single_step()
197 } else if ((epc_insn & BR16M) == BR16) { in user_enable_single_step()
199 tmp = (epc_insn >> 4) & 0xF; in user_enable_single_step()
205 if ((epc_insn & J32M) == J32) { in user_enable_single_step()
[all …]
Dtraps.c248 unsigned long epc_insn; in do_ri() local
251 read_tsk_long(current, epc, &epc_insn); in do_ri()
260 } else if ((epc_insn == BREAKPOINT32_INSN) || in do_ri()
261 ((epc_insn & 0x0000FFFF) == 0x7002) || in do_ri()
262 ((epc_insn & 0xFFFF0000) == 0x70020000)) { in do_ri()