From: erictian Date: Mon, 19 Apr 2010 05:32:57 +0000 (+0000) Subject: Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState... X-Git-Tag: edk2-stable201903~15961 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=69c3ab976d4da53311a7573b9ff44c0422a28926 Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10381 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c index 098d29f6e0..428758fd99 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c +++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c @@ -3,8 +3,8 @@ PS/2 Keyboard driver. Routines that interacts with callers, conforming to EFI driver model -Copyright (c) 2006 - 2009, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -337,7 +337,7 @@ KbdControllerDriverStart ( // // Reset the keyboard device // - Status = ConsoleIn->ConIn.Reset (&ConsoleIn->ConIn, TRUE); + Status = ConsoleIn->ConInEx.Reset (&ConsoleIn->ConInEx, TRUE); if (EFI_ERROR (Status)) { Status = EFI_DEVICE_ERROR; StatusCode = EFI_PERIPHERAL_KEYBOARD | EFI_P_EC_NOT_DETECTED;