audk/MdePkg/Library/UefiDevicePathLib
Dandan Bi 9343d0a1cd MdePkg: Use VENDOR_DEVICE_PATH structure for Debug Port device path
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1229

When converting DebugPort device path from text,
current code use VENDOR_DEFINED_MESSAGING_DEVICE_PATH structure
for Debug port device node.
typedef struct {
  EFI_DEVICE_PATH_PROTOCOL  Header;
  EFI_GUID                  Guid;
  UINT8                     VendorDefinedData[1];
} VENDOR_DEFINED_MESSAGING_DEVICE_PATH;

And Debugport Device Path is a vendor-defined messaging
device path with no data, only a GUID. So it's better to
use VENDOR_DEVICE_PATH to create the Debug port device node.
typedef struct {
  EFI_DEVICE_PATH_PROTOCOL        Header;
  EFI_GUID                        Guid;
} VENDOR_DEVICE_PATH;

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>
2018-10-12 14:46:01 +08:00
..
DevicePathFromText.c MdePkg: Use VENDOR_DEVICE_PATH structure for Debug Port device path 2018-10-12 14:46:01 +08:00
DevicePathToText.c MdePkg: Add PciRoot/PcieRoot text for ACPI Expanded Device Path 2018-10-09 22:20:19 +08:00
DevicePathUtilities.c MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
UefiDevicePathLib.c MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
UefiDevicePathLib.h MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
UefiDevicePathLib.inf MdePkg: Removing ipf which is no longer supported from edk2. 2018-09-25 23:48:21 +08:00
UefiDevicePathLib.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00
UefiDevicePathLibOptionalDevicePathProtocol.c MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
UefiDevicePathLibOptionalDevicePathProtocol.inf MdePkg: Removing ipf which is no longer supported from edk2. 2018-09-25 23:48:21 +08:00
UefiDevicePathLibOptionalDevicePathProtocol.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00