syscall.sh / arc / 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 3.9
man pageio_setup(2)
sourceelixir.bootlin.com

Registers

registervalue
r80, the syscall number
r0unsigned nr_events
r1aio_context_t *ctxp
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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