pselect6 on loongarch64

synchronous I/O multiplexing

sys_pselect6(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_timespec *tsp, void *sig)
number72 (0x48)
abi64
entry pointsys_pselect6
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagepselect6(2)
sourceelixir.bootlin.com

Registers

registervalue
a772, the syscall number
a0int n
a1fd_set *inp
a2fd_set *outp
a3fd_set *exp
a4struct __kernel_timespec *tsp
a5void *sig
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/pselect6