]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg DxeServicesLib: Search further in GetFileBufferByFilePath
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Nov 2011 17:15:23 +0000 (17:15 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Nov 2011 17:15:23 +0000 (17:15 +0000)
commitc119933d025bf5fab9208c9d5cdb31f20eb966ea
tree52df91c63c91fc90805b2fc903d353fb45c5103b
parent7102b199613eaef6d28e89f72783e35f15cf6b8c
MdePkg DxeServicesLib: Search further in GetFileBufferByFilePath

This function supports loading via these interfaces, in order:
* gEfiFirmwareVolume2ProtocolGuid
* gEfiSimpleFileSystemProtocolGuid
* gEfiLoadFile2ProtocolGuid
* gEfiLoadFileProtocolGuid

Previously, if a device path supported any of these interfaces,
it would only check that interface.  (If it failed to load via
that interface, it would not move on and check the others.)

This change causes the other interfaces to still be checked if
the previous ones fail.

Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12761 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/DxeServicesLib/DxeServicesLib.c