MdeModulePkg/Bus/Isa: Fix various typos

Fix various typos in documentation, comments and debug strings.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-14-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:07:26 +01:00
committed by mergify[bot]
parent 29f7ad8b7c
commit 1d031e750b
11 changed files with 37 additions and 37 deletions

View File

@@ -799,7 +799,7 @@ KeyboardTimerHandler (
//
// To let KB driver support Hot plug, here should skip the 'resend' command for the case that
// KB is not connected to system. If KB is not connected to system, driver will find there's something
// error in the following code and wait for the input buffer empty, this waiting time shoulb be short enough since
// error in the following code and wait for the input buffer empty, this waiting time should be short enough since
// this is a NOTIFY TPL period function, or the system performance will degrade hardly when KB is not connected.
// Just skip the 'resend' process simply.
//
@@ -827,7 +827,7 @@ KeyboardTimerHandler (
@param ConsoleIn - Pointer to instance of KEYBOARD_CONSOLE_IN_DEV
@param Data - Pointer to outof buffer for keeping key value
@retval EFI_TIMEOUT Status resigter time out
@retval EFI_TIMEOUT Status register time out
@retval EFI_SUCCESS Success to read keyboard
**/
@@ -871,7 +871,7 @@ KeyboardRead (
@param Data value wanted to be written
@retval EFI_TIMEOUT The input buffer register is full for putting new value util timeout
@retval EFI_SUCCESS The new value is sucess put into input buffer register.
@retval EFI_SUCCESS The new value is success put into input buffer register.
**/
EFI_STATUS
@@ -1688,7 +1688,7 @@ InitKeyboard (
if (EFI_ERROR (Status)) {
KeyboardError (
ConsoleIn,
L"Some specific value not aquired from 8042 controller!\n\r"
L"Some specific value not acquired from 8042 controller!\n\r"
);
goto Done;
}
@@ -1703,7 +1703,7 @@ InitKeyboard (
Status = KeyboardWaitForValue (ConsoleIn, KEYBOARD_8048_RETURN_8042_ACK);
if (EFI_ERROR (Status)) {
KeyboardError (ConsoleIn, L"Some specific value not aquired from 8042 controller!\n\r");
KeyboardError (ConsoleIn, L"Some specific value not acquired from 8042 controller!\n\r");
goto Done;
}
//
@@ -1730,7 +1730,7 @@ InitKeyboard (
Status = KeyboardWaitForValue (ConsoleIn, KEYBOARD_8048_RETURN_8042_ACK);
if (EFI_ERROR (Status)) {
KeyboardError (ConsoleIn, L"Some specific value not aquired from 8042 controller!\n\r");
KeyboardError (ConsoleIn, L"Some specific value not acquired from 8042 controller!\n\r");
goto Done;
}
@@ -1742,7 +1742,7 @@ InitKeyboard (
Status = KeyboardWaitForValue (ConsoleIn, KEYBOARD_8048_RETURN_8042_ACK);
if (EFI_ERROR (Status)) {
KeyboardError (ConsoleIn, L"Some specific value not aquired from 8042 controller!\n\r");
KeyboardError (ConsoleIn, L"Some specific value not acquired from 8042 controller!\n\r");
goto Done;
}
@@ -1757,7 +1757,7 @@ InitKeyboard (
Status = KeyboardWaitForValue (ConsoleIn, KEYBOARD_8048_RETURN_8042_ACK);
if (EFI_ERROR (Status)) {
KeyboardError (ConsoleIn, L"Some specific value not aquired from 8042 controller!\n\r");
KeyboardError (ConsoleIn, L"Some specific value not acquired from 8042 controller!\n\r");
goto Done;
}
//

View File

@@ -77,7 +77,7 @@ PushEfikeyBufTail (
}
/**
Judge whether is a registed key
Judge whether is a registered key
@param RegsiteredData A pointer to a buffer that is filled in with the keystroke
state data for the key that was registered.
@@ -85,7 +85,7 @@ PushEfikeyBufTail (
state data for the key that was pressed.
@retval TRUE Key be pressed matches a registered key.
@retval FLASE Match failed.
@retval FALSE Match failed.
**/
BOOLEAN
@@ -120,7 +120,7 @@ IsKeyRegistered (
/**
Reads the next keystroke from the input device. The WaitForKey Event can
be used to test for existance of a keystroke via WaitForEvent () call.
be used to test for existence of a keystroke via WaitForEvent () call.
@param ConsoleInDev Ps2 Keyboard private structure
@param KeyData A pointer to a buffer that is filled in with the keystroke
@@ -128,7 +128,7 @@ IsKeyRegistered (
@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.
@@ -308,7 +308,7 @@ KeyboardReadKeyStroke (
Signal the event if there is key available
@param Event the event object
@param Context waitting context
@param Context waiting context
**/
VOID
@@ -333,7 +333,7 @@ KeyboardWaitForKey (
if (!ConsoleIn->KeyboardErr) {
//
// 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
@@ -381,7 +381,7 @@ KeyboardWaitForKeyEx (
}
/**
Reset the input device and optionaly run diagnostics
Reset the input device and optionally run diagnostics
@param This Protocol instance pointer.
@param ExtendedVerification Driver may perform diagnostics on reset.
@@ -411,7 +411,7 @@ KeyboardEfiResetEx (
/**
Reads the next keystroke from the input device. The WaitForKey Event can
be used to test for existance of a keystroke via WaitForEvent () call.
be used to test for existence of a keystroke via WaitForEvent () call.
@param This Protocol instance pointer.
@@ -419,7 +419,7 @@ KeyboardEfiResetEx (
state 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.
@@ -540,7 +540,7 @@ Exit:
@param NotifyHandle Points to the unique handle assigned to the registered notification.
@retval EFI_SUCCESS The notification function was registered successfully.
@retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necesssary data structures.
@retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necessary data structures.
@retval EFI_INVALID_PARAMETER KeyData or NotifyHandle or KeyNotificationFunction is NULL.
**/

View File

@@ -77,7 +77,7 @@ KbdControllerDriverStop (
@param ListHead Pointer to list head
@retval EFI_INVALID_PARAMETER ListHead is NULL
@retval EFI_SUCCESS Sucess to free NotifyList
@retval EFI_SUCCESS Success to free NotifyList
**/
EFI_STATUS
KbdFreeNotifyList (
@@ -597,7 +597,7 @@ KbdControllerDriverStop (
@param ListHead Pointer to list head
@retval EFI_INVALID_PARAMETER ListHead is NULL
@retval EFI_SUCCESS Sucess to free NotifyList
@retval EFI_SUCCESS Success to free NotifyList
**/
EFI_STATUS
KbdFreeNotifyList (

View File

@@ -352,7 +352,7 @@ KeyboardReadKeyStroke (
Signal the event if there is key available
@param Event the event object
@param Context waitting context
@param Context waiting context
**/
VOID
@@ -411,7 +411,7 @@ KeyboardWaitForKeyEx (
//
/**
Reset the input device and optionaly run diagnostics
Reset the input device and optionally run diagnostics
@param This - Protocol instance pointer.
@param ExtendedVerification - Driver may perform diagnostics on reset.
@@ -430,7 +430,7 @@ KeyboardEfiResetEx (
/**
Reads the next keystroke from the input device. The WaitForKey Event can
be used to test for existance of a keystroke via WaitForEvent () call.
be used to test for existence of a keystroke via WaitForEvent () call.
@param This - Protocol instance pointer.
@@ -438,7 +438,7 @@ KeyboardEfiResetEx (
state 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.
@@ -486,7 +486,7 @@ KeyboardSetState (
@param NotifyHandle - Points to the unique handle assigned to the registered notification.
@retval EFI_SUCCESS - The notification function was registered successfully.
@retval EFI_OUT_OF_RESOURCES - Unable to allocate resources for necesssary data structures.
@retval EFI_OUT_OF_RESOURCES - Unable to allocate resources for necessary data structures.
@retval EFI_INVALID_PARAMETER - KeyData or NotifyHandle is NULL.
**/
@@ -531,7 +531,7 @@ PushEfikeyBufTail (
);
/**
Judge whether is a registed key
Judge whether is a registered key
@param RegsiteredData A pointer to a buffer that is filled in with the keystroke
state data for the key that was registered.
@@ -539,7 +539,7 @@ PushEfikeyBufTail (
state data for the key that was pressed.
@retval TRUE Key be pressed matches a registered key.
@retval FLASE Match failed.
@retval FALSE Match failed.
**/
BOOLEAN