]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
MdePkg: Add PciRoot/PcieRoot text for ACPI Expanded Device Path
authorDandan Bi <dandan.bi@intel.com>
Fri, 5 Oct 2018 08:06:00 +0000 (16:06 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 9 Oct 2018 14:20:19 +0000 (22:20 +0800)
commit78af0984b45a780e45d57c22c85a1f594b969212
tree52d650b7e7f9b53bd69243a847cf8e52bea018ff
parentfb4bea551e5b7e16e54676bca3d1ccde65f57c77
MdePkg: Add PciRoot/PcieRoot text for ACPI Expanded Device Path

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1228

According to UEFI spec,for ACPI Expanded Device Path
when HID=PNP0A03 or CID=PNP0A03 and HID != PNP0A08,
the device path node can be displayed as: PciRoot(UID|UIDSTR)
When HID=PNP0A08 or CID=PNP0A08, the device path node can be
displayed as: PcieRoot(UID|UIDSTR). But current code miss the
code logic.

This commit is to do the enhancement.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdePkg/Library/UefiDevicePathLib/DevicePathToText.c