LOS_INIT_LEVEL_EARLIEST
|
Earliest initialization.
The initialization is architecture-independent. The board and subsequent modules initialize the pure software modules on which they depend.
Example: trace module
|
LOS_INIT_LEVEL_ARCH_EARLY
|
Early initialization of the architecture.
The initialization is architecture-dependent. Subsequent modules initialize the modules on which they depend. It is recommended that functions not required for startup be placed at LOS_INIT_LEVEL_ARCH.
|
LOS_INIT_LEVEL_PLATFORM_EARLY
|
Early initialization of the platform.
The initialization depends on the board platform and drivers. Subsequent modules initialize the modules on which they depend. It is recommended that functions required for startup be placed at LOS_INIT_LEVEL_PLATFORM.
|
LOS_INIT_LEVEL_KMOD_PREVM
|
Kernel module initialization before memory initialization.
Initialize the modules that need to be enabled before memory initialization.
|
LOS_INIT_LEVEL_VM_COMPLETE
|
Initialization after the basic memory is ready.
After memory initialization, initialize the modules that need to be enabled and do not depend on inter-process communication (IPC) and system processes.
Example: shared memory function
|
LOS_INIT_LEVEL_ARCH
|
Late initialization of the architecture.
The initialization is related to the architecture extension functions. Subsequent modules initialize the modules on which they depend.
|
LOS_INIT_LEVEL_PLATFORM
|
Late initialization of the platform.
The initialization depends on the board platform and drivers. Subsequent modules initialize the modules on which they depend.
Example: initialization of the driver kernel abstraction layer (MMC and MTD)
|
LOS_INIT_LEVEL_KMOD_BASIC
|
Initialization of the kernel basic modules.
Initialize the basic modules that can be detached from the kernel.
Example: VFS initialization
|
LOS_INIT_LEVEL_KMOD_EXTENDED
|
Initialization of the kernel extended modules.
Initialize the extended modules that can be detached from the kernel.
Example: initialization of system call, ProcFS, Futex, HiLog, HiEvent, and LiteIPC
|
LOS_INIT_LEVEL_KMOD_TASK
|
Kernel task creation
Create kernel tasks (kernel tasks and software timer tasks).
Example: creation of the resident resource reclaiming task, SystemInit task, and CPU usage statistics task.
|