return EFI_OUT_OF_RESOURCES;\r
}\r
\r
- HexStringToBuffer (*DevicePath, &Length, DevicePathString);\r
+ HexStringToBufInReverseOrder (*DevicePath, &Length, DevicePathString);\r
\r
SafeFreePool (DevicePathString);\r
\r
\r
switch (Flag) {\r
case 1:\r
- Status = BufferToHexString (StringHeader, (UINT8 *) Buffer, BufferLen);\r
+ Status = BufInReverseOrderToHexString (StringHeader, (UINT8 *) Buffer, BufferLen);\r
break;\r
case 2:\r
Status = UnicodeToConfigString (StringHeader, &Length, (CHAR16 *) Buffer);\r
if (PathHdr == NULL) {\r
return EFI_OUT_OF_RESOURCES;\r
}\r
- Status = BufferToHexString (PathHdr, (UINT8 *) DevicePath, Length);\r
+ Status = BufInReverseOrderToHexString (PathHdr, (UINT8 *) DevicePath, Length);\r
ASSERT_EFI_ERROR (Status);\r
\r
//\r
StrnCpy (StringPtr, L"GUID=", StrLen (L"GUID="));\r
StringPtr += StrLen (L"GUID=");\r
\r
- Status = BufferToHexString (StringPtr, (UINT8 *) (&Storage->Guid), sizeof (EFI_GUID));\r
+ Status = BufInReverseOrderToHexString (StringPtr, (UINT8 *) (&Storage->Guid), sizeof (EFI_GUID));\r
ASSERT_EFI_ERROR (Status);\r
\r
StringPtr += 32;\r
BufferSize = StrLen (StringPtr) / 2;\r
DevicePath = AllocatePool (BufferSize);\r
\r
- HexStringToBuffer ((UINT8 *) DevicePath, &BufferSize, StringPtr);\r
+ HexStringToBufInReverseOrder ((UINT8 *) DevicePath, &BufferSize, StringPtr);\r
Selection->Handle = HiiLibDevicePathToHiiHandle (DevicePath);\r
if (Selection->Handle == NULL) {\r
//\r