epoll_create1 on metag
open an epoll file descriptor
sys_epoll_create1(int flags)
| number | 20 (0x14) |
|---|---|
| abi | common |
| kconfig | CONFIG_EPOLL |
| family | epoll see the whole family on metag |
| entry point | sys_epoll_create1 |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | epoll_create1(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 20, the syscall number |
D1Ar1 | int flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 291
- x86 329
- arm64 20
- arm 357
- riscv64 20
- ia32 329
- x32 1073742115
- loongarch64 20
- ppc64 315
- ppc 315
- s390x 327
- mips64 5285
- mipsn32 6289
- mipso32 4326
- alpha 486
- arc 20
- blackfin 362, removed in 4.17
- cris 329, removed in 4.17
- csky 20
- frv 329, removed in 4.17
- hexagon 20
- ia64 1315, removed in 6.7
- m68k 325
- microblaze 341
- mn10300 330, removed in 4.17
- nds32 20, removed in 5.18
- nios2 20
- openrisc 20
- parisc 311
- score 20, removed in 4.17
- sh 329
- sparc 319
- sparc64 319
- tilegx 20, removed in 4.17
- tilepro 20, removed in 4.17
- xtensa 275
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/epoll_create1?kernel=all