]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/EmuGopDxe/GopInput.c
MdeModulePkg CapsuleApp: Show clear message when option is unrecognized
[mirror_edk2.git] / EmulatorPkg / EmuGopDxe / GopInput.c
index 288a151d6d379b3b27c48420d1d10cf28a1c2bb8..cf37a7bd70a2bb2fef88d08c4200ad9e07401a41 100644 (file)
@@ -1,6 +1,6 @@
 /*++ @file
 
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
 Portions copyright (c) 2010 0 2011,Apple Inc. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD License
@@ -300,10 +300,6 @@ EmuGopSimpleTextInExResetEx (
 
 **/
 {
-  GOP_PRIVATE_DATA *Private;
-
-  Private = GOP_PRIVATE_DATA_FROM_TEXT_IN_EX_THIS (This);
-
   return EFI_SUCCESS;
 }
 
@@ -393,7 +389,7 @@ EmuGopSimpleTextInExReadKeyStrokeEx (
     return EFI_INVALID_PARAMETER;
   }
 
-  Private = GOP_PRIVATE_DATA_FROM_TEXT_IN_THIS (This);
+  Private = GOP_PRIVATE_DATA_FROM_TEXT_IN_EX_THIS (This);
   if (Private->EmuGraphicsWindow == NULL) {
     return EFI_NOT_READY;
   }
@@ -446,7 +442,7 @@ EmuGopSimpleTextInExSetState (
   EFI_STATUS        Status;
   EFI_TPL           OldTpl;
 
-  Private = GOP_PRIVATE_DATA_FROM_TEXT_IN_THIS (This);
+  Private = GOP_PRIVATE_DATA_FROM_TEXT_IN_EX_THIS (This);
   if (Private->EmuGraphicsWindow == NULL) {
     return EFI_NOT_READY;
   }