syscall.sh / m68k / madvise
madvise
give advice about use of memory
sys_madvise(unsigned long start, size_t len, int behavior)
| number | 238 (0xee) |
|---|---|
| abi | common |
| entry point | sys_madvise |
| since | Linux 5.0 |
| man page | madvise(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 238, the syscall number |
d1 | unsigned long start |
d2 | size_t len |
d3 | int behavior |
d0 | the return value |
Then run trap #0 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
- mipso32 4218
- alpha 75
- arc 233
- csky 233
- hexagon 233
- 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/m68k/madvise