Home
last modified time | relevance | path

Searched refs:tf_sp (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/riscv/riscv/
H A Dexec_machdep.c87 regs->sp = frame->tf_sp; in fill_regs()
106 frame->tf_sp = regs->sp; in set_regs()
184 tf->tf_sp = STACKALIGN(stack); in exec_setregs()
220 mcp->mc_gpregs.gp_sp = tf->tf_sp; in get_mcontext()
255 tf->tf_sp = mcp->mc_gpregs.gp_sp; in set_mcontext()
357 onstack = sigonstack(tf->tf_sp); in sendsig()
368 fp = (struct sigframe *)td->td_frame->tf_sp; in sendsig()
399 tf->tf_sp = (register_t)fp; in sendsig()
409 tf->tf_sp); in sendsig()
H A Ddb_trace.c105 frame->sp = tf->tf_sp; in db_stack_trace_cmd()
H A Ddb_interface.c66 { "sp", DB_OFFSET(tf_sp), db_frame },
H A Dgdb_machdep.c92 case GDB_REG_SP: kdb_frame->tf_sp = regval; break; in gdb_cpu_setreg()
H A Dvm_machdep.c179 tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
H A Dgenassym.c92 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
H A Dmachdep.c280 pcb->pcb_sp = tf->tf_sp; in makectx()
H A Dtrap.c184 print_with_symbol("sp", frame->tf_sp); in dump_regs()
/freebsd/sys/arm64/arm64/
H A Dexec_machdep.c75 regs->sp = frame->tf_sp; in fill_regs()
101 frame->tf_sp = regs->sp; in set_regs()
408 tf->tf_sp = STACKALIGN(stack); in exec_setregs()
452 mcp->mc_gpregs.gp_sp = tf->tf_sp; in get_mcontext()
491 tf->tf_sp = mcp->mc_gpregs.gp_sp; in set_mcontext()
750 onstack = sigonstack(tf->tf_sp); in sendsig()
764 addr = td->td_frame->tf_sp; in sendsig()
810 tf->tf_sp = (register_t)fp; in sendsig()
822 tf->tf_sp); in sendsig()
H A Dgdb_machdep.c55 case GDB_REG_SP: return (&kdb_frame->tf_sp); in gdb_cpu_getreg()
86 case GDB_REG_SP: kdb_frame->tf_sp = regval; break; in gdb_cpu_setreg()
H A Dgenassym.c82 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
H A Ddb_interface.c98 { "sp", DB_OFFSET(tf_sp), db_frame },
H A Dtrap.c450 printf(" sp: 0x%.16lx\n", frame->tf_sp); in print_registers()
688 call_trapsignal(td, SIGBUS, BUS_ADRALN, (void *)frame->tf_sp, in do_el0_sync()
H A Dmachdep.c382 pcb->pcb_sp = tf->tf_sp; in makectx()
/freebsd/sys/riscv/include/
H A Dcpu.h45 #define cpu_getstack(td) ((td)->td_frame->tf_sp)
46 #define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp))
H A Dframe.h48 uint64_t tf_sp; member
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c173 regs->tf_sp = stack; in linux_exec_setregs()
262 frame = (struct l_sigframe *)tf->tf_sp; in linux_rt_sigreturn()
271 tf->tf_sp = sf->sf_uc.uc_sc.sp; in linux_rt_sigreturn()
319 onstack = sigonstack(tf->tf_sp); in linux_rt_sendsig()
334 fp = (struct l_sigframe *)td->td_frame->tf_sp; in linux_rt_sendsig()
356 frame->sf.sf_uc.uc_sc.sp = tf->tf_sp; in linux_rt_sendsig()
415 tf->tf_sp = (register_t)fp; in linux_rt_sendsig()
419 tf->tf_sp); in linux_rt_sendsig()
H A Dlinux_machdep.c50 td->td_frame->tf_sp = stack; in linux_set_upcall()
/freebsd/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c276 sp = (register_t *)frame->tf_sp; in dtrace_invop_start()
305 frame->tf_sp = (register_t)sp; in dtrace_invop_start()
311 frame->tf_sp -= (invop >> SUB_IMM_SHIFT) & SUB_IMM_MASK; in dtrace_invop_start()
H A Ddtrace_isa.c261 p = (tf->tf_sp + (arg - 8) * sizeof(uint64_t)); in dtrace_getarg()
313 return (frame->tf_sp); in dtrace_getreg()
/freebsd/sys/arm64/include/
H A Dcpu.h54 #define cpu_getstack(td) ((td)->td_frame->tf_sp)
55 #define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp))
H A Dframe.h47 uint64_t tf_sp; member
/freebsd/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_subr.c259 sp = (register_t *)((uint8_t *)frame->tf_sp + imm); in dtrace_invop_start()
277 sp = (register_t *)((uint8_t *)frame->tf_sp + uimm); in dtrace_invop_start()
H A Ddtrace_isa.c327 return (frame->tf_sp); in dtrace_getreg()
/freebsd/sys/arm64/vmm/
H A Dvmm_hyp.c218 hypctx->tf.tf_sp = READ_SPECIALREG(sp_el1); in vmm_hyp_reg_store()
313 WRITE_SPECIALREG(sp_el1, hypctx->tf.tf_sp); in vmm_hyp_reg_restore()

12