membarrier on metag
issue memory barriers on a set of threads
sys_membarrier(int cmd, int flags)
| number | 283 (0x11b) |
|---|---|
| abi | common |
| entry point | sys_membarrier |
| since | Linux 4.3 |
| man page | membarrier(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 283, the syscall number |
D1Ar1 | int cmd |
D0Ar2 | 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 324
- x86 375
- arm64 283
- arm 389
- riscv64 283
- ia32 375
- x32 1073742148
- loongarch64 283
- ppc64 365
- ppc 365
- s390x 356
- mips64 5318
- mipsn32 6322
- mipso32 4358
- alpha 517
- arc 283
- csky 283
- hexagon 283
- ia64 1344, removed in 6.7
- m68k 374
- microblaze 390
- nds32 283, removed in 5.18
- nios2 283
- openrisc 283
- parisc 343
- score 283, removed in 4.17
- sh 378
- sparc 351
- sparc64 351
- tilegx 283, removed in 4.17
- tilepro 283, removed in 4.17
- xtensa 343
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/membarrier?kernel=all