refactor: liteos-m vfs refactory
close #I4RV26 Change-Id: I76d5d5128d37efa5fbcde6d105c78f4d7be607de Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
||||
#include "stdarg.h"
|
||||
#include "vfs_operations.h"
|
||||
#include "los_arch.h"
|
||||
#include "los_config.h"
|
||||
#include "los_debug.h"
|
||||
@@ -215,6 +216,14 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_KernelInit(VOID)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (LOSCFG_FS_VFS == 1)
|
||||
ret = OsVfsInit();
|
||||
if (ret != LOS_OK) {
|
||||
PRINT_ERR("OsVfsInit error\n");
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
ret = OsIdleTaskCreate();
|
||||
if (ret != LOS_OK) {
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user