syscall.sh / csky / io_setup
io_setup
create an asynchronous I/O context
sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
| number | 0 (0x0) |
|---|---|
| abi | common |
| entry point | sys_io_setup |
| since | Linux 4.20 |
| man page | io_setup(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 0, the syscall number |
a0 | unsigned nr_events |
a1 | aio_context_t *ctxp |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 206
- x86 245
- arm64 0
- arm 243
- riscv64 0
- x32 1073742030, 1073742367
- loongarch64 0
- ppc64 227
- ppc 227
- s390x 243
- mips64 5200
- mipsn32 6200
- mipso32 4241
- alpha 398
- arc 0
- hexagon 0
- m68k 241
- microblaze 245
- nios2 0
- openrisc 0
- parisc 215
- sh 245
- sparc 268
- sparc64 268
- xtensa 239
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/io_setup