readv on tilepro
read or write data into multiple buffers
sys_readv(unsigned long fd, const struct iovec *vec, unsigned long vlen)
| number | 65 (0x41) |
|---|---|
| abi | common |
| entry point | sys_readv |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | readv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 65, the syscall number |
r0 | unsigned long fd |
r1 | const struct iovec *vec |
r2 | unsigned long vlen |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 19
- x86 145
- arm64 65
- arm 145
- riscv64 65
- ia32 145
- x32 1073742339
- loongarch64 65
- ppc64 145
- ppc 145
- s390x 145
- mips64 5018
- mipsn32 6018
- mipso32 4145
- alpha 120
- arc 65
- blackfin 145, removed in 4.17
- cris 145, removed in 4.17
- csky 65
- frv 145, removed in 4.17
- hexagon 65
- ia64 1146, removed in 6.7
- m32r 145, removed in 4.17
- m68k 145
- metag 65, removed in 4.17
- microblaze 145
- mn10300 145, removed in 4.17
- nds32 65, removed in 5.18
- nios2 65
- openrisc 65
- parisc 145
- score 65, removed in 4.17
- sh 145
- sparc 120
- sparc64 120
- tilegx 65, removed in 4.17
- xtensa 24
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/readv?kernel=all