summaryrefslogtreecommitdiffstats
path: root/DuetPkg/Library
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-28 05:23:22 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-28 05:23:22 +0000
commitff514e2962562e5223427c14bcf60cdf85bfff5e (patch)
tree33b6976b0a74f361e8f18c7084d6ad63c7c61cef /DuetPkg/Library
parent2a3ce6dd1724a7ea19ce421cf639a0fb33a618c8 (diff)
downloadedk2-ff514e2962562e5223427c14bcf60cdf85bfff5e.tar.gz
edk2-ff514e2962562e5223427c14bcf60cdf85bfff5e.tar.bz2
edk2-ff514e2962562e5223427c14bcf60cdf85bfff5e.zip
Add more debug print message and fix some issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5135 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/Library')
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index b7b58ac0d0..71e9b5db50 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -1080,7 +1080,12 @@ Returns:
// from the graphic lib
//
if (QuietBoot) {
- EnableQuietBootEx (&gEfiDefaultBmpLogoGuid, mBdsImageHandle);
+ Status = EnableQuietBootEx (&gEfiDefaultBmpLogoGuid, mBdsImageHandle);
+ if (EFI_ERROR (Status)) {
+ DisableQuietBoot ();
+ return;
+ }
+
//
// Perform system diagnostic
//