msync on metag
synchronize a file with a memory map
sys_msync(unsigned long start, size_t len, int flags)
| number | 227 (0xe3) |
|---|---|
| abi | common |
| entry point | sys_msync |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | msync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 227, the syscall number |
D1Ar1 | unsigned long start |
D0Ar2 | size_t len |
D1Ar3 | int flags |
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 26
- x86 144
- arm64 227
- arm 144
- riscv64 227
- ia32 144
- x32 1073741850
- loongarch64 227
- ppc64 144
- ppc 144
- s390x 144
- mips64 5025
- mipsn32 6025
- mipso32 4144
- alpha 217
- arc 227
- cris 144, removed in 4.17
- csky 227
- frv 144, removed in 4.17
- hexagon 227
- ia64 1157, removed in 6.7
- m32r 144, removed in 4.17
- m68k 144
- microblaze 144
- mn10300 144, removed in 4.17
- nds32 227, removed in 5.18
- nios2 227
- openrisc 227
- parisc 144
- score 227, removed in 4.17
- sh 144
- sparc 65
- sparc64 65
- tilegx 227, removed in 4.17
- tilepro 227, removed in 4.17
- xtensa 89
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/msync?kernel=all