syscall.sh / nios2 / semop

semop

System V semaphore operations

sys_semop(int semid, struct sembuf *sops, unsigned nsops)
number193 (0xc1)
abicommon
entry pointsys_semop
sinceLinux 3.19
man pagesemop(2)
sourceelixir.bootlin.com

Registers

registervalue
r2193, the syscall number
r4int semid
r5struct sembuf *sops
r6unsigned nsops
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/semop