syscall.sh / microblaze / eventfd2

eventfd2

create a file descriptor for event notification

sys_eventfd2(unsigned int count, int flags)
number340 (0x154)
abicommon
entry pointsys_eventfd2
sinceLinux 5.0
man pageeventfd2(2)
sourceelixir.bootlin.com

Registers

registervalue
r12340, the syscall number
r5unsigned int count
r6int 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/eventfd2