Home
last modified time | relevance | path

Searched refs:tf_a (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Ddb_interface.c88 { "a0", DB_OFFSET(tf_a[0]), db_frame },
89 { "a1", DB_OFFSET(tf_a[1]), db_frame },
90 { "a2", DB_OFFSET(tf_a[2]), db_frame },
91 { "a3", DB_OFFSET(tf_a[3]), db_frame },
92 { "a4", DB_OFFSET(tf_a[4]), db_frame },
93 { "a5", DB_OFFSET(tf_a[5]), db_frame },
94 { "a6", DB_OFFSET(tf_a[6]), db_frame },
95 { "a7", DB_OFFSET(tf_a[7]), db_frame },
H A Dexec_machdep.c93 memcpy(regs->a, frame->tf_a, sizeof(regs->a)); in fill_regs()
112 memcpy(frame->tf_a, regs->a, sizeof(frame->tf_a)); in set_regs()
183 tf->tf_a[0] = stack; in exec_setregs()
192 CTASSERT(sizeof(((struct trapframe *)0)->tf_a) ==
198 CTASSERT(sizeof(((struct trapframe *)0)->tf_a) ==
212 memcpy(mcp->mc_gpregs.gp_a, tf->tf_a, sizeof(mcp->mc_gpregs.gp_a)); in get_mcontext()
252 memcpy(tf->tf_a, mcp->mc_gpregs.gp_a, sizeof(tf->tf_a)); in set_mcontext()
394 tf->tf_a[0] = sig; in sendsig()
395 tf->tf_a[1] = (register_t)&fp->sf_si; in sendsig()
396 tf->tf_a[2] = (register_t)&fp->sf_uc; in sendsig()
H A Dvm_machdep.c89 tf->tf_a[0] = 0; in cpu_fork()
90 tf->tf_a[1] = 0; in cpu_fork()
124 frame->tf_a[0] = td->td_retval[0]; in cpu_thread_swapout()
125 frame->tf_a[1] = td->td_retval[1];
137 frame->tf_a[0] = error; in cpu_set_syscall_retval()
181 tf->tf_a[0] = (register_t)arg;
H A Dtrap.c105 ap = &td->td_frame->tf_a[0]; in cpu_fetch_syscall_args()
178 for (i = 0; i < nitems(frame->tf_a); i++) { in dump_regs()
180 print_with_symbol(name, frame->tf_a[i]); in dump_regs()
278 frame->tf_a[0] = error; in page_fault_handler()
H A Dgdb_machdep.c57 return (&kdb_frame->tf_a[regnum - GDB_REG_A0]); in gdb_cpu_getreg()
102 kdb_frame->tf_a[regnum - GDB_REG_A0] = regval; in gdb_cpu_setreg()
H A Dgenassym.c97 ASSYM(TF_A, offsetof(struct trapframe, tf_a));
/freebsd/sys/cddl/dev/fbt/riscv/
H A Dfbt_isa.c59 dtrace_probe(fbt->fbtp_id, frame->tf_a[0], in fbt_invop()
60 frame->tf_a[1], frame->tf_a[2], in fbt_invop()
61 frame->tf_a[3], frame->tf_a[4]); in fbt_invop()
64 frame->tf_a[0], frame->tf_a[1], 0, 0); in fbt_invop()
/freebsd/sys/riscv/include/
H A Dframe.h53 uint64_t tf_a[8]; member
/freebsd/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_isa.c337 return (frame->tf_a[reg - REG_A0]); in dtrace_getreg()