epoll_create1 on riscv64

open an epoll file descriptor

sys_epoll_create1(int flags)
number20 (0x14)
abicommon
kconfigCONFIG_EPOLL
familyepoll see the whole family on riscv64
entry pointsys_epoll_create1
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pageepoll_create1(2)
sourceelixir.bootlin.com

Registers

registervalue
a720, the syscall number
a0int flags
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/epoll_create1