diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-08-28 07:36:55 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-08-28 07:36:55 +0000 |
commit | 678226f632a7a369b36429afc9267f2774846ad8 (patch) | |
tree | c8e6506f3a9148c76153dedf3b983682a10c88ee /MdePkg | |
parent | 60cbd7fb2ed4683efaf83a21d2d1a9e51556815b (diff) | |
download | edk2-678226f632a7a369b36429afc9267f2774846ad8.tar.gz edk2-678226f632a7a369b36429afc9267f2774846ad8.tar.bz2 edk2-678226f632a7a369b36429afc9267f2774846ad8.zip |
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 <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18353 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-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))
);
|