Revision: 19441
          http://sourceforge.net/p/edk2/code/19441
Author:   dandanbi
Date:     2015-12-22 09:37:33 +0000 (Tue, 22 Dec 2015)
Log Message:
-----------
MdeModulePkg:Clear the screen before booting the boot option

When do UiApp remodeling task,miss clearing the screen before booting
the selected boot option,so cause some behaviors change.Now add the code
to fix this issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <[email protected]>
Reviewed-by: Eric Dong <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Library/BootManagerLib/BootManager.c

Modified: trunk/edk2/MdeModulePkg/Library/BootManagerLib/BootManager.c
===================================================================
--- trunk/edk2/MdeModulePkg/Library/BootManagerLib/BootManager.c        
2015-12-22 09:16:21 UTC (rev 19440)
+++ trunk/edk2/MdeModulePkg/Library/BootManagerLib/BootManager.c        
2015-12-22 09:37:33 UTC (rev 19441)
@@ -705,7 +705,14 @@
   }
 
   BootOption = EfiBootManagerGetLoadOptions (&BootOptionCount, 
LoadOptionTypeBoot);
+
   //
+  // Clear  the  screen  before.
+  //
+  gST->ConOut->SetAttribute (gST->ConOut, EFI_TEXT_ATTR (EFI_LIGHTGRAY, 
EFI_BLACK));
+  gST->ConOut->ClearScreen (gST->ConOut);
+
+  //
   // parse the selected option
   //
   BmBdsSetConsoleMode (FALSE);


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to