syscall.sh / sparc64 / eventfd2
eventfd2
create a file descriptor for event notification
sys_eventfd2(unsigned int count, int flags)
| number | 318 (0x13e) |
|---|---|
| abi | common |
| entry point | sys_eventfd2 |
| since | Linux 5.0 |
| man page | eventfd2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 318, the syscall number |
o0 | unsigned int count |
o1 | int flags |
o0 | the return value |
Then run t 0x6d 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
- arc 19
- csky 19
- hexagon 19
- m68k 324
- microblaze 340
- nios2 19
- openrisc 19
- parisc 310
- sh 328
- sparc 318
- xtensa 316
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/eventfd2