Revision: 18356
          http://sourceforge.net/p/edk2/code/18356
Author:   hwu1225
Date:     2015-08-28 07:50:47 +0000 (Fri, 28 Aug 2015)
Log Message:
-----------
MdePkg: Modify string expression of BMC device path to follow UEFI spec

According to UEFI 2.5 spec, the string expression of a BMC device node
should be displayed as: BMC(Type,Address). However, current code displays
it as: Bmc(Type,Address).

(Sync patch r18353 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18353

Modified Paths:
--------------
    branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
    branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c

Modified: branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
===================================================================
--- branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c      
2015-08-28 07:41:38 UTC (rev 18355)
+++ branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c      
2015-08-28 07:50:47 UTC (rev 18356)
@@ -3458,7 +3458,7 @@
   {L"MemoryMapped",            DevPathFromTextMemoryMapped            },
   {L"VenHw",                   DevPathFromTextVenHw                   },
   {L"Ctrl",                    DevPathFromTextCtrl                    },
-  {L"Bmc",                     DevPathFromTextBmc                     },
+  {L"BMC",                     DevPathFromTextBmc                     },
 
   {L"AcpiPath",                DevPathFromTextAcpiPath                },
   {L"Acpi",                    DevPathFromTextAcpi                    },

Modified: branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
===================================================================
--- branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c        
2015-08-28 07:41:38 UTC (rev 18355)
+++ branches/UDK2015/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c        
2015-08-28 07:50:47 UTC (rev 18356)
@@ -333,7 +333,7 @@
   Bmc = DevPath;
   UefiDevicePathLibCatPrint (
     Str,
-    L"Bmc(0x%x,0x%lx)",
+    L"BMC(0x%x,0x%lx)",
     Bmc->InterfaceType,
     ReadUnaligned64 ((UINT64 *) (&Bmc->BaseAddress))
     );


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to