brk on nds32
change data segment size
sys_brk(unsigned long brk)
| number | 214 (0xd6) |
|---|---|
| abi | common |
| entry point | sys_brk |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | brk(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 214, the syscall number |
r0 | unsigned long brk |
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 12
- x86 45
- arm64 214
- arm 45
- riscv64 214
- ia32 45
- x32 1073741836
- loongarch64 214
- ppc64 45
- ppc 45
- s390x 45
- mips64 5012
- mipsn32 6012
- mipso32 4045
- alpha 17
- arc 214
- blackfin 45, removed in 4.17
- cris 45, removed in 4.17
- csky 214
- frv 45, removed in 4.17
- hexagon 214
- ia64 1060, removed in 6.7
- m32r 45, removed in 4.17
- m68k 45
- metag 214, removed in 4.17
- microblaze 45
- mn10300 45, removed in 4.17
- nios2 214
- openrisc 214
- parisc 45
- score 214, removed in 4.17
- sh 45
- sparc 17
- sparc64 17
- tilegx 214, removed in 4.17
- tilepro 214, removed in 4.17
- xtensa 83
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/brk?kernel=all