Move the initialization of the networking subsystem to AFTER up_initialize is called. Fromo Macs Neklyudov.
This commit is contained in:
parent
9e80f7d8d2
commit
0fcd620404
@ -465,12 +465,6 @@ void os_start(void)
|
|||||||
fs_initialize();
|
fs_initialize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NET
|
|
||||||
/* Initialize the network system */
|
|
||||||
|
|
||||||
net_initialize();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The processor specific details of running the operating system
|
/* The processor specific details of running the operating system
|
||||||
* will be handled here. Such things as setting up interrupt
|
* will be handled here. Such things as setting up interrupt
|
||||||
* service routines and starting the clock are some of the things
|
* service routines and starting the clock are some of the things
|
||||||
@ -479,6 +473,12 @@ void os_start(void)
|
|||||||
|
|
||||||
up_initialize();
|
up_initialize();
|
||||||
|
|
||||||
|
#ifdef CONFIG_NET
|
||||||
|
/* Initialize the network system */
|
||||||
|
|
||||||
|
net_initialize();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MM_SHM
|
#ifdef CONFIG_MM_SHM
|
||||||
/* Initialize shared memory support */
|
/* Initialize shared memory support */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user