Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DMbr.c136 HARDDRIVE_DEVICE_PATH HdDev; in PartitionInstallMbrChildHandles() local
194 ZeroMem (&HdDev, sizeof (HdDev)); in PartitionInstallMbrChildHandles()
195 HdDev.Header.Type = MEDIA_DEVICE_PATH; in PartitionInstallMbrChildHandles()
196 HdDev.Header.SubType = MEDIA_HARDDRIVE_DP; in PartitionInstallMbrChildHandles()
197 SetDevicePathNodeLength (&HdDev.Header, sizeof (HdDev)); in PartitionInstallMbrChildHandles()
198 HdDev.MBRType = MBR_TYPE_PCAT; in PartitionInstallMbrChildHandles()
199 HdDev.SignatureType = SIGNATURE_TYPE_MBR; in PartitionInstallMbrChildHandles()
223 HdDev.PartitionNumber = Index + 1; in PartitionInstallMbrChildHandles()
224 HdDev.PartitionStart = UNPACK_UINT32 (Mbr->Partition[Index].StartingLBA); in PartitionInstallMbrChildHandles()
225 HdDev.PartitionSize = UNPACK_UINT32 (Mbr->Partition[Index].SizeInLBA); in PartitionInstallMbrChildHandles()
[all …]
DGpt.c219 HARDDRIVE_DEVICE_PATH HdDev; in PartitionInstallGptChildHandles() local
382 ZeroMem (&HdDev, sizeof (HdDev)); in PartitionInstallGptChildHandles()
383 HdDev.Header.Type = MEDIA_DEVICE_PATH; in PartitionInstallGptChildHandles()
384 HdDev.Header.SubType = MEDIA_HARDDRIVE_DP; in PartitionInstallGptChildHandles()
385 SetDevicePathNodeLength (&HdDev.Header, sizeof (HdDev)); in PartitionInstallGptChildHandles()
387 HdDev.PartitionNumber = (UINT32) Index + 1; in PartitionInstallGptChildHandles()
388 HdDev.MBRType = MBR_TYPE_EFI_PARTITION_TABLE_HEADER; in PartitionInstallGptChildHandles()
389 HdDev.SignatureType = SIGNATURE_TYPE_GUID; in PartitionInstallGptChildHandles()
390 HdDev.PartitionStart = Entry->StartingLBA; in PartitionInstallGptChildHandles()
391 HdDev.PartitionSize = Entry->EndingLBA - Entry->StartingLBA + 1; in PartitionInstallGptChildHandles()
[all …]