syscall.sh / riscv64 / restart_syscall

restart_syscall

restart a system call after interruption by a stop signal

sys_restart_syscall(void)
number128 (0x80)
abicommon
entry pointsys_restart_syscall
sinceLinux 4.15
man pagerestart_syscall(2)
sourceelixir.bootlin.com

Registers

registervalue
a7128, the syscall number
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/restart_syscall