Revision: 18353
          http://sourceforge.net/p/edk2/code/18353
Author:   hwu1225
Date:     2015-08-28 07:36:55 +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).

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

Modified Paths:
--------------
    trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
    trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c

Modified: trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
===================================================================
--- trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c    
2015-08-28 07:00:32 UTC (rev 18352)
+++ trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c    
2015-08-28 07:36:55 UTC (rev 18353)
@@ -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: trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
===================================================================
--- trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c      
2015-08-28 07:00:32 UTC (rev 18352)
+++ trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c      
2015-08-28 07:36:55 UTC (rev 18353)
@@ -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