/freebsd/sys/cddl/dev/kinst/aarch64/ |
H A D | kinst_isa.c | 38 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 D | trap.c | 201 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 D | undefined.c | 108 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 D | exec_machdep.c | 77 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 D | gdb_machdep.c | 56 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 D | elf32_machdep.c | 258 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 D | freebsd32_machdep.c | 205 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 D | db_trace.c | 131 frame->pc = ADDR_MAKE_CANONICAL(tf->tf_elr); in db_stack_trace_cmd()
|
H A D | genassym.c | 84 ASSYM(TF_ELR, offsetof(struct trapframe, tf_elr));
|
H A D | ptrace_machdep.c | 164 td->td_frame->tf_elr = addr; in ptrace_set_pc()
|
H A D | db_interface.c | 97 { "elr", DB_OFFSET(tf_elr), db_frame },
|
H A D | machdep.c | 377 pcb->pcb_x[i] = tf->tf_elr; in makectx()
|
H A D | identcpu.c | 2144 frame->tf_elr += INSN_SIZE; in user_mrs_handler()
|
/freebsd/sys/cddl/dev/dtrace/aarch64/ |
H A D | dtrace_subr.c | 215 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 D | dtrace_isa.c | 195 pc = tf->tf_elr; in dtrace_getupcstack() 315 return (frame->tf_elr); in dtrace_getreg()
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysvec.c | 174 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 D | vmm_arm64.c | 1072 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 D | vmm_hyp.c | 219 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 D | frame.h | 49 uint64_t tf_elr; member
|
H A D | pmc_mdep.h | 68 #define PMC_TRAPFRAME_TO_PC(TF) ((TF)->tf_elr)
|
H A D | db_machdep.h | 56 kdb_frame->tf_elr += BKPT_SIZE; \
|
H A D | cpu.h | 51 #define TRAPF_PC(tfp) ((tfp)->tf_elr)
|
/freebsd/sys/arm/arm/ |
H A D | generic_timer.c | 311 frame->tf_elr += INSN_SIZE; in cntpct_handler()
|