mirror of https://github.com/acidanthera/audk.git
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:
parent
60cbd7fb2e
commit
678226f632
|
@ -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 },
|
||||
|
|
|
@ -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))
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue