summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2015-07-27 09:44:39 +0000
committerdandanbi <dandanbi@Edk2>2015-07-27 09:44:39 +0000
commit0b5c288ccc09b788f318d446f19b18ec1235a009 (patch)
tree2f70e612cb609b848195b2dea4c96357ee972f36 /MdeModulePkg
parent8fa9ac60f5afe8fe6ef874d71df95413ad6faa2b (diff)
downloadedk2-0b5c288ccc09b788f318d446f19b18ec1235a009.zip
edk2-0b5c288ccc09b788f318d446f19b18ec1235a009.tar.gz
edk2-0b5c288ccc09b788f318d446f19b18ec1235a009.tar.bz2
MdeModulePkg:SetupBrowser output debug message when DisplayEngineDxe is not installed
Enhance the setupbrowserdxe to output debug message when DisplayEngineDxe is not installed and this will be easy for user to find the reason why can not enter Setup page. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18075 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
index fb707f0..5793962 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
@@ -489,6 +489,7 @@ SendForm (
// If EDKII_FORM_DISPLAY_ENGINE_PROTOCOL not found, return EFI_UNSUPPORTED.
//
if (mFormDisplay == NULL) {
+ DEBUG ((DEBUG_ERROR, "Fatal Error! EDKII_FORM_DISPLAY_ENGINE_PROTOCOL not found!"));
return EFI_UNSUPPORTED;
}