mincore on metag
determine whether pages are resident in memory
sys_mincore(unsigned long start, size_t len, unsigned char *vec)
| number | 232 (0xe8) |
|---|---|
| abi | common |
| entry point | sys_mincore |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | mincore(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 232, the syscall number |
D1Ar1 | unsigned long start |
D0Ar2 | size_t len |
D1Ar3 | unsigned char *vec |
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 27
- x86 218
- arm64 232
- arm 219
- riscv64 232
- ia32 218
- x32 1073741851
- loongarch64 232
- ppc64 206
- ppc 206
- s390x 218
- mips64 5026
- mipsn32 6026
- mipso32 4217
- alpha 375
- arc 232
- cris 218, removed in 4.17
- csky 232
- frv 218, removed in 4.17
- hexagon 232
- ia64 1208, removed in 6.7
- m32r 218, removed in 4.17
- m68k 237
- microblaze 218
- mn10300 218, removed in 4.17
- nds32 232, removed in 5.18
- nios2 232
- openrisc 232
- parisc 72
- score 232, removed in 4.17
- sh 218
- sparc 78
- sparc64 78
- tilegx 232, removed in 4.17
- tilepro 232, removed in 4.17
- xtensa 90
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/mincore?kernel=all