syscall.sh / parisc / semop
semop
System V semaphore operations
sys_semop(int semid, struct sembuf *sops, unsigned nsops)
| number | 185 (0xb9) |
|---|---|
| abi | common |
| entry point | sys_semop |
| since | Linux 5.0 |
| man page | semop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 185, the syscall number |
r26 | int semid |
r25 | struct sembuf *sops |
r24 | unsigned nsops |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) 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
- microblaze 330
- nios2 193
- openrisc 193
- xtensa 163
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/semop