syscall.sh / microblaze / semop
semop
System V semaphore operations
sys_semop(int semid, struct sembuf *sops, unsigned nsops)
| number | 330 (0x14a) |
|---|---|
| abi | common |
| entry point | sys_semop |
| since | Linux 5.0 |
| man page | semop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 330, the syscall number |
r5 | int semid |
r6 | struct sembuf *sops |
r7 | unsigned nsops |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
- x64 65
- arm64 193
- arm 298
- riscv64 193
- x32 1073741889
- loongarch64 193
- mips64 5063
- mipsn32 6063
- alpha 206
- arc 193
- csky 193
- hexagon 193
- nios2 193
- openrisc 193
- parisc 185
- xtensa 163
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/semop