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
This commit is contained in:
Hao Wu 2015-08-28 07:36:55 +00:00 committed by hwu1225
parent 60cbd7fb2e
commit 678226f632
2 changed files with 2 additions and 2 deletions

View File

@ -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 },

View File

@ -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))
);