kernel: add sys init level for SMP
This adds a sys init level which allows device and sys_init to be done after SMP initialization, z_smp_init(), when all cores are up and running. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
5539c3ed90
commit
4e1637b54e
5 changed files with 15 additions and 0 deletions
|
@ -68,6 +68,7 @@
|
|||
DEVICE_INIT_LEVEL(PRE_KERNEL_2) \
|
||||
DEVICE_INIT_LEVEL(POST_KERNEL) \
|
||||
DEVICE_INIT_LEVEL(APPLICATION) \
|
||||
DEVICE_INIT_LEVEL(SMP) \
|
||||
__device_init_end = .; \
|
||||
DEVICE_BUSY_BITFIELD() \
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue