diff options
author | Dandan Bi <dandan.bi@intel.com> | 2015-07-27 09:44:39 +0000 |
---|---|---|
committer | dandanbi <dandanbi@Edk2> | 2015-07-27 09:44:39 +0000 |
commit | 0b5c288ccc09b788f318d446f19b18ec1235a009 (patch) | |
tree | 2f70e612cb609b848195b2dea4c96357ee972f36 /MdeModulePkg | |
parent | 8fa9ac60f5afe8fe6ef874d71df95413ad6faa2b (diff) | |
download | edk2-platforms-0b5c288ccc09b788f318d446f19b18ec1235a009.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index fb707f0d29..579396293e 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;
}
|