ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

sparc:shmctl

T2 sparc syscall syscall
Linux SPARC V9 64-bit Syscall #396: shmctl
SourceLinux Multi-Architecture Syscall Tables (hrw/syscalls-table) (linux_syscalls_full)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeLinux 6.x
Linux ARM32, i386 (x86-32), PowerPC64, IBM s390x, MIPS, LoongArch64, SPARC64, m68k, Xtensa
License & VersionMIT
master
Upstreamhttps://github.com/hrw/syscalls-table
Privilegeuser->supervisor
ExtensionsSPARC V9 64-bit, SPARC32

Summary

Linux kernel syscall shmctl on SPARC V9 64-bit (number #396 / 0x18c). Invoked via t 0x6d with syscall number in %g1, arguments in %o0, %o1, %o2, %o3, %o4, %o5, return in %o0 (carry=err).

Syntax / Encoding

mov 396, %g1; t 0x6d  // sys_shmctl(%o0..%o5)