syscall.sh / mipso32 / madvise
madvise
give advice about use of memory
sys_madvise(unsigned long start, size_t len, int behavior)
| number | 4218 (0x107a) |
|---|---|
| abi | o32 |
| entry point | sys_madvise |
| since | Linux 5.0 |
| man page | madvise(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4218, the syscall number |
a0 | unsigned long start |
a1 | size_t len |
a2 | int behavior |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 28
- x86 219
- arm64 233
- arm 220
- riscv64 233
- x32 1073741852
- loongarch64 233
- ppc64 205
- ppc 205
- s390x 219
- mips64 5027
- mipsn32 6027
- alpha 75
- arc 233
- csky 233
- hexagon 233
- m68k 238
- microblaze 219
- nios2 233
- openrisc 233
- parisc 119
- sh 219
- sparc 75
- sparc64 75
- xtensa 91
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/madvise