]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c
MdeModulePkg/Bus/Isa: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Isa / Ps2KeyboardDxe / Ps2KbdTextIn.c
index 458519cb71e6eb0a29054b35558935926fe87637..835f33cfa800e656f116ccf84c4d042fe83a8957 100644 (file)
@@ -77,7 +77,7 @@ PushEfikeyBufTail (
 }\r
 \r
 /**\r
-  Judge whether is a registed key\r
+  Judge whether is a registered key\r
 \r
   @param RegsiteredData       A pointer to a buffer that is filled in with the keystroke\r
                               state data for the key that was registered.\r
@@ -85,7 +85,7 @@ PushEfikeyBufTail (
                               state data for the key that was pressed.\r
 \r
   @retval TRUE                Key be pressed matches a registered key.\r
-  @retval FLASE               Match failed.\r
+  @retval FALSE               Match failed.\r
 \r
 **/\r
 BOOLEAN\r
@@ -120,7 +120,7 @@ IsKeyRegistered (
 \r
 /**\r
     Reads the next keystroke from the input device. The WaitForKey Event can\r
-    be used to test for existance of a keystroke via WaitForEvent () call.\r
+    be used to test for existence of a keystroke via WaitForEvent () call.\r
 \r
     @param ConsoleInDev          Ps2 Keyboard private structure\r
     @param KeyData               A pointer to a buffer that is filled in with the keystroke\r
@@ -128,7 +128,7 @@ IsKeyRegistered (
 \r
 \r
     @retval EFI_SUCCESS             The keystroke information was returned.\r
-    @retval EFI_NOT_READY           There was no keystroke data availiable.\r
+    @retval EFI_NOT_READY           There was no keystroke data available.\r
     @retval EFI_DEVICE_ERROR        The keystroke information was not returned due to\r
                                     hardware errors.\r
     @retval EFI_INVALID_PARAMETER   KeyData is NULL.\r
@@ -308,7 +308,7 @@ KeyboardReadKeyStroke (
   Signal the event if there is key available\r
 \r
   @param Event    the event object\r
-  @param Context  waitting context\r
+  @param Context  waiting context\r
 \r
 **/\r
 VOID\r
@@ -333,7 +333,7 @@ KeyboardWaitForKey (
 \r
   if (!ConsoleIn->KeyboardErr) {\r
     //\r
-    // WaitforKey doesn't suppor the partial key.\r
+    // WaitforKey doesn't support the partial key.\r
     // Considering if the partial keystroke is enabled, there maybe a partial\r
     // keystroke in the queue, so here skip the partial keystroke and get the\r
     // next key from the queue\r
@@ -381,7 +381,7 @@ KeyboardWaitForKeyEx (
 }\r
 \r
 /**\r
-  Reset the input device and optionaly run diagnostics\r
+  Reset the input device and optionally run diagnostics\r
 \r
   @param This                     Protocol instance pointer.\r
   @param ExtendedVerification     Driver may perform diagnostics on reset.\r
@@ -411,7 +411,7 @@ KeyboardEfiResetEx (
 \r
 /**\r
     Reads the next keystroke from the input device. The WaitForKey Event can\r
-    be used to test for existance of a keystroke via WaitForEvent () call.\r
+    be used to test for existence of a keystroke via WaitForEvent () call.\r
 \r
 \r
     @param This         Protocol instance pointer.\r
@@ -419,7 +419,7 @@ KeyboardEfiResetEx (
                         state data for the key that was pressed.\r
 \r
     @retval EFI_SUCCESS           The keystroke information was returned.\r
-    @retval EFI_NOT_READY         There was no keystroke data availiable.\r
+    @retval EFI_NOT_READY         There was no keystroke data available.\r
     @retval EFI_DEVICE_ERROR      The keystroke information was not returned due to\r
                                   hardware errors.\r
     @retval EFI_INVALID_PARAMETER KeyData is NULL.\r
@@ -540,7 +540,7 @@ Exit:
     @param NotifyHandle               Points to the unique handle assigned to the registered notification.\r
 \r
     @retval EFI_SUCCESS               The notification function was registered successfully.\r
-    @retval EFI_OUT_OF_RESOURCES      Unable to allocate resources for necesssary data structures.\r
+    @retval EFI_OUT_OF_RESOURCES      Unable to allocate resources for necessary data structures.\r
     @retval EFI_INVALID_PARAMETER     KeyData or NotifyHandle or KeyNotificationFunction is NULL.\r
 \r
 **/\r