mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
sched/init: Move binfmt_initialize before hardware initialization
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
2ce62bb583
commit
ab872b0199
@@ -668,6 +668,12 @@ void nx_start(void)
|
||||
net_initialize();
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BINFMT_DISABLE
|
||||
/* Initialize the binfmt system */
|
||||
|
||||
binfmt_initialize();
|
||||
#endif
|
||||
|
||||
/* Initialize Hardware Facilities *****************************************/
|
||||
|
||||
/* The processor specific details of running the operating system
|
||||
@@ -693,12 +699,6 @@ void nx_start(void)
|
||||
|
||||
/* Setup for Multi-Tasking ************************************************/
|
||||
|
||||
#ifndef CONFIG_BINFMT_DISABLE
|
||||
/* Initialize the binfmt system */
|
||||
|
||||
binfmt_initialize();
|
||||
#endif
|
||||
|
||||
/* Announce that the CPU0 IDLE task has started */
|
||||
|
||||
sched_note_start(&g_idletcb[0].cmn);
|
||||
|
||||
Reference in New Issue
Block a user