Using __ramfunc to places a function in RAM instead of Flash. Code that for example reprograms flash at runtime can't execute from flash, in that case must placing code into RAM. This commit create a new section named '.ramfunc' in link scripts, all functions has __ramfunc keyword saved in thats sections and will load from flash to sram after the system booted. Fixes: #10253 Signed-off-by: qianfan Zhao <qianfanguijin@163.com> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| nios2 | ||
| posix | ||
| riscv32 | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| bits_portable.h | ||
| cpu.h | ||
| syscall.h | ||