Home
last modified time | relevance | path

Searched refs:tf_elr (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/cddl/dev/kinst/aarch64/
H A Dkinst_isa.c38 frame->tf_x[reg] = frame->tf_elr + imm; in kinst_emulate()
44 frame->tf_x[reg] = (frame->tf_elr & ~0xfff) + imm; in kinst_emulate()
46 frame->tf_elr += INSN_SIZE; in kinst_emulate()
52 frame->tf_elr += imm << 2; in kinst_emulate()
92 frame->tf_elr += imm << 2; in kinst_emulate()
94 frame->tf_elr += INSN_SIZE; in kinst_emulate()
100 frame->tf_lr = frame->tf_elr + INSN_SIZE; in kinst_emulate()
101 frame->tf_elr += imm << 2; in kinst_emulate()
111 frame->tf_elr += imm << 2; in kinst_emulate()
114 frame->tf_elr += imm << 2; in kinst_emulate()
[all …]
/freebsd/sys/arm64/arm64/
H A Dtrap.c201 call_trapsignal(td, SIGILL, ILL_ILLOPN, (void *)frame->tf_elr, in svc_handler()
218 call_trapsignal(td, SIGBUS, BUS_ADRALN, (void *)frame->tf_elr, in align_abort()
239 if (test_bs_fault((void *)frame->tf_elr)) { in external_abort()
240 frame->tf_elr = (uint64_t)generic_bs_fault; in external_abort()
387 frame->tf_elr = pcb->pcb_onfault; in data_abort()
407 frame->tf_elr, error); in data_abort()
452 print_gp_register("elr", frame->tf_elr); in print_registers()
503 __func__, exception, frame->tf_elr, esr); in do_el1h_sync()
584 *(uint32_t *)frame->tf_elr); in do_el1h_sync()
631 __func__, exception, frame->tf_elr, esr); in do_el0_sync()
[all …]
H A Dundefined.c108 frame->tf_elr += INSN_SIZE; in id_aa64mmfr2_handler()
264 frame->tf_elr += 4; //INSN_SIZE; in swp_emulate()
324 ret = fueword32((uint32_t *)frame->tf_elr, &insn); in undef_insn()
328 insn = *(uint32_t *)frame->tf_elr; in undef_insn()
332 ret = uh->uh_handler(frame->tf_elr, insn, frame, frame->tf_esr); in undef_insn()
H A Dexec_machdep.c77 regs->elr = frame->tf_elr; in fill_regs()
88 regs->x[15] = frame->tf_elr; in fill_regs()
113 frame->tf_elr = regs->x[15]; in set_regs()
124 frame->tf_elr = regs->elr; in set_regs()
342 regs->r_pc = tf->tf_elr; in fill_regs32()
360 tf->tf_elr = regs->r_pc; in set_regs32()
410 tf->tf_elr = imgp->entry_addr; in exec_setregs()
454 mcp->mc_gpregs.gp_elr = tf->tf_elr; in get_mcontext()
493 tf->tf_elr = mcp->mc_gpregs.gp_elr; in set_mcontext()
811 tf->tf_elr = (register_t)PROC_SIGCODE(p); in sendsig()
[all …]
H A Dgdb_machdep.c56 case GDB_REG_PC: return (&kdb_frame->tf_elr); in gdb_cpu_getreg()
85 case GDB_REG_PC: kdb_frame->tf_elr = regval; break; in gdb_cpu_setreg()
H A Delf32_machdep.c258 frame->tf_elr -= 2; //THUMB_INSN_SIZE; in freebsd32_set_syscall_retval()
260 frame->tf_elr -= 4; //INSN_SIZE; in freebsd32_set_syscall_retval()
291 tf->tf_elr = imgp->entry_addr; in freebsd32_setregs()
H A Dfreebsd32_machdep.c205 mcp->mc_gregset[15] = tf->tf_elr; in get_mcontext32()
244 tf->tf_elr = mcp->mc_gregset[15]; in set_mcontext32()
430 tf->tf_elr = (register_t)catcher; in freebsd32_sendsig()
H A Ddb_trace.c131 frame->pc = ADDR_MAKE_CANONICAL(tf->tf_elr); in db_stack_trace_cmd()
H A Dgenassym.c84 ASSYM(TF_ELR, offsetof(struct trapframe, tf_elr));
H A Dptrace_machdep.c164 td->td_frame->tf_elr = addr; in ptrace_set_pc()
H A Ddb_interface.c97 { "elr", DB_OFFSET(tf_elr), db_frame },
H A Dmachdep.c377 pcb->pcb_x[i] = tf->tf_elr; in makectx()
H A Didentcpu.c2144 frame->tf_elr += INSN_SIZE; in user_mrs_handler()
/freebsd/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c215 frame->tf_elr += 4; in dtrace_trap()
272 invop = dtrace_invop(frame->tf_elr, frame, frame->tf_x[0]); in dtrace_invop_start()
306 frame->tf_elr += INSN_SIZE; in dtrace_invop_start()
312 frame->tf_elr += INSN_SIZE; in dtrace_invop_start()
317 frame->tf_elr += INSN_SIZE; in dtrace_invop_start()
325 frame->tf_elr += data; in dtrace_invop_start()
330 frame->tf_elr = frame->tf_lr; in dtrace_invop_start()
H A Ddtrace_isa.c195 pc = tf->tf_elr; in dtrace_getupcstack()
315 return (frame->tf_elr); in dtrace_getreg()
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c174 regs->tf_elr = imgp->entry_addr; in linux_exec_setregs()
272 tf->tf_elr = sf->sf_uc.uc_sc.pc; in linux_rt_sigreturn()
357 frame->sf.sf_uc.uc_sc.pc = tf->tf_elr; in linux_rt_sendsig()
363 frame->lr = tf->tf_elr; in linux_rt_sendsig()
414 tf->tf_elr = (register_t)catcher; in linux_rt_sendsig()
418 CTR3(KTR_SIG, "sendsig: return td=%p pc=%#x sp=%#x", td, tf->tf_elr, in linux_rt_sendsig()
/freebsd/sys/arm64/vmm/
H A Dvmm_arm64.c1072 hypctx->tf.tf_elr = (uint64_t)pc; in vmmops_run()
1077 hypctx->elr_el1 = hypctx->tf.tf_elr; in vmmops_run()
1082 hypctx->tf.tf_elr = hypctx->vbar_el1 + 0x0; in vmmops_run()
1084 hypctx->tf.tf_elr = hypctx->vbar_el1 + 0x200; in vmmops_run()
1087 hypctx->tf.tf_elr = hypctx->vbar_el1 + 0x400; in vmmops_run()
1090 hypctx->tf.tf_elr = hypctx->vbar_el1 + 0x600; in vmmops_run()
1154 vme->pc = hypctx->tf.tf_elr; in vmmops_run()
1168 hypctx->tf.tf_elr += vme->inst_length; in vmmops_run()
1237 return (&hypctx->tf.tf_elr); in hypctx_regptr()
H A Dvmm_hyp.c219 hypctx->tf.tf_elr = READ_SPECIALREG(elr_el2); in vmm_hyp_reg_store()
314 WRITE_SPECIALREG(elr_el2, hypctx->tf.tf_elr); in vmm_hyp_reg_restore()
/freebsd/sys/arm64/include/
H A Dframe.h49 uint64_t tf_elr; member
H A Dpmc_mdep.h68 #define PMC_TRAPFRAME_TO_PC(TF) ((TF)->tf_elr)
H A Ddb_machdep.h56 kdb_frame->tf_elr += BKPT_SIZE; \
H A Dcpu.h51 #define TRAPF_PC(tfp) ((tfp)->tf_elr)
/freebsd/sys/arm/arm/
H A Dgeneric_timer.c311 frame->tf_elr += INSN_SIZE; in cntpct_handler()