mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
ed8dfd7bfe
commit
69c3ab976d
|
@ -3,8 +3,8 @@
|
||||||
PS/2 Keyboard driver. Routines that interacts with callers,
|
PS/2 Keyboard driver. Routines that interacts with callers,
|
||||||
conforming to EFI driver model
|
conforming to EFI driver model
|
||||||
|
|
||||||
Copyright (c) 2006 - 2009, Intel Corporation
|
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
http://opensource.org/licenses/bsd-license.php
|
http://opensource.org/licenses/bsd-license.php
|
||||||
|
@ -337,7 +337,7 @@ KbdControllerDriverStart (
|
||||||
//
|
//
|
||||||
// Reset the keyboard device
|
// Reset the keyboard device
|
||||||
//
|
//
|
||||||
Status = ConsoleIn->ConIn.Reset (&ConsoleIn->ConIn, TRUE);
|
Status = ConsoleIn->ConInEx.Reset (&ConsoleIn->ConInEx, TRUE);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
Status = EFI_DEVICE_ERROR;
|
Status = EFI_DEVICE_ERROR;
|
||||||
StatusCode = EFI_PERIPHERAL_KEYBOARD | EFI_P_EC_NOT_DETECTED;
|
StatusCode = EFI_PERIPHERAL_KEYBOARD | EFI_P_EC_NOT_DETECTED;
|
||||||
|
|
Loading…
Reference in New Issue