syscall.sh / openrisc / semop

semop

System V semaphore operations

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

Registers

registervalue
r11193, the syscall number
r3int semid
r4struct sembuf *sops
r5unsigned nsops
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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