]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg:SetupBrowser output debug message when DisplayEngineDxe is not installed
authorDandan Bi <dandan.bi@intel.com>
Mon, 27 Jul 2015 09:44:39 +0000 (09:44 +0000)
committerdandanbi <dandanbi@Edk2>
Mon, 27 Jul 2015 09:44:39 +0000 (09:44 +0000)
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

MdeModulePkg/Universal/SetupBrowserDxe/Setup.c

index fb707f0d2965156e6a5e527d951a932c63d77986..579396293edf408c60dfff21f910531341df6a6d 100644 (file)
@@ -489,6 +489,7 @@ SendForm (
   // If EDKII_FORM_DISPLAY_ENGINE_PROTOCOL not found, return EFI_UNSUPPORTED.\r
   //\r
   if (mFormDisplay == NULL) {\r
+    DEBUG ((DEBUG_ERROR, "Fatal Error! EDKII_FORM_DISPLAY_ENGINE_PROTOCOL not found!"));\r
     return EFI_UNSUPPORTED;\r
   }\r
 \r