zephyr/kernel
Andrew Boie a7fedb7073 _setup_new_thread: fix crash on ARM
On arches which have custom logic to do the initial swap into
the main thread, _current may be NULL. This happens when
instantiating the idle and main threads.

If this is the case, skip checks for memory domain and object
permission inheritance, in this case there is never anything to
inherit.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-11-13 16:25:40 -08:00
..
include kernel: arch interface for memory domain 2017-11-07 12:22:43 -08:00
alert.c
atomic_c.c
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c kernel: init: mem_domain structure is initialized for dummy thread. 2017-11-07 12:22:43 -08:00
int_latency_bench.c
Kconfig
Kconfig.event_logger
Kconfig.power_mgmt
mailbox.c
mem_domain.c kernel: Arch specific memory domain APIs added 2017-11-07 12:22:43 -08:00
mem_slab.c
mempool.c mempool: add k_calloc() 2017-11-13 09:50:15 -08:00
msg_q.c
mutex.c
pipes.c
poll.c
pthread.c
queue.c
sched.c
sem.c
stack.c
sys_clock.c
system_work_q.c
thread_abort.c
thread.c _setup_new_thread: fix crash on ARM 2017-11-13 16:25:40 -08:00
timer.c
userspace_handler.c userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
userspace.c userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
version.c
work_q.c