munmap on metag
map or unmap files or devices into memory
sys_munmap(unsigned long addr, size_t len)
| number | 215 (0xd7) |
|---|---|
| abi | common |
| entry point | sys_munmap |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | munmap(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 215, the syscall number |
D1Ar1 | unsigned long addr |
D0Ar2 | size_t len |
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 11
- x86 91
- arm64 215
- arm 91
- riscv64 215
- ia32 91
- x32 1073741835
- loongarch64 215
- ppc64 91
- ppc 91
- s390x 91
- mips64 5011
- mipsn32 6011
- mipso32 4091
- alpha 73
- arc 215
- blackfin 91, removed in 4.17
- cris 91, removed in 4.17
- csky 215
- frv 91, removed in 4.17
- hexagon 215
- ia64 1152, removed in 6.7
- m32r 91, removed in 4.17
- m68k 91
- microblaze 91
- mn10300 91, removed in 4.17
- nds32 215, removed in 5.18
- nios2 215
- openrisc 215
- parisc 91
- score 215, removed in 4.17
- sh 91
- sparc 73
- sparc64 73
- tilegx 215, removed in 4.17
- tilepro 215, removed in 4.17
- xtensa 81
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/munmap?kernel=all