syscall.sh / microblaze / preadv2

preadv2

read or write data into multiple buffers

sys_preadv2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
number393 (0x189)
abicommon
entry pointsys_preadv2
sinceLinux 5.0
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
r12393, the syscall number
r5unsigned long fd
r6const struct iovec *vec
r7unsigned long vlen
r8unsigned long pos_l
r9unsigned long pos_h
r10rwf_t flags
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/preadv2