mirror_edk2/MdePkg/Library/UefiDevicePathLib
Dandan Bi e9ab1635a2 MdePkg: Fix incorrect check for DisplayOnly text format in AcpiEx
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1312

Text format for AcpiEx device path in UEFI Spec:
AcpiEx(HID,CID,UID,HIDSTR,CIDSTR,UIDSTR)
AcpiEx(HID|HIDSTR,(CID|CIDSTR,UID|UIDSTR))(Display Only)

When convert device path to text for AcpiEx device path,
current code check AllowShortcuts parameter to convert
the device path to DisplayOnly text format(shorter text
representation) by mistake.
It should check DisplayOnly parameter.

This commit is to fix this issue.

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.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-11-11 11:41:04 +08:00
..
DevicePathFromText.c MdePkg: Handle AcpiExp device path when optional para is not specified 2018-10-24 22:15:57 +08:00
DevicePathToText.c MdePkg: Fix incorrect check for DisplayOnly text format in AcpiEx 2018-11-11 11:41:04 +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