zephyr/kernel
Ioannis Glaropoulos 60bd51aa37 kernel: init: allow custom switch to main for no-multithreading case
Certain architectures, such as ARM Cortex-M require a custom
switch to main(), in case the case we build Zephyr without
support for multithreading (CONFIG_MULTITHREADING=n). So as
to keep the change to kernel/init.c as unintrusive as
possible, we install an ARCH-specific hook in z_cstart(),
which gets called for architectures that require this
customized switch to main() function.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2020-08-07 13:06:04 +02:00
..
include kernel: z_interrupt_stacks are now kernel stacks 2020-07-30 21:11:14 -04:00
atomic_c.c
cache_handlers.c syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
compiler_stack_protect.c
device.c
errno.c
fatal.c
futex.c
idle.c
init.c kernel: init: allow custom switch to main for no-multithreading case 2020-08-07 13:06:04 +02:00
Kconfig kernel: overhaul stack specification 2020-07-30 21:11:14 -04:00
Kconfig.power_mgmt
kheap.c
mailbox.c
mem_domain.c
mem_slab.c
mempool_sys.c
mempool.c
mmu.c
msg_q.c
mutex.c
pipes.c
poll.c
queue.c
sched.c
sem.c
smp.c
stack.c
system_work_q.c kernel: sys_workq thread stack is kernel-only 2020-07-30 21:11:14 -04:00
thread_abort.c
thread.c kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
timeout.c
timer.c
userspace_handler.c
userspace.c kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
version.c
work_q.c kernel: Add k_delayed_work_pending to check if work has been submitted 2020-08-04 17:32:56 +02:00