Home
last modified time | relevance | path

Searched refs:FatBs (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DInit.c206 FAT_BOOT_SECTOR FatBs; in FatOpenDevice() local
223 Status = DiskIo->ReadDisk (DiskIo, Volume->MediaId, 0, sizeof (FatBs), &FatBs); in FatOpenDevice()
235 Sectors = FatBs.FatBsb.Sectors; in FatOpenDevice()
237 Sectors = FatBs.FatBsb.LargeSectors; in FatOpenDevice()
240 SectorsPerFat = FatBs.FatBsb.SectorsPerFat; in FatOpenDevice()
242 SectorsPerFat = FatBs.FatBse.Fat32Bse.LargeSectorsPerFat; in FatOpenDevice()
251 if (FatBs.FatBsb.ReservedSectors == 0 || FatBs.FatBsb.NumFats == 0 || Sectors == 0) { in FatOpenDevice()
255 if ((FatBs.FatBsb.SectorSize & (FatBs.FatBsb.SectorSize - 1)) != 0) { in FatOpenDevice()
259 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
264 if ((FatBs.FatBsb.SectorsPerCluster & (FatBs.FatBsb.SectorsPerCluster - 1)) != 0) { in FatOpenDevice()
[all …]