refactor: liteos-m vfs refactory

close #I4RV26

Change-Id: I76d5d5128d37efa5fbcde6d105c78f4d7be607de
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
This commit is contained in:
Guangyao Ma
2021-10-09 10:07:59 +08:00
parent 867a6edcdc
commit 09034de68a
29 changed files with 3505 additions and 2602 deletions

View File

@@ -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;