syscall.sh / arc / eventfd2
eventfd2
create a file descriptor for event notification
sys_eventfd2(unsigned int count, int flags)
| number | 19 (0x13) |
|---|---|
| abi | common |
| entry point | sys_eventfd2 |
| since | Linux 3.9 |
| man page | eventfd2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 19, the syscall number |
r0 | unsigned int count |
r1 | int flags |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x64 290
- x86 328
- arm64 19
- arm 356
- riscv64 19
- x32 1073742114
- loongarch64 19
- ppc64 314
- ppc 314
- s390x 323
- mips64 5284
- mipsn32 6288
- mipso32 4325
- alpha 485
- csky 19
- hexagon 19
- m68k 324
- microblaze 340
- nios2 19
- openrisc 19
- parisc 310
- sh 328
- sparc 318
- sparc64 318
- xtensa 316
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/eventfd2