diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-02 21:04:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-02 21:04:29 +0200 |
| commit | 7d92c75a1f1e29b9161c65ce11d95dfafb422fd4 (patch) | |
| tree | 6fe2009791c3f159c900d634afa6e83380384655 /lib | |
| parent | b6c4947a2c87a1adc1d76c39aebe9a6e5adb27f8 (diff) | |
embdfs.hpp: got the superblock right.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/astdx/embdfs.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/astdx/embdfs.hpp b/lib/astdx/embdfs.hpp index b2c4b12..6b018cf 100644 --- a/lib/astdx/embdfs.hpp +++ b/lib/astdx/embdfs.hpp @@ -22,7 +22,8 @@ namespace astdx::freestanding struct embdfs_superblock; struct embdfs_inode; - inline constexpr const size_t _superblock_name_len = 16; + inline constexpr const size_t _superblock_name_len = 16; + inline constexpr const size_t _superblock_reserve_len = 462; #ifdef EMBDFS_28BIT_LBA typedef std::uint32_t lba_t; @@ -42,10 +43,12 @@ namespace astdx::freestanding sdword_t s_num_inodes; sdword_t s_part_size; sdword_t s_part_used; + sdword_t s_version; sword_t s_sector_sz; lba_t s_inode_start; lba_t s_inode_end; utf8_char_t s_name[_superblock_name_len]; + utf8_char_t s_reserved[_superblock_reserve_len]; }; } // namespace details |
