189#ifdef LOS_INIT_STATISTICS
190 UINT64 startNsec, endNsec, durationUsec;
214 PRINT_RELEASE(
"\nmain core booting up...\n");
216#ifdef LOS_INIT_STATISTICS
265#ifdef LOSCFG_KERNEL_SMP
271#ifdef LOS_INIT_STATISTICS
273 durationUsec = (endNsec - startNsec) / OS_SYS_NS_PER_US;
274 PRINTK(
"The main core takes %lluus to start.\n", durationUsec);
LITE_OS_SEC_TEXT_MINOR UINT64 LOS_CurrNanosec(VOID)
获取自系统启动以来的纳秒数
LITE_OS_SEC_TEXT_INIT VOID OsSystemInfo(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 ArchInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 PlatformEarlyInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 OsIpcInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 KModInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 PlatformInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 ArchEarlyInit(VOID)
LITE_OS_SEC_TEXT_INIT STATIC UINT32 EarliestInit(VOID)
VOID OsInitCall(const UINT32 level)
初始化调用日志打印,这个函数的功能主要是为了记录某个步骤的耗时.在一个函数前后各调用一次就知道函数的执行情况. 这为开机调试提供了很重要的日志依据.
LITE_OS_SEC_TEXT_INIT UINT32 OsSystemProcessCreate(VOID)
LITE_OS_SEC_TEXT_INIT UINT32 OsTaskInit(VOID)
UINT32 OsSysMemInit(VOID)
整个系统内存初始化