syscall.sh / ppc / eventfd
eventfd
create a file descriptor for event notification
sys_eventfd(unsigned int count)
| number | 307 (0x133) |
|---|---|
| abi | common |
| entry point | sys_eventfd |
| since | Linux 5.0 |
| man page | eventfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 307, the syscall number |
r3 | unsigned int count |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 284
- x86 323
- arm 351
- x32 1073742108
- ppc64 307
- s390x 318
- mips64 5278
- mipsn32 6282
- mipso32 4319
- alpha 478
- m68k 319
- microblaze 323
- parisc 304
- sh 323
- sparc 313
- sparc64 313
- xtensa 306
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/eventfd