madvise on nds32
give advice about use of memory
sys_madvise(unsigned long start, size_t len, int behavior)
| number | 233 (0xe9) |
|---|---|
| abi | common |
| kconfig | CONFIG_ADVISE_SYSCALLS |
| entry point | sys_madvise |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | madvise(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 233, the syscall number |
r0 | unsigned long start |
r1 | size_t len |
r2 | int behavior |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 28
- x86 219
- arm64 233
- arm 220
- riscv64 233
- ia32 219
- x32 1073741852
- loongarch64 233
- ppc64 205
- ppc 205
- s390x 219
- mips64 5027
- mipsn32 6027
- mipso32 4218
- alpha 75
- arc 233
- cris 219, removed in 4.17
- csky 233
- frv 219, removed in 4.17
- hexagon 233
- ia64 1209, removed in 6.7
- m32r 219, removed in 4.17
- m68k 238
- metag 233, removed in 4.17
- microblaze 219
- mn10300 219, removed in 4.17
- nios2 233
- openrisc 233
- parisc 119
- score 233, removed in 4.17
- sh 219
- sparc 75
- sparc64 75
- tilegx 233, removed in 4.17
- tilepro 233, removed in 4.17
- xtensa 91
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/madvise?kernel=all