uname on metag
get name and information about current kernel
sys_newuname(struct new_utsname *name)
| number | 160 (0xa0) |
|---|---|
| abi | common |
| entry point | sys_newuname |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | uname(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 160, the syscall number |
D1Ar1 | struct new_utsname *name |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 63
- x86 122
- arm64 160
- arm 122
- riscv64 160
- ia32 122
- x32 1073741887
- loongarch64 160
- ppc64 122
- ppc 122
- s390x 122
- mips64 5061
- mipsn32 6061
- mipso32 4122
- alpha 339
- arc 160
- blackfin 122, removed in 4.17
- cris 122, removed in 4.17
- csky 160
- frv 122, removed in 4.17
- hexagon 160
- ia64 1130, removed in 6.7
- m32r 122, removed in 4.17
- m68k 122
- microblaze 122
- mn10300 122, removed in 4.17
- nds32 160, removed in 5.18
- nios2 160
- openrisc 160
- parisc 59
- score 160, removed in 4.17
- sh 122
- sparc 189
- sparc64 189
- tilegx 160, removed in 4.17
- tilepro 160, removed in 4.17
- xtensa 208
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/uname?kernel=all