zephyr/kernel
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
..
include kernel: syscall: Object validation checks boolean statement 2018-11-30 08:05:11 -08:00
alert.c kernel: alert: Declare tracing variables only when needed. 2018-10-31 08:44:47 -04:00
atomic_c.c
CMakeLists.txt kernel: New timeout implementation 2018-10-16 15:03:10 -04:00
compiler_stack_protect.c
device.c kernel: expose device_get_binding() to user mode 2018-11-13 19:06:05 -05:00
errno.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
idle.c kernel: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
init.c kernel: init.c: Added required hooks for the relocation 2018-12-07 10:32:41 -05:00
int_latency_bench.c kernel: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
Kconfig drivers/timer: Select tickless via driver kconfig flag 2018-11-13 17:10:07 -05:00
Kconfig.power_mgmt kernel: ensure System Power Managment enables Tickless Idle. 2018-11-21 23:16:35 -05:00
mailbox.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
mem_domain.c kernel: mem_domain: remove redundant clearing of mem_partition fields 2018-12-05 15:15:07 -05:00
mem_slab.c kernel: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
mempool.c sys_clock: Fix unsafe tick count usage 2018-10-16 15:03:10 -04:00
msg_q.c kernel: msg_q: k_msgq_peek() implementation 2018-11-19 17:53:22 -05:00
mutex.c kernel: mutex: delay setting lock_count = 0. 2018-12-05 11:00:10 +01:00
pipes.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
poll.c kernel: poll: Fix switch usage 2018-12-07 09:06:34 -05:00
queue.c kernel: queue: Fix MISRA-C violation 2018-12-07 09:06:34 -05:00
sched.c misra: Fixes for MISRA-C rule 8.3 2018-12-07 09:06:34 -05:00
sem.c kernel: sem: Fix few MISRA C violations. 2018-10-17 12:17:58 -04:00
smp.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
stack.c kernel: stack: Making if's body a compound statement 2018-11-04 11:37:24 -05:00
system_work_q.c kernel: system_work_q: Set dedicated "sysworkq" name. 2018-10-19 07:58:45 -04:00
thread_abort.c kernel: Using boolean expression on ASSERT macros 2018-09-28 06:28:41 +05:30
thread.c kernel: expose k_busy_wait() to user mode 2018-11-15 16:20:36 -05:00
timeout.c misra: Fixes for MISRA-C rule 8.3 2018-12-07 09:06:34 -05:00
timer.c misra: Fixes for MISRA-C rule 8.3 2018-12-07 09:06:34 -05:00
userspace_handler.c kernel: Calling Z_SYSCALL_VERIFY_MSG with boolean expressions 2018-09-28 06:28:41 +05:30
userspace.c misra: Fixes for MISRA-C rule 8.3 2018-12-07 09:06:34 -05:00
version.c
work_q.c kernel: add user mode work_q capability 2018-11-29 09:21:18 -08:00