audk/MdePkg/Library/UefiDevicePathLib
Dandan Bi a8b5750901 MdePkg: Handle AcpiExp device path when optional para is not specified
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1243

AcpiExp text device path: AcpiExp(HID,CID,UIDSTR)
And according to UEFI spec, the CID parameter is optional
and has a default value of 0. But current implementation
miss to check following cases for the AcpiExp.
FromText:when text device is AcpiExp(HID,,UIDSTR)/AcpiExp(HID,0,UIDSTR)
ToText: when the CID is 0 in the node structure

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.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2018-10-24 22:15:57 +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: Handle AcpiExp device path when optional para is not specified 2018-10-24 22:15:57 +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