diff options
Diffstat (limited to 'MdeModulePkg/Library/BootManagerLib/BootManager.c')
-rw-r--r-- | MdeModulePkg/Library/BootManagerLib/BootManager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/BootManagerLib/BootManager.c b/MdeModulePkg/Library/BootManagerLib/BootManager.c index 7a8ccfe152..d2494d8a37 100644 --- a/MdeModulePkg/Library/BootManagerLib/BootManager.c +++ b/MdeModulePkg/Library/BootManagerLib/BootManager.c @@ -705,6 +705,13 @@ BootManagerCallback ( }
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
//
|