Functions in Zephyr Initialization

List to check for any initialization issues; set breakpoints directly if there are problems.

z_prep_c

dev_state_zero

arch_data_copy

cache_init

mpu_init

c_start

z_sys_init_run_level

arch_kernel_init

z_dummy_thread_init

do_device_init

int_init

16650_init

uart_console

device_is_ready

clock_driver_init

switch_to_main_thread

prepare_multithreading

z_sched_init

init_ready_q/sys_dlist_init

z_setup_new_thread(Initialize main thread)

z_mark_thread_as_not_sleeping

z_ready_thread(main)

Check thread attributes, reset timer, cache, add timeout, add to list

z_init_cpu(0)

init_idle_thread

setup_new_thread(idle)

mark_not_sleeping

switch_to_main_thread

z_swap_unlocked: Check various thread attributes, set timer, irq,

reset_time_slice

arch_switch:arch/cpu/core/switch.S

cooperative switch

zthread_entry_wrapper

z_thread_entry

entry/bg_thread_main

boot_banner

init

(void)main

Leave a Comment