FatPkg/EnhancedFatDxe: Use typedef for complex type

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
Dandan Bi
2016-12-08 14:38:26 +08:00
committed by Ruiyu Ni
parent c1680e885d
commit 6b7e4498e8
2 changed files with 27 additions and 19 deletions

View File

@@ -146,12 +146,14 @@ typedef struct {
CHAR8 SystemId[8];
} FAT32_BOOT_SECTOR_EXT;
typedef struct {
FAT_BOOT_SECTOR_BASIC FatBsb;
union {
typedef union {
FAT_BOOT_SECTOR_EXT FatBse;
FAT32_BOOT_SECTOR_EXT Fat32Bse;
} FatBse;
} FAT_BSE;
typedef struct {
FAT_BOOT_SECTOR_BASIC FatBsb;
FAT_BSE FatBse;
} FAT_BOOT_SECTOR;
//