syscall.sh / sparc64 / mincore
mincore
determine whether pages are resident in memory
sys_mincore(unsigned long start, size_t len, unsigned char *vec)
| number | 78 (0x4e) |
|---|---|
| abi | common |
| entry point | sys_mincore |
| since | Linux 5.0 |
| man page | mincore(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 78, the syscall number |
o0 | unsigned long start |
o1 | size_t len |
o2 | unsigned char *vec |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 27
- x86 218
- arm64 232
- arm 219
- riscv64 232
- x32 1073741851
- loongarch64 232
- ppc64 206
- ppc 206
- s390x 218
- mips64 5026
- mipsn32 6026
- mipso32 4217
- alpha 375
- arc 232
- csky 232
- hexagon 232
- m68k 237
- microblaze 218
- nios2 232
- openrisc 232
- parisc 72
- sh 218
- sparc 78
- xtensa 90
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mincore