From ff514e2962562e5223427c14bcf60cdf85bfff5e Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 28 Apr 2008 05:23:22 +0000 Subject: 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 --- DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'DuetPkg/Library') 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 // -- cgit v1.2.3