mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:02:45 +00:00 
			
		
		
		
	Kernel: Add a definition for the FAT32 FSInfo structure
This commit is contained in:
		
							parent
							
								
									8b77737f8e
								
							
						
					
					
						commit
						a69e113d49
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -73,4 +73,15 @@ struct [[gnu::packed]] DOS7BIOSParameterBlock { | ||||||
| }; | }; | ||||||
| static_assert(AssertSize<DOS7BIOSParameterBlock, 54>()); | 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
		Add a link
		
	
		Reference in a new issue
	
	 implicitfield
						implicitfield