zephyr/tests/kernel
Peter A. Bigot c326661ee6 kernel: init: provide access to kernel startup state
Device initialization may require use of generic services such as
starting up power rails, some of which may be controlled by GPIOs on
an external controller that can't be used until full kernel services
are available.  Generic services can check k_is_in_isr() and mediate
their behavior that way, but currently have no way to determine that
the kernel is not available.

Provide a function that indicates whether initialization is still in
pre-kernel stages where no kernel services are available.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-12-11 14:45:40 -08:00
..
common global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
context tests: fix test identifiers 2019-12-09 15:53:44 -05:00
critical tests: fix test identifiers 2019-12-09 15:53:44 -05:00
device kernel: init: provide access to kernel startup state 2019-12-11 14:45:40 -08:00
early_sleep tests: fix test identifiers 2019-12-09 15:53:44 -05:00
fatal headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
fifo tests: fifo: assert of NULL from k_fifo_get 2019-12-10 10:39:59 -05:00
fp_sharing tests: fix test identifiers 2019-12-09 15:53:44 -05:00
gen_isr_table kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
interrupt global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
lifo kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
mbox tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
mem_protect tests: semaphore: cleanup asserts 2019-11-15 08:04:52 -05:00
mem_slab global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
mp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
msgq/msgq_api coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mutex tests: fix test identifiers 2019-12-09 15:53:44 -05:00
obj_tracing tests: obj tracing: fix counting 2019-12-10 10:40:16 -05:00
pending global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
pipe global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
poll coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
profiling/profiling_api tests: fix test identifiers 2019-12-09 15:53:44 -05:00
queue global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
sched global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
semaphore/semaphore tests: semaphore: consolidate semaphore tests 2019-11-15 08:04:52 -05:00
sleep tests: fix test identifiers 2019-12-09 15:53:44 -05:00
smp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
spinlock kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
stack/stack tests: stack: consolidate tests 2019-11-15 08:04:52 -05:00
threads global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
tickless kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
timer tests/kernel: timer_api: Enable Test userspace 2019-12-09 16:40:07 +01:00
workq kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
xip x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00