Lines Matching refs:Hd
2951 HARDDRIVE_DEVICE_PATH *Hd; in DevPathFromTextHD() local
2958 Hd = (HARDDRIVE_DEVICE_PATH *) CreateDeviceNode ( in DevPathFromTextHD()
2964 Hd->PartitionNumber = (UINT32) Strtoi (PartitionStr); in DevPathFromTextHD()
2966 ZeroMem (Hd->Signature, 16); in DevPathFromTextHD()
2967 Hd->MBRType = (UINT8) 0; in DevPathFromTextHD()
2970 Hd->SignatureType = SIGNATURE_TYPE_MBR; in DevPathFromTextHD()
2971 Hd->MBRType = 0x01; in DevPathFromTextHD()
2974 CopyMem (Hd->Signature, &Signature32, sizeof (UINT32)); in DevPathFromTextHD()
2976 Hd->SignatureType = SIGNATURE_TYPE_GUID; in DevPathFromTextHD()
2977 Hd->MBRType = 0x02; in DevPathFromTextHD()
2980 CopyMem (Hd->Signature, &SignatureGuid, sizeof (EFI_GUID)); in DevPathFromTextHD()
2982 Hd->SignatureType = (UINT8) Strtoi (TypeStr); in DevPathFromTextHD()
2985 Strtoi64 (StartStr, &Hd->PartitionStart); in DevPathFromTextHD()
2986 Strtoi64 (SizeStr, &Hd->PartitionSize); in DevPathFromTextHD()
2988 return (EFI_DEVICE_PATH_PROTOCOL *) Hd; in DevPathFromTextHD()