syscall.sh / parisc / madvise
madvise
give advice about use of memory
parisc_madvise(unsigned long start, size_t len, int behavior)
| number | 119 (0x77) |
|---|---|
| abi | common |
| entry point | parisc_madvise |
| since | Linux 5.0 |
| man page | madvise(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 119, the syscall number |
r26 | unsigned long start |
r25 | size_t len |
r24 | int behavior |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) 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
- m68k 238
- microblaze 219
- nios2 233
- openrisc 233
- sh 219
- sparc 75
- sparc64 75
- xtensa 91
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/madvise