v811_spc009/external/strace/linux/riscv/get_scno.c

8 lines
140 B

/* Return codes: 1 - ok, 0 - ignore, other - error. */
static int
arch_get_scno(struct tcb *tcp)
{
tcp->scno = riscv_regs.a7;
return 1;
}