diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-08-28 07:50:47 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-08-28 07:50:47 +0000 |
commit | 8a4fbdefadaba444a44a8b3ac6f117d3e2d6cf2a (patch) | |
tree | c7a75c76cbcf222cdba91ecabcc7eb76be5df1f0 /MdePkg/Library | |
parent | 1e6146eb5e1fe99e7960eb66455f05cba1045f66 (diff) | |
download | edk2-platforms-8a4fbdefadaba444a44a8b3ac6f117d3e2d6cf2a.tar.xz |
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 <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18356 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c | 2 | ||||
-rw-r--r-- | MdePkg/Library/UefiDevicePathLib/DevicePathToText.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c index e5f6a1f062..2dccfcf472 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c @@ -3458,7 +3458,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED DEVICE_PATH_FROM_TEXT_TABLE mUefiDevicePathLibDevP {L"MemoryMapped", DevPathFromTextMemoryMapped },
{L"VenHw", DevPathFromTextVenHw },
{L"Ctrl", DevPathFromTextCtrl },
- {L"Bmc", DevPathFromTextBmc },
+ {L"BMC", DevPathFromTextBmc },
{L"AcpiPath", DevPathFromTextAcpiPath },
{L"Acpi", DevPathFromTextAcpi },
diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c index 627308c340..08cc3e87f2 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c @@ -333,7 +333,7 @@ DevPathToTextBmc ( Bmc = DevPath;
UefiDevicePathLibCatPrint (
Str,
- L"Bmc(0x%x,0x%lx)",
+ L"BMC(0x%x,0x%lx)",
Bmc->InterfaceType,
ReadUnaligned64 ((UINT64 *) (&Bmc->BaseAddress))
);
|