-/**@file\r
+/** @file\r
Routines implements SIMPLE_TEXT_IN protocol's interfaces based on 8042 interfaces\r
provided by Ps2KbdCtrller.c.\r
\r
-Copyright (c) 2006 - 2007, Intel Corporation\r
+Copyright (c) 2006 - 2009, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include "Ps2Keyboard.h"\r
\r
/**\r
- Check keyboard for given key value\r
+ Check keyboard for given key value.\r
\r
@param This Point to instance of EFI_SIMPLE_TEXT_INPUT_PROTOCOL\r
\r
//\r
// Report the status If keyboard is locked\r
//\r
- if (!(KeyReadStatusRegister (ConsoleIn) & 0x10)) {\r
+ if ((KeyReadStatusRegister (ConsoleIn) & 0x10) == 0) {\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
EFI_PERIPHERAL_KEYBOARD | EFI_P_KEYBOARD_EC_LOCKED,\r