syscall.sh / m68k / membarrier
membarrier
issue memory barriers on a set of threads
sys_membarrier(int cmd, unsigned int flags, int cpu_id)
| number | 374 (0x176) |
|---|---|
| abi | common |
| entry point | sys_membarrier |
| since | Linux 5.0 |
| man page | membarrier(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 374, the syscall number |
d1 | int cmd |
d2 | unsigned int flags |
d3 | int cpu_id |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 324
- x86 375
- arm64 283
- arm 389
- riscv64 283
- x32 1073742148
- loongarch64 283
- ppc64 365
- ppc 365
- s390x 356
- mips64 5318
- mipsn32 6322
- mipso32 4358
- alpha 517
- arc 283
- csky 283
- hexagon 283
- microblaze 390
- nios2 283
- openrisc 283
- parisc 343
- sh 378
- sparc 351
- sparc64 351
- xtensa 343
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/membarrier