diff options
author | Eric Dong <eric.dong@intel.com> | 2016-01-08 05:21:55 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2016-01-08 05:21:55 +0000 |
commit | 20fe1625567d0bc502a63818e3f416613bab813c (patch) | |
tree | 22aa4ec2894ba0b431091f38be2116188c7beb47 /MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf | |
parent | 0507449955c5c629cec196b62986afbb91203ed9 (diff) | |
download | edk2-platforms-20fe1625567d0bc502a63818e3f416613bab813c.tar.xz |
Refine error handle code, avoid assert when load this module twice.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19625 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf')
-rw-r--r-- | MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf b/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf index 2770ca98a5..a97fd4a83b 100644 --- a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf +++ b/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf @@ -1,7 +1,7 @@ ## @file
# library defines a set of interfaces for how to do file explorer.
#
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials are licensed and made available under
# the terms and conditions of the BSD License that accompanies this distribution.
# The full text of the license may be found at
@@ -57,4 +57,7 @@ gEfiLoadFileProtocolGuid ## CONSUMES
gEfiHiiConfigAccessProtocolGuid ## CONSUMES
gEfiFormBrowser2ProtocolGuid ## CONSUMES
- gEfiDevicePathToTextProtocolGuid ## CONSUMES
\ No newline at end of file + gEfiDevicePathToTextProtocolGuid ## CONSUMES
+
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
+ gEfiFormBrowser2ProtocolGuid AND gEfiHiiDatabaseProtocolGuid
\ No newline at end of file |