syscall.sh / microblaze / semop

semop

System V semaphore operations

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

Registers

registervalue
r12330, the syscall number
r5int semid
r6struct sembuf *sops
r7unsigned nsops
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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