diff options
author | Gary Lin <glin@suse.com> | 2016-10-19 15:01:15 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-10-24 09:09:06 +0800 |
commit | 70d3fe9dad1d7b2944a2653b3895a11863fb674e (patch) | |
tree | 5f3110023173e722b5d97b9765a70d931d76606e /IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | |
parent | 3e14edf82031845233f3825ac9239609c0ee98fc (diff) | |
download | edk2-platforms-70d3fe9dad1d7b2944a2653b3895a11863fb674e.tar.xz |
IntelFrameworkModulePkg: Fix typos in comments
- stoping -> stopping
- Pointion -> Position
- Arrary -> Array
- reseting -> resetting
- excute -> execute
- isTRUE -> is TRUE
- connectted -> connected
- Retrive -> Retrieve
- dirvers -> drivers
- funciton -> function
- paramter -> parameter
- availible -> available
- permenent -> permanent
- boundry -> boundary
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c')
-rw-r--r-- | IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c index 8c7019f4f6..8dcb131778 100644 --- a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c +++ b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c @@ -934,7 +934,7 @@ KeyboardReadKeyStrokeWorker ( }
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
//
@@ -978,7 +978,7 @@ KeyboardReadKeyStrokeWorker ( @param ExtendedVerification Whether perform the extra validation of keyboard. True: perform; FALSE: skip.
@retval EFI_SUCCESS The command byte is written successfully.
- @retval EFI_DEVICE_ERROR Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -1176,8 +1176,8 @@ BiosKeyboardReset ( );
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
- // so we only do the real reseting for keyboard when user asks, and normally during booting an OS, it's skipped.
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // so we only do the real resetting for keyboard when user asks, and normally during booting an OS, it's skipped.
// Call CheckKeyboardConnect() to check whether keyboard is connected, if it is not connected,
// Real reset will not do.
//
@@ -1431,7 +1431,7 @@ BiosKeyboardWaitForKey ( //
gBS->Stall (1000);
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
BiosKeyboardTimerHandler (NULL, BIOS_KEYBOARD_DEV_FROM_THIS (Context));
@@ -1795,7 +1795,7 @@ BiosKeyboardTimerHandler ( // will be disabled after the thunk call finish, which means if user crazy input during int 9 being disabled, some keystrokes will be lost when
// KB device own hardware buffer overflows. And if the lost keystroke code is CTRL or ALT or SHIFT release code, these function key flags bit
// in BDA will not be updated. So the Int 16 will believe the CTRL or ALT or SHIFT is still pressed, and Int 16 will translate later scancode
- // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other dirvers
+ // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other drivers
// performance, like USB.
//
// 1. If CTRL or ALT release code is missed, all later input keys will be translated to wrong ASCII codes which the Tiano cannot support. In
|