zephyr/include/arch
Adithya Baglody 91c5b84cd5 kernel: init.c: Added required hooks for the relocation
This patch splits the text section into 2 parts. The first section
will have some info regarding vector tables and debug info. The
second section will have the complete text section.
This is needed to force the required functions and data variables
the correct locations.
This is due to the behavior of the linker. The linker will only link
once and hence this text section had to be split to make room
for the generated linker script.

Added a new Kconfig CODE_DATA_RELOCATION which when enabled will
invoke the script, which does the required relocation.

Added hooks inside init.c for bss zeroing and data copy operations.
Needed when we have to copy data from ROM to required memory type.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2018-12-07 10:32:41 -05:00
..
arc kernel: expose k_mem_partition_attr_t outside User mode 2018-12-05 15:15:07 -05:00
arm kernel: init.c: Added required hooks for the relocation 2018-12-07 10:32:41 -05:00
nios2 interrupts: simplify position of sw ISR table 2018-11-10 11:01:22 -05:00
posix Revert "linker: warn about orphan sections" 2018-10-14 12:14:04 -04:00
riscv32 arch: riscv32: provide a general mechanism for saving SoC context 2018-12-04 22:54:23 -05:00
x86 syscall: Return bool in a boolean function 2018-11-30 08:05:11 -08:00
xtensa arch: xtensa: Add I/O functions to read/write. 2018-11-13 18:49:03 -05:00
cpu.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
syscall.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00