!227 feat: 支持native动态加载组件

Merge pull request !227 from Harylee/mem
This commit is contained in:
openharmony_ci
2021-08-11 03:14:24 +00:00
committed by Gitee
56 changed files with 3160 additions and 65 deletions

View File

@@ -62,6 +62,10 @@
#include "los_pm.h"
#endif
#if (LOSCFG_DYNLINK == 1)
#include "los_dynlink.h"
#endif
/*****************************************************************************
Function : LOS_Reboot
Description : system exception, die in here, wait for watchdog.
@@ -210,6 +214,13 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_KernelInit(VOID)
OsExcMsgDumpInit();
#endif
#if (LOSCFG_DYNLINK == 1)
ret = LOS_DynlinkInit();
if (ret != LOS_OK) {
return ret;
}
#endif
return LOS_OK;
}