zephyr/include/toolchain
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
..
common.h arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
gcc.h arch: make __ramfunc support transparent 2019-02-22 11:36:50 -08:00
xcc.h toolchain: xcc: Builtin overflow functions return boolean 2018-11-30 08:05:11 -08:00