zephyr/include/arch
Aurelien Jarno 992f29a1bc arch: make __ramfunc support transparent
Instead of having to enable ramfunc support manually, just make it
transparently available to users, keeping the MPU region disabled if not
used to not waste a MPU region. This however wastes 24 bytes of code
area when the MPU is disabled and 48 bytes when it is enabled, and
probably a dozen of CPU cycles during boot. I believe it is something
acceptable.

Note that when XIP is used, code is already in RAM, so the __ramfunc
keyword does nothing, but does not generate an error.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2019-02-22 11:36:50 -08:00
..
arc include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
arm arch: make __ramfunc support transparent 2019-02-22 11:36:50 -08:00
nios2 kernel: init: Add nop instruction in main 2018-12-14 13:17:36 +01:00
posix include/arch: Steal native_posix bit manipulation routines 2019-01-11 15:18:52 -05:00
riscv32 linker: riscv32: Fix .riscv.attributes orphan sections warning 2019-02-15 12:37:21 -05:00
x86 ld: Change the name of input section irq_vectors_alloc_data 2019-02-19 10:00:14 -08:00
x86_64 arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
xtensa kernel: init: Add nop instruction in main 2018-12-14 13:17:36 +01:00
bits_portable.h include/arch: Steal native_posix bit manipulation routines 2019-01-11 15:18:52 -05:00
cpu.h arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
syscall.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00