1 /* 2 * Copyright (c) 2006-2023, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2020/10/7 bernard the first version 9 */ 10 #include <dfs_romfs.h> 11 12 static const struct romfs_dirent _romfs_root[] = { 13 {ROMFS_DIRENT_DIR, "bin", RT_NULL, 0}, 14 {ROMFS_DIRENT_DIR, "dev", RT_NULL, 0}, 15 {ROMFS_DIRENT_DIR, "etc", RT_NULL, 0}, 16 {ROMFS_DIRENT_DIR, "mnt", RT_NULL, 0}, 17 }; 18 19 const struct romfs_dirent romfs_root = { 20 ROMFS_DIRENT_DIR, "/", (rt_uint8_t *)_romfs_root, sizeof(_romfs_root) / sizeof(_romfs_root[0])}; 21