Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DMbr.c59 …if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA)… in PartitionValidMbr()
64 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA); in PartitionValidMbr()
65 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1; in PartitionValidMbr()
85 …if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA)… in PartitionValidMbr()
89 …NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[… in PartitionValidMbr()
90 …if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA… in PartitionValidMbr()
206 …if (Mbr->Partition[Index].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index].SizeInLBA) =… in PartitionInstallMbrChildHandles()
224 HdDev.PartitionStart = UNPACK_UINT32 (Mbr->Partition[Index].StartingLBA); in PartitionInstallMbrChildHandles()
225 HdDev.PartitionSize = UNPACK_UINT32 (Mbr->Partition[Index].SizeInLBA); in PartitionInstallMbrChildHandles()
269 if (UNPACK_UINT32 (Mbr->Partition[0].SizeInLBA) == 0) { in PartitionInstallMbrChildHandles()
[all …]
DPartition.h96 #define UNPACK_UINT32(a) (UINT32)( (((UINT8 *) a)[0] << 0) | \ macro
DGpt.c266 UNPACK_UINT32 (ProtectiveMbr->Partition[Index].StartingLBA) == 1 in PartitionInstallGptChildHandles()
/device/linaro/bootloader/edk2/FatPkg/FatPei/
DPart.c340 …if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA)… in PartitionValidMbr()
345 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA); in PartitionValidMbr()
346 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1; in PartitionValidMbr()
367 …NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[… in PartitionValidMbr()
368 …if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA… in PartitionValidMbr()
DFatLitePeim.h183 #define UNPACK_UINT32(a) \ macro