summaryrefslogtreecommitdiff
path: root/AppPkg
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2015-12-18 07:39:35 +0000
committervanjeff <vanjeff@Edk2>2015-12-18 07:39:35 +0000
commit1d8a8d09eef4028fee03ab9660aab9398ebe6675 (patch)
treedf8cbef383e0290da14e30176c5b890ed4a6b306 /AppPkg
parent89ed8b7770eee793c2375abb479d1db7eaa8a823 (diff)
downloadedk2-platforms-1d8a8d09eef4028fee03ab9660aab9398ebe6675.tar.xz
ShellPkg/Shell - Fix ASSERT() when FvSimpleFileSystemDxe is used
When the FvSimpleFileSystemDxe module is included in a platform, Simple File System Protocols are produced for firmware volumes(FV) that do not have the same style device paths as file systems with file names. The ShellPkg has an assumption that the device path contains device path nodes of type MEDIA_FILEPATH_DP and generates an ASSERT() if any other device path nodes are encountered. This change removes the ASSERT() condition and instead returns NULL that means EfiShellGetFilePathFromDevicePath() can not convert the device path nodes that represent the file path to a Unicode string. (Sync patch r19228 from main trunk.) Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19409 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'AppPkg')
0 files changed, 0 insertions, 0 deletions