syscall.sh / microblaze / poll

poll

wait for some event on a file descriptor

sys_poll(struct pollfd *ufds, unsigned int nfds, int timeout_msecs)
number168 (0xa8)
abicommon
entry pointsys_poll
sinceLinux 5.0
man pagepoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r12168, the syscall number
r5struct pollfd *ufds
r6unsigned int nfds
r7int timeout_msecs
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/poll