]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1) Move RFC_3066_ENTRY_SIZE and ISO_639_2_ENTRY_SIZE to UefiBaseType.h.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Sep 2008 10:31:41 +0000 (10:31 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Sep 2008 10:31:41 +0000 (10:31 +0000)
2) Rename BufInReverseOrderToHexString to BufToHexString
3) Rename HexStringToBuf to HexStringToBufInReverseOrder
4) Update function comments in HiiLib.h and IfrSupportLib.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5991 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
MdeModulePkg/Universal/SetupBrowserDxe/Ui.c

index a60538d42fd2fef675f726d4452fde06079c1fc8..59c2b15109cf1fe31e88d7ae7ac0faec1e0ba620 100644 (file)
@@ -131,7 +131,7 @@ GetDevicePath (
     return EFI_OUT_OF_RESOURCES;\r
   }\r
 \r
-  HexStringToBuffer (*DevicePath, &Length, DevicePathString);\r
+  HexStringToBufInReverseOrder (*DevicePath, &Length, DevicePathString);\r
 \r
   SafeFreePool (DevicePathString);\r
 \r
@@ -366,7 +366,7 @@ GenerateSubStr (
 \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
@@ -937,7 +937,7 @@ HiiConfigRoutingExportConfig (
     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
@@ -964,7 +964,7 @@ HiiConfigRoutingExportConfig (
     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
index 068a3e7f7fbe590c5cf6b2a3b44b92ce23994d4e..2869c587c52e5f3966416140e1cbdd09e79f1f28 100644 (file)
@@ -2285,7 +2285,7 @@ UiDisplayMenu (
           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