From ac4e705bf5c11386f711afba021e1af04480d74c Mon Sep 17 00:00:00 2001 From: Savva Mitrofanov Date: Thu, 3 Feb 2022 14:05:05 +0600 Subject: [PATCH] OpenUsbKbDxe: Fix typos --- Platform/OpenUsbKbDxe/EfiKey.c | 11 ++++++----- Platform/OpenUsbKbDxe/EfiKey.h | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Platform/OpenUsbKbDxe/EfiKey.c b/Platform/OpenUsbKbDxe/EfiKey.c index 0265d35a..5c6c0f03 100644 --- a/Platform/OpenUsbKbDxe/EfiKey.c +++ b/Platform/OpenUsbKbDxe/EfiKey.c @@ -637,7 +637,7 @@ USBKeyboardDriverBindingStop ( data for the key that was pressed. @retval EFI_SUCCESS The keystroke information was returned. - @retval EFI_NOT_READY There was no keystroke data availiable. + @retval EFI_NOT_READY There was no keystroke data available. @retval EFI_DEVICE_ERROR The keystroke information was not returned due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. @@ -738,7 +738,7 @@ USBKeyboardReset ( information for the key that was pressed. @retval EFI_SUCCESS The keystroke information was returned. - @retval EFI_NOT_READY There was no keystroke data availiable. + @retval EFI_NOT_READY There was no keystroke data available. @retval EFI_DEVICE_ERROR The keystroke information was not returned due to hardware errors. @@ -815,9 +815,9 @@ USBKeyboardWaitForKey ( // Enter critical section // OldTpl = gBS->RaiseTPL (TPL_NOTIFY); - + // - // WaitforKey doesn't suppor the partial key. + // WaitforKey doesn't support the partial key. // Considering if the partial keystroke is enabled, there maybe a partial // keystroke in the queue, so here skip the partial keystroke and get the // next key from the queue @@ -950,7 +950,7 @@ KbdFreeNotifyList ( @param InputData A pointer to keystroke data for the key that was pressed. @retval TRUE Key pressed matches a registered key. - @retval FLASE Key pressed does not matches a registered key. + @retval FALSE Key pressed does not matches a registered key. **/ BOOLEAN @@ -1269,6 +1269,7 @@ USBKeyboardUnregisterKeyNotify ( /** Process key notify. + @param Event Indicates the event that invoke this function. @param Context Indicates the calling context. **/ diff --git a/Platform/OpenUsbKbDxe/EfiKey.h b/Platform/OpenUsbKbDxe/EfiKey.h index 6c737890..ac0440a8 100644 --- a/Platform/OpenUsbKbDxe/EfiKey.h +++ b/Platform/OpenUsbKbDxe/EfiKey.h @@ -617,6 +617,7 @@ USBKeyboardExitBootServices ( /** Process key notify. + @param Event Indicates the event that invoke this function. @param Context Indicates the calling context. **/