Lines Matching refs:epc
175 unsigned int epc, far_epc = 0; in user_enable_single_step() local
182 epc = regs->cp0_epc; in user_enable_single_step()
184 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
189 epc = (epc & 0xFFFFF000) | tmp; in user_enable_single_step()
195 far_epc = epc + tmp; in user_enable_single_step()
196 epc += 2; in user_enable_single_step()
201 epc += 2; in user_enable_single_step()
203 epc += 2; in user_enable_single_step()
209 epc = (epc & 0xFFC00000) | tmp; in user_enable_single_step()
217 far_epc = epc + tmp; in user_enable_single_step()
218 epc += 4; in user_enable_single_step()
223 epc += 4; in user_enable_single_step()
225 epc += 4; in user_enable_single_step()
229 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
232 write_tsk_short(child, epc, SINGLESTEP16_INSN); in user_enable_single_step()
235 write_tsk_long(child, epc, SINGLESTEP32_INSN); in user_enable_single_step()
241 child->thread.addr1 = epc; in user_enable_single_step()
246 child->thread.addr1 = epc; in user_enable_single_step()
251 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
254 write_tsk_short(child, epc, SINGLESTEP16_INSN); in user_enable_single_step()
257 write_tsk_long(child, epc, SINGLESTEP32_INSN); in user_enable_single_step()
263 child->thread.addr1 = epc; in user_enable_single_step()
268 child->thread.addr1 = epc; in user_enable_single_step()