Kernel: Add a definition for the FAT32 FSInfo structure
This commit is contained in:
parent
8b77737f8e
commit
a69e113d49
Notes:
sideshowbarker
2024-07-17 18:49:10 +09:00
Author: https://github.com/implicitfield Commit: https://github.com/SerenityOS/serenity/commit/a69e113d49 Pull-request: https://github.com/SerenityOS/serenity/pull/22810 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 11 additions and 0 deletions
|
@ -73,4 +73,15 @@ struct [[gnu::packed]] DOS7BIOSParameterBlock {
|
|||
};
|
||||
static_assert(AssertSize<DOS7BIOSParameterBlock, 54>());
|
||||
|
||||
struct [[gnu::packed]] FAT32FSInfo {
|
||||
u32 lead_signature;
|
||||
u8 unused1[480];
|
||||
u32 struct_signature;
|
||||
u32 last_known_free_cluster_count;
|
||||
u32 next_free_cluster_hint;
|
||||
u8 unused2[12];
|
||||
u32 trailing_signature;
|
||||
};
|
||||
static_assert(AssertSize<FAT32FSInfo, 512>());
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue