kernel: init: print boot banner before static threads
The boot banner is being printed after static threads have started, for example this is visible with tests using ztest. This puts the banner message before starting any threads. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9075e1e368
commit
83088a235c
1 changed files with 2 additions and 2 deletions
|
@ -205,14 +205,14 @@ static void _main(void *unused1, void *unused2, void *unused3)
|
|||
__do_init_array_aux();
|
||||
#endif
|
||||
|
||||
_init_static_threads();
|
||||
|
||||
if (boot_delay > 0) {
|
||||
printk("***** delaying boot " STRINGIFY(CONFIG_BOOT_DELAY)
|
||||
"ms (per build configuration) *****\n");
|
||||
k_sleep(CONFIG_BOOT_DELAY);
|
||||
}
|
||||
PRINT_BOOT_BANNER();
|
||||
_init_static_threads();
|
||||
|
||||
|
||||
#ifdef CONFIG_BOOT_TIME_MEASUREMENT
|
||||
/* record timestamp for kernel's _main() function */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue