Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, Conver...
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 26 Jul 2013 03:00:21 +0000 (03:00 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Jul 2013 03:00:21 +0000 (03:00 +0000)
commit4d0a30a494599226450bf69ad9d6fc689f61712e
treea5b8f92e8ef899771952d4d0b9b215b7113906c4
parent1fd4578528e62646025f3eabb3d059c308516e71
Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath.
Add a new instance of DevicePathLib which tries to locate the protocol and if it's not found, it uses the internal functions.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14504 6f19259b-4bc3-4df7-8a09-765794883524
18 files changed:
MdeModulePkg/Universal/DevicePathDxe/DevicePath.c
MdeModulePkg/Universal/DevicePathDxe/DevicePath.h [deleted file]
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c [deleted file]
MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c [deleted file]
MdeModulePkg/Universal/DevicePathDxe/DevicePathUtilities.c [deleted file]
MdePkg/Include/Library/DevicePathLib.h
MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLib/DevicePathToText.c [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.h [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.c [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf [new file with mode: 0644]
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
MdePkg/MdePkg.dsc