]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:14 +0000 (15:01 +0800)
committerLeif Lindholm <leif.lindholm@linaro.org>
Wed, 19 Oct 2016 15:31:58 +0000 (16:31 +0100)
- reseting -> resetting
- stoping -> stopping
- Libary -> Library
- paramter -> parameter
- availible -> available
- availble -> available
- proccessed -> processed

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
14 files changed:
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
EmbeddedPkg/GdbStub/GdbStub.c
EmbeddedPkg/GdbStub/GdbStubInternal.h
EmbeddedPkg/Include/Library/GdbSerialLib.h
EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c

index aabaf604f6faf6abbf472a9603657e440e97e38b..bdc390f352480bdf751c586ce950d12dc62d69f7 100644 (file)
@@ -1516,7 +1516,7 @@ SnpReceive (
     }\r
 \r
     //\r
-    // Restart the receiver and the transmitter without reseting the FIFOs\r
+    // Restart the receiver and the transmitter without resetting the FIFOs\r
     // as it has been done by SoftReset().\r
     //\r
     StartRx (0, Snp);\r
index 5a5526c0df3267db1457abd13ce6969acc719a88..f4946552a08e6cc1f5f3b038a45d6c65bacee88e 100644 (file)
@@ -490,7 +490,7 @@ CLOSE_PCIIO:
 }\r
 \r
 /**\r
-  Stop this driver on ControllerHandle. Support stoping any child handles\r
+  Stop this driver on ControllerHandle. Support stopping any child handles\r
   created by this driver.\r
 \r
   @param  This                 Protocol instance pointer.\r
index 213038ad08c93f04a8a46472c8d1b8fb453db526..a75e7751af8dca3489bd9844925120f2503eaeff 100644 (file)
@@ -325,7 +325,7 @@ SendPacket (
   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
   the packet teminating character '#' and the two digit checksum.\r
 \r
-  If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.\r
+  If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.\r
   (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)\r
 \r
   If an ack '+' is not sent resend the packet\r
index 521c3442e0e21e56cca0214200fd74457e9b3651..aec39f1ff535d9dd6879c7e6a164ec7f54e36264 100644 (file)
@@ -573,7 +573,7 @@ SendPacket (
  $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
  the packet teminating character '#' and the two digit checksum.\r
 \r
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.\r
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.\r
  (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)\r
 \r
  If an ack '+' is not sent resend the packet\r
index aa4c3ff6405aedadd8878918195decb4d580a155..9f26fed6d2c641fd7df4dbf9af425dcad96b49b8 100644 (file)
@@ -51,8 +51,8 @@ GdbSerialInit (
   Check to see if a character is available from GDB. Do not read the character as that is\r
   done via GdbGetChar().\r
 \r
-  @return TRUE  - Character availible\r
-  @return FALSE - Character not availible\r
+  @return TRUE  - Character available\r
+  @return FALSE - Character not available\r
 \r
 **/\r
 BOOLEAN\r
index 2b353f0a23b2ffae71dc0b92909333844aee3bd5..8226c80ab4667d1dce953cbdf0440d297d59e4b1 100644 (file)
@@ -603,7 +603,7 @@ GdbFPutString (
   function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
   responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
 \r
-  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by\r
+  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by\r
   passing in the Context to be its parameter.\r
 \r
   If Function() is NULL, Debug Agent Library instance will return after setup debug\r
index 2e67de6f996b77b6c68e81b8c2647a3928ad8a8f..80aa4765c0ef768c48d28c96e4415c863caee088 100644 (file)
@@ -93,7 +93,7 @@ gXferObjectReadResponse (
   1) Length will generally be max remote packet size (big enough)\r
   2) First Offset of an XML document read needs to be 0\r
   3) This code will return back small chunks of the XML document on every read.\r
-     Each subseqent call will ask for the next availble part of the document.\r
+     Each subseqent call will ask for the next available part of the document.\r
 \r
   Note: The only variable size element in the XML is:\r
   "  <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is\r
@@ -257,7 +257,7 @@ SendPacket (
   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
   the packet teminating character '#' and the two digit checksum.\r
 \r
-  If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.\r
+  If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.\r
   (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)\r
 \r
   If an ack '+' is not sent resend the packet\r
index dfdc016d9d6a45a73177da6d1df322dc5991f6ac..7d85481c4be9c6736dd01e1ba8e60d388eaebf79 100644 (file)
@@ -519,7 +519,7 @@ SendPacket (
  $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
  the packet teminating character '#' and the two digit checksum.\r
 \r
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.\r
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.\r
  (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)\r
 \r
  If an ack '+' is not sent resend the packet\r
index d465b21183e73c5ff78d3aff75ae3b08d4ea64a8..f1d7f3f1098a7cbb6ba044dc49884abe07250bae 100644 (file)
@@ -922,7 +922,7 @@ RemoveBreakPoint (
   function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
   responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
 \r
-  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by\r
+  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by\r
   passing in the Context to be its parameter.\r
 \r
   If Function() is NULL, Debug Agent Library instance will return after setup debug\r
index e3d1b47cc4e9ffb426655a7b87bfc7a01ce23b42..ffd895137e82eb9aca1070ad7ca8647fc88500ba 100644 (file)
@@ -94,8 +94,8 @@ GdbSerialInit (
   Check to see if a character is available from GDB. Do not read the character as that is\r
   done via GdbGetChar().\r
 \r
-  @return TRUE  - Character availible\r
-  @return FALSE - Character not availible\r
+  @return TRUE  - Character available\r
+  @return FALSE - Character not available\r
 \r
 **/\r
 BOOLEAN\r
index 7ea976ff9d17c01f92cebb9e3d1a45d0c40bb640..069d87ca780d41203d7e9fe2dbaae516f1ff06c8 100644 (file)
@@ -165,8 +165,8 @@ GdbSerialInit (
   Check to see if a character is available from GDB. Do not read the character as that is\r
   done via GdbGetChar().\r
 \r
-  @return TRUE  - Character availible\r
-  @return FALSE - Character not availible\r
+  @return TRUE  - Character available\r
+  @return FALSE - Character not available\r
 \r
 **/\r
 BOOLEAN\r
index ec89cfdeec19084db04f86da2cfd9804d80798d3..0b1e6b086235bb2c39b114b459c0c1b50f6838a1 100644 (file)
@@ -120,7 +120,7 @@ Returns:
   }\r
 \r
   //\r
-  //Assume that capsules have the same flags on reseting or not.\r
+  //Assume that capsules have the same flags on resetting or not.\r
   //\r
   CapsuleHeader = CapsuleHeaderArray[0];\r
 \r
@@ -253,7 +253,7 @@ Returns:
 \r
   SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);\r
   //\r
-  //Assume that capsules have the same flags on reseting or not.\r
+  //Assume that capsules have the same flags on resetting or not.\r
   //\r
   CapsuleHeader = CapsuleHeaderArray[0];\r
   if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {\r
index c35d72c03cabbedb1003a6661bb66232afb84f1f..9e2b2e38054ccb6cd2ddd3a6ffe251affd69966b 100644 (file)
@@ -584,7 +584,7 @@ libGetWakeupTime (
   UINT8           Century;\r
 \r
   //\r
-  // Check paramters for null pointers\r
+  // Check parameters for null pointers\r
   //\r
   if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {\r
     return EFI_INVALID_PARAMETER;\r
index cee15c4be28ca04e1d47606ee6154d2b7dc570a0..7b08de8ab9fe58fa8afff9dada4559af5638b885 100644 (file)
@@ -53,7 +53,7 @@ ExtractGuidedSectionRegisterHandlers (
   PRE_PI_EXTRACT_GUIDED_SECTION_DATA  *SavedData;\r
   UINT32                              Index;\r
   //\r
-  // Check input paramter.\r
+  // Check input parameter.\r
   //\r
   if (SectionGuid == NULL) {\r
     return RETURN_INVALID_PARAMETER;\r