syscall.sh / sparc / membarrier

membarrier

issue memory barriers on a set of threads

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

Registers

registervalue
g1351, the syscall number
o0int cmd
o1unsigned int flags
o2int cpu_id
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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