syscall.sh / m68k / membarrier

membarrier

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number374 (0x176)
abicommon
entry pointsys_membarrier
sinceLinux 5.0
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
d0374, the syscall number
d1int cmd
d2unsigned int flags
d3int cpu_id
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/membarrier