syscall.sh / riscv64 / timer_create

timer_create

create a POSIX per-process timer

sys_timer_create(clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id)
number107 (0x6b)
abicommon
entry pointsys_timer_create
sinceLinux 4.15
man pagetimer_create(2)
sourceelixir.bootlin.com

Registers

registervalue
a7107, the syscall number
a0clockid_t which_clock
a1struct sigevent *timer_event_spec
a2timer_t *created_timer_id
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/timer_create