diff options
author | Pedroa Liu <pedroa.liu@insyde.com> | 2016-05-17 08:51:33 +0800 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2016-05-16 18:25:17 -0700 |
commit | 8b3ccf16e0b71cceb4ea4d9546f95ba55a6abc6a (patch) | |
tree | 6ad8f2e3f7d3c4e8f71794fd74b4ffcd7c1893c1 /EmulatorPkg | |
parent | f85d3ce2efc21da5d874b3e4d880e5682c6fe7cb (diff) | |
download | edk2-platforms-8b3ccf16e0b71cceb4ea4d9546f95ba55a6abc6a.tar.xz |
EmulatorPkg/EmuGopDxe: Use correct FROM_THIS macro for TextInEx
Fixes assert of "Bad signature"
Pedroa fixed EmuGopSimpleTextInExReadKeyStrokeEx.
Jordan fixed EmuGopSimpleTextInExSetState.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Pedroa Liu <pedroa.liu@insyde.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
[jordan.l.justen@intel.com: Also update EmuGopSimpleTextInExSetState]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/EmuGopDxe/GopInput.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe/GopInput.c index a1f636aaa2..cf37a7bd70 100644 --- a/EmulatorPkg/EmuGopDxe/GopInput.c +++ b/EmulatorPkg/EmuGopDxe/GopInput.c @@ -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 @@ -389,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; } @@ -442,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; } |