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

sparc:prctl

T2 sparc syscall syscall
Linux SPARC V9 64-bit Syscall #147: prctl
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 prctl on SPARC V9 64-bit (number #147 / 0x93). 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 147, %g1; t 0x6d  // sys_prctl(%o0..%o5)