remove clean console control protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7919 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -213,7 +213,6 @@ SendForm (
|
||||
UI_MENU_SELECTION *Selection;
|
||||
UINTN Index;
|
||||
FORM_BROWSER_FORMSET *FormSet;
|
||||
EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl;
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
ZeroMem (&gScreenDimensions, sizeof (EFI_SCREEN_DESCRIPTOR));
|
||||
@@ -276,15 +275,6 @@ SendForm (
|
||||
//
|
||||
gST->ConOut->SetAttribute (gST->ConOut, EFI_TEXT_ATTR (EFI_LIGHTGRAY, EFI_BLACK));
|
||||
|
||||
Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID **) &ConsoleControl);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
//
|
||||
// Set console control to text mode.
|
||||
//
|
||||
ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
|
||||
|
||||
for (Index = 0; Index < HandleCount; Index++) {
|
||||
Selection = AllocateZeroPool (sizeof (UI_MENU_SELECTION));
|
||||
ASSERT (Selection != NULL);
|
||||
|
Reference in New Issue
Block a user