syscall.sh / csky / io_setup

io_setup

create an asynchronous I/O context

sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
number0 (0x0)
abicommon
entry pointsys_io_setup
sinceLinux 4.20
man pageio_setup(2)
sourceelixir.bootlin.com

Registers

registervalue
r70, the syscall number
a0unsigned nr_events
a1aio_context_t *ctxp
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/io_setup