]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/Universal: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:26 +0000 (15:01 +0800)
committerFeng Tian <feng.tian@intel.com>
Thu, 27 Oct 2016 01:11:19 +0000 (09:11 +0800)
- stardard -> standard
- doule -> double
- defalut -> default
- Pacakge -> Package
- globa -> global
- responsiblity -> responsibility
- outputed -> outputted
- specifiecd -> specified
- Resuts -> Results
- the a -> a
- suported -> supported
- assocated -> associated
- TURE -> TRUE
- successfull -> successfully
- excute -> execute
- reseting -> resetting
- Retrive -> Retrieve
- funciton -> function
- paramter -> parameter
- dependecy -> dependency
- boundry -> boundary
- permenantly -> permanently

Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
31 files changed:
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
MdeModulePkg/Universal/HiiDatabaseDxe/String.c
MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c

index 10493bea021bbb46f183a8d0700533dcabac5e69..f67fbca8229b5b6d6e5e781899e766d432d51962 100644 (file)
@@ -322,7 +322,7 @@ ReadyToLockEventNotify (
   ASSERT_EFI_ERROR (Status);\r
   ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;\r
   //\r
-  // Align buffer on section boundry\r
+  // Align buffer on section boundary\r
   //\r
   ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;\r
   ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));\r
index e86d39e678390d6cc0139f372c53ec8a29bb84b6..32263c96c56be3e7279f6cf5f084ef4b40ed5304 100644 (file)
@@ -248,7 +248,7 @@ BootScriptWritePciCfg2ReadWrite (
   return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);\r
 }\r
 /**\r
-  Internal function to add smbus excute opcode to the table.\r
+  Internal function to add smbus execute opcode to the table.\r
 \r
   @param  Marker                The variable argument list to get the opcode\r
                                 and associated attributes.\r
index a9bca311d4a1cdfb6178efbfce9785514bc18b92..739f19eac437445c743544a228566795552f154f 100644 (file)
@@ -247,7 +247,7 @@ BootScriptWritePciCfg2ReadWrite (
   return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);\r
 }\r
 /**\r
-  Internal function to add smbus excute opcode to the table.\r
+  Internal function to add smbus execute opcode to the table.\r
 \r
   @param  Marker                The variable argument list to get the opcode\r
                                 and associated attributes.\r
index 795123d1063f17391c0f1d42cee413420f8f58ff..1ee8acf9e880303e590f94e8bce5831f3e5d6eb1 100644 (file)
@@ -328,7 +328,7 @@ ConPlatformTextInDriverBindingStart (
 }\r
 \r
 /**\r
-  Start this driver on the device for console output and stardard error output.\r
+  Start this driver on the device for console output and standard error output.\r
 \r
   Start this driver on ControllerHandle by opening Simple Text Output Protocol,\r
   reading Device Path, and installing Console Out Devcic GUID, Standard Error\r
index 4e59e1bbd7cacced95f8b577035668b1aebaf3d2..4b88e9781d02036ff53241ac1cb18853a4d629c5 100644 (file)
@@ -140,7 +140,7 @@ ConPlatformTextInDriverBindingStart (
   );\r
 \r
 /**\r
-  Start this driver on the device for console output and stardard error output.\r
+  Start this driver on the device for console output and standard error output.\r
 \r
   Start this driver on ControllerHandle by opening Simple Text Output Protocol,\r
   reading Device Path, and installing Console Out Devcic GUID, Standard Error\r
index 6fde3b2c7aa9c337c8b560bfd753c31386671fe1..3f445f02721fce00b7ce82e88904bb2f6bda7336 100644 (file)
@@ -678,7 +678,7 @@ TerminalDriverBindingStart (
   //\r
   if (FirstEnter) {\r
     //\r
-    // First enther the start funciton\r
+    // First enther the start function\r
     //\r
     FirstEnter = FALSE;\r
     //\r
index d5c99a4fa629a5fd259202ba4d79acd0668fd5fe..077bb77b25bfab58f1b3f54670bc8f51e0f92902 100644 (file)
 #define RAM_DISK_BLOCK_SIZE 512\r
 \r
 //\r
-// Iterate through the doule linked list. NOT delete safe\r
+// Iterate through the double linked list. NOT delete safe\r
 //\r
 #define EFI_LIST_FOR_EACH(Entry, ListHead)    \\r
   for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)\r
 \r
 //\r
-// Iterate through the doule linked list. This is delete-safe.\r
+// Iterate through the double linked list. This is delete-safe.\r
 // Do not touch NextEntry\r
 //\r
 #define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead)            \\r
index 8531d0ee06c6b6dd3e3ed33c91e15974b78a40ae..89ed3bb4d870912a3e88a4c9c5fa8fde0701d9bf 100644 (file)
@@ -1827,7 +1827,7 @@ FindTopMenu (
       }\r
     } else {\r
       //\r
-      // Last time highlight menu has disappear, find the first highlightable menu as the defalut one.\r
+      // Last time highlight menu has disappear, find the first highlightable menu as the default one.\r
       //\r
       *HighlightMenu = gMenuOption.ForwardLink;\r
       if (!IsListEmpty (&gMenuOption)) {\r
index 026e2c253eacea6cfbf1ee11ddd357bee1026297..3c494e3c83376fe7c6fbedf48df7b8a047d5d66e 100644 (file)
@@ -446,7 +446,7 @@ SetPassword (
   FreePool (TempPassword);\r
 \r
   //\r
-  // Retrive uncommitted data from Browser\r
+  // Retrieve uncommitted data from Browser\r
   //\r
   Configuration = AllocateZeroPool (sizeof (DRIVER_SAMPLE_CONFIGURATION));\r
   ASSERT (Configuration != NULL);\r
index 849d1f4233cdf41537596112b36d0812cb9689b3..be6929c6545fa38da90bb9a21dfbb3da60670f53 100644 (file)
@@ -300,7 +300,7 @@ FtwEraseSpareBlock (
   );\r
 \r
 /**\r
-  Retrive the proper FVB protocol interface by HANDLE.\r
+  Retrieve the proper FVB protocol interface by HANDLE.\r
 \r
 \r
   @param FvBlockHandle   The handle of FVB protocol that provides services for\r
@@ -641,7 +641,7 @@ GetFvbByAddress (
   );\r
 \r
 /**\r
-  Retrive the proper Swap Address Range protocol interface.\r
+  Retrieve the proper Swap Address Range protocol interface.\r
 \r
   @param[out] SarProtocol       The interface of SAR protocol\r
 \r
index f5707292730d65187d2be8e7f2c53d7d51a27a88..3fa5431cab35cb3763035d37b3fb71df4060abf2 100644 (file)
@@ -56,7 +56,7 @@ EFI_EVENT                                 mFvbRegistration = NULL;
 \r
 \r
 /**\r
-  Retrive the FVB protocol interface by HANDLE.\r
+  Retrieve the FVB protocol interface by HANDLE.\r
 \r
   @param[in]  FvBlockHandle     The handle of FVB protocol that provides services for\r
                                 reading, writing, and erasing the target block.\r
@@ -84,7 +84,7 @@ FtwGetFvbByHandle (
 }\r
 \r
 /**\r
-  Retrive the Swap Address Range protocol interface.\r
+  Retrieve the Swap Address Range protocol interface.\r
 \r
   @param[out] SarProtocol       The interface of SAR protocol\r
 \r
index bc5e6177c308280b145613184de125cfff868105..1e75328f9b9057dbb4896bd13a26a849fafe180d 100644 (file)
@@ -71,7 +71,7 @@ EFI_FTW_DEVICE                            *mFtwDevice      = NULL;
 BOOLEAN                                   mEndOfDxe = FALSE;\r
 \r
 /**\r
-  Retrive the SMM FVB protocol interface by HANDLE.\r
+  Retrieve the SMM FVB protocol interface by HANDLE.\r
 \r
   @param[in]  FvBlockHandle     The handle of SMM FVB protocol that provides services for\r
                                 reading, writing, and erasing the target block.\r
@@ -99,7 +99,7 @@ FtwGetFvbByHandle (
 }\r
 \r
 /**\r
-  Retrive the SMM Swap Address Range protocol interface.\r
+  Retrieve the SMM Swap Address Range protocol interface.\r
 \r
   @param[out] SarProtocol       The interface of SMM SAR protocol\r
 \r
index ee4936466adf5aaa9c28120c8149d801b1e3b522..e6760c3d52089174d37b5d7d3e1651d33da051b1 100644 (file)
@@ -91,7 +91,7 @@ typedef enum {
   DefaultValueFromDefault = 0,     // Get from the minimum or first one when not set default value.\r
   DefaultValueFromOtherDefault,    // Get default vale from other default when no default(When other\r
                                    // defaults are more than one, use the default with smallest default id).\r
-  DefaultValueFromFlag,            // Get default value from the defalut flag.\r
+  DefaultValueFromFlag,            // Get default value from the default flag.\r
   DefaultValueFromOpcode           // Get default value from default opcode, highest priority.\r
 } DEFAULT_VALUE_TYPE;\r
 \r
@@ -230,7 +230,7 @@ typedef struct _HII_IMAGE_PACKAGE_INSTANCE {
 } HII_IMAGE_PACKAGE_INSTANCE;\r
 \r
 //\r
-// Keyboard Layout Pacakge definitions\r
+// Keyboard Layout Package definitions\r
 //\r
 #define HII_KB_LAYOUT_PACKAGE_SIGNATURE SIGNATURE_32 ('h','k','l','p')\r
 typedef struct _HII_KEYBOARD_LAYOUT_PACKAGE_INSTANCE {\r
@@ -430,7 +430,7 @@ IsHiiHandleValid (
   @param  FontHandle              On entry, Points to the font handle returned by a\r
                                   previous  call to GetFontInfo() or NULL to start\r
                                   with the first font.\r
-  @param  GlobalFontInfo          If not NULL, output the corresponding globa font\r
+  @param  GlobalFontInfo          If not NULL, output the corresponding global font\r
                                   info.\r
 \r
   @retval TRUE                    Existed\r
@@ -542,7 +542,7 @@ FindStringBlock (
   @param  CharValue               Unicode character value, which identifies a glyph\r
                                   block.\r
   @param  GlyphBuffer             Output the corresponding bitmap data of the found\r
-                                  block. It is the caller's responsiblity to free\r
+                                  block. It is the caller's responsibility to free\r
                                   this buffer.\r
   @param  Cell                    Output cell information of the encoded bitmap.\r
   @param  GlyphBufferLen          If not NULL, output the length of GlyphBuffer.\r
@@ -1591,7 +1591,7 @@ HiiUpdatePackageList (
                                   buffer that is required for the handles found.\r
   @param  Handle                  An array of EFI_HII_HANDLE instances returned.\r
 \r
-  @retval EFI_SUCCESS             The matching handles are outputed successfully.\r
+  @retval EFI_SUCCESS             The matching handles are outputted successfully.\r
                                   HandleBufferLength is updated with the actual length.\r
   @retval EFI_BUFFER_TO_SMALL     The HandleBufferLength parameter indicates that\r
                                   Handle is too small to support the number of\r
@@ -1640,7 +1640,7 @@ HiiListPackageLists (
                                   Handle is too small to support the number of\r
                                   handles.      HandleBufferLength is updated with\r
                                   a value that will enable the data to fit.\r
-  @retval EFI_NOT_FOUND           The specifiecd Handle could not be found in the\r
+  @retval EFI_NOT_FOUND           The specified Handle could not be found in the\r
                                   current database.\r
   @retval EFI_INVALID_PARAMETER   BufferSize was NULL.\r
   @retval EFI_INVALID_PARAMETER   The value referenced by BufferSize was not zero \r
@@ -2236,7 +2236,7 @@ EfiConfigKeywordHandlerSetData (
   @retval EFI_SUCCESS             The specified action was completed successfully.\r
   \r
   @retval EFI_INVALID_PARAMETER   One or more of the following are TRUE:\r
-                                  1.Progress, ProgressErr, or Resuts is NULL.\r
+                                  1.Progress, ProgressErr, or Results is NULL.\r
                                   2.Parsing of the KeywordString resulted in an error. See\r
                                     Progress and ProgressErr for more data.\r
   \r
@@ -2286,7 +2286,7 @@ HiiCompareLanguage (
 ;\r
 \r
 /**\r
-  Retrieves a pointer to the a Null-terminated ASCII string containing the list \r
+  Retrieves a pointer to a Null-terminated ASCII string containing the list\r
   of languages that an HII handle in the HII Database supports.  The returned \r
   string is allocated using AllocatePool().  The caller is responsible for freeing\r
   the returned string using FreePool().  The format of the returned string follows\r
@@ -2297,9 +2297,9 @@ HiiCompareLanguage (
   @param[in]  HiiHandle  A handle that was previously registered in the HII Database.\r
 \r
   @retval NULL   HiiHandle is not registered in the HII database\r
-  @retval NULL   There are not enough resources available to retrieve the suported \r
+  @retval NULL   There are not enough resources available to retrieve the supported\r
                  languages.\r
-  @retval NULL   The list of suported languages could not be retrieved.\r
+  @retval NULL   The list of supported languages could not be retrieved.\r
   @retval Other  A pointer to the Null-terminated ASCII string of supported languages.\r
 \r
 **/\r
index e55aa293cbb4176e12afbd956a13b9c9f0974d3c..d5a7488a79d39ee2201560dc8146881e805451e0 100644 (file)
@@ -106,7 +106,7 @@ ReferFontInfoLocally (
   @param  StringSrc              Points to current null-terminated string.\r
   @param  BufferSize             Length of the buffer.\r
 \r
-  @retval EFI_SUCCESS            The string text was outputed successfully.\r
+  @retval EFI_SUCCESS            The string text was outputted successfully.\r
   @retval EFI_BUFFER_TOO_SMALL   Buffer is insufficient to store the found string\r
                                  text. BufferSize is updated to the required buffer\r
                                  size.\r
@@ -150,7 +150,7 @@ ConvertToUnicodeText (
   @param  StringSrc              Points to current null-terminated string.\r
   @param  BufferSize             Length of the buffer.\r
 \r
-  @retval EFI_SUCCESS            The string text was outputed successfully.\r
+  @retval EFI_SUCCESS            The string text was outputted successfully.\r
   @retval EFI_BUFFER_TOO_SMALL   Buffer is insufficient to store the found string\r
                                  text. BufferSize is updated to the required buffer\r
                                  size.\r
@@ -199,7 +199,7 @@ GetUnicodeStringTextOrSize (
   @param  StringFontInfo         Buffer to record the output font info. It's\r
                                  caller's responsibility to free this buffer.\r
 \r
-  @retval EFI_SUCCESS            The string font is outputed successfully.\r
+  @retval EFI_SUCCESS            The string font is outputted successfully.\r
   @retval EFI_NOT_FOUND          The specified font id does not exist.\r
 \r
 **/\r
@@ -719,7 +719,7 @@ GetStringWorker (
   @param  StringBlockAddr         Output the block address of found string block.  \r
   @param  FontBlock               whether this string block has font info.\r
 \r
-  @retval EFI_SUCCESS            The string font is outputed successfully.\r
+  @retval EFI_SUCCESS            The string font is outputted successfully.\r
   @retval EFI_OUT_OF_RESOURCES   NO resource for the memory to save the new string block.\r
 \r
 **/\r
index 6161274a94dffac9eb2b8e5b9ac05668a7939958..477c914059ce138a97e4be4d312509ee262c9499 100644 (file)
@@ -551,7 +551,7 @@ GenPerformMemoryTest (
 \r
   //\r
   // In extensive mode the boundary of "mCurrentRange->Length" may will lost\r
-  // some range that is not Private->BdsBlockSize size boundry, so need\r
+  // some range that is not Private->BdsBlockSize size boundary, so need\r
   // the software mechanism to confirm all memory location be covered.\r
   //\r
   if (mCurrentAddress < (mCurrentRange->StartAddress + mCurrentRange->Length)) {\r
index 7b77fd386bde53bb241711d3b807b129d86c2f60..ca53fd5077f665c960e1693a6617d6f88daff5b5 100644 (file)
@@ -684,7 +684,7 @@ IScsiFormCallback (
 \r
   Private   = ISCSI_FORM_CALLBACK_INFO_FROM_FORM_CALLBACK (This);\r
   //\r
-  // Retrive uncommitted data from Browser\r
+  // Retrieve uncommitted data from Browser\r
   //\r
   IfrNvData = AllocateZeroPool (sizeof (ISCSI_CONFIG_IFR_NVDATA));\r
   ASSERT (IfrNvData != NULL);\r
index 1ac79e7ca179701ab6f7f37918c9e0fb8b788c24..14f13f8fce1da1834c491904f629b48ac18c34ce 100644 (file)
@@ -1815,7 +1815,7 @@ IScsiNewDataSegment (
 \r
   @param[in]  Packet The EXT SCSI PASS THRU request packet containing the SCSI command.\r
   @param[in]  Lun    The LUN.\r
-  @param[in]  Tcb    The tcb assocated with this SCSI command.\r
+  @param[in]  Tcb    The tcb associated with this SCSI command.\r
 \r
   @return The  created iSCSI SCSI command PDU.\r
   @retval NULL Other errors as indicated.\r
index 97b555b5fe8bfe15b2a1dc27683ac00ad67baf34..d868957896e6ec6e691cf3efc1ee392b63563814 100644 (file)
@@ -901,7 +901,7 @@ Exit:
 \r
   @param[in]  Instance           The IP4 config2 instance to configure\r
 \r
-  @retval EFI_SUCCESS            The auto configuration is successfull started\r
+  @retval EFI_SUCCESS            The auto configuration is successfully started\r
   @retval Others                 Failed to start auto configuration.\r
 \r
 **/\r
index b6da11f8ec9d17982e80a7829b61dfde4da179a5..a431f6f732cdc6f0ae1dfc17761e29609041d278 100644 (file)
@@ -235,7 +235,7 @@ Ip4Config2ReadConfigData (
 \r
   @param[in]  Instance           The IP4 config2 instance to configure.\r
 \r
-  @retval EFI_SUCCESS            The auto configuration is successfull started.\r
+  @retval EFI_SUCCESS            The auto configuration is successfully started.\r
   @retval Others                 Failed to start auto configuration.\r
 \r
 **/\r
index 381dcb1e974a706a2a46c68a6e9a1a05c3dfbf23..ee771e3d6df5cc60db21a8b6e2781c216ae44310 100644 (file)
@@ -1134,7 +1134,7 @@ Ip4FormCallback (
     }\r
 \r
     //\r
-    // Retrive uncommitted data from Browser\r
+    // Retrieve uncommitted data from Browser\r
     //\r
     if (!HiiGetBrowserData (&gIp4Config2NvDataGuid, mIp4Config2StorageName, sizeof (IP4_CONFIG2_IFR_NVDATA), (UINT8 *) IfrFormNvData)) {\r
       FreePool (IfrFormNvData);\r
index 3025790a206cdcd19b55650f1c2fd8258d993e24..fc7827325f72fb9e4bdc117a8f926e3a2ff76ee5 100644 (file)
@@ -150,7 +150,7 @@ SockTcpDataToRcv (
   @param  Sock                  Pointer to the socket.\r
   @param  TcpRxData             Pointer to the application provided receive buffer.\r
   @param  RcvdBytes             The maximum length of the data can be copied.\r
-  @param  IsOOB                 If TURE the data is OOB, FALSE the data is normal.\r
+  @param  IsOOB                 If TRUE the data is OOB, FALSE the data is normal.\r
 \r
 **/\r
 VOID\r
index 52472d4440cc004679734440bd18d61dc8cc7721..4a5a845b0e7d91ce64c854e1564dd6179428b03f 100644 (file)
@@ -66,7 +66,7 @@ SockProcessTcpSndData (
   @param  Sock                  Pointer to the socket.\r
   @param  TcpRxData             Pointer to the application provided receive buffer.\r
   @param  RcvdBytes             The maximum length of the data can be copied.\r
-  @param  IsOOB                 If TURE the data is OOB, else the data is normal.\r
+  @param  IsOOB                 If TRUE the data is OOB, else the data is normal.\r
 \r
 **/\r
 VOID\r
index 1274d6720da6692af5878beddbc99a02a4546845..eddd75a162cbab8d28a0d0c5945c2e0a3e23113a 100644 (file)
@@ -541,7 +541,7 @@ UpdateDeviceSelectPage (
   @param  ImageHandle          The Image handle\r
 \r
   @return                      Handle to Driver binding\r
-  @retval NULL                 The paramter is not valid or the driver binding handle is not found.\r
+  @retval NULL                 The parameter is not valid or the driver binding handle is not found.\r
 \r
 **/\r
 EFI_HANDLE\r
@@ -1577,7 +1577,7 @@ DriverLoaded (
 }\r
 \r
 /**\r
-  The driver Entry Point. The funciton will export a disk device class formset and\r
+  The driver Entry Point. The function will export a disk device class formset and\r
   its callback function to hii database.\r
 \r
   @param  ImageHandle    The firmware allocated handle for the EFI image.\r
index 7d880e62775165e922d106e8c94206b126c52f3d..86c34be88d0f1338dfd5a1828ba593d3b2692569 100644 (file)
@@ -147,7 +147,7 @@ CheckExistInStack (
 \r
   According to a file GUID, check a Fv file device path is valid. If it is invalid,\r
   try to return the valid device path.\r
-  FV address maybe changes for memory layout adjust from time to time, use this funciton\r
+  FV address maybe changes for memory layout adjust from time to time, use this function\r
   could promise the Fv file device path is right.\r
 \r
   @param  DevicePath               On input, the FV file device path to check\r
@@ -1115,7 +1115,7 @@ SaveOverridesMapping (
                                If Binding protocol is not found, it is set to NULL. \r
 \r
   @return                      Pointer into the Binding Protocol interface\r
-  @retval NULL                 The paramter is not valid or the binding protocol is not found.\r
+  @retval NULL                 The parameter is not valid or the binding protocol is not found.\r
 \r
 **/\r
 EFI_DRIVER_BINDING_PROTOCOL *\r
@@ -1315,7 +1315,7 @@ GetDriverFromMapping (
   //\r
   if (CheckExistInStack (OverrideItem->ControllerDevicePath)) {\r
     //\r
-    // There is a dependecy dead loop if the ControllerDevicePath appear in stack twice\r
+    // There is a dependency dead loop if the ControllerDevicePath appear in stack twice\r
     //\r
     return EFI_UNSUPPORTED;\r
   }\r
@@ -1337,7 +1337,7 @@ GetDriverFromMapping (
         // If the image device path contains an FV node, check the FV file device path is valid.\r
         // If it is invalid, try to return the valid device path.\r
         // FV address maybe changes for memory layout adjust from time to time,\r
-        // use this funciton could promise the FV file device path is right.\r
+        // use this function could promise the FV file device path is right.\r
         //\r
         Status = UpdateFvFileDevicePath (&TempDriverImagePath, NULL, CallerImageHandle);\r
         if (!EFI_ERROR (Status)) {\r
index 6856cc5d96c9da2526307506fa4a78a5b21663ce..0c5d1b40184980feaf9f3a68b720afbcdb675158 100644 (file)
@@ -1937,8 +1937,8 @@ ReconnectController (
   @param Action                The action request.\r
   @param SkipSaveOrDiscard     Whether skip save or discard action.\r
 \r
-  @retval EFI_SUCCESS          The call back function excutes successfully.\r
-  @return Other value if the call back function failed to excute.  \r
+  @retval EFI_SUCCESS          The call back function executes successfully.\r
+  @return Other value if the call back function failed to execute.\r
 **/\r
 EFI_STATUS \r
 ProcessCallBackFunction (\r
@@ -2247,8 +2247,8 @@ ProcessCallBackFunction (
   @param Statement             The Question which need to call.\r
   @param FormSet               The formset this question belong to.\r
 \r
-  @retval EFI_SUCCESS          The call back function excutes successfully.\r
-  @return Other value if the call back function failed to excute.  \r
+  @retval EFI_SUCCESS          The call back function executes successfully.\r
+  @return Other value if the call back function failed to execute.\r
 **/\r
 EFI_STATUS \r
 ProcessRetrieveForQuestion (\r
index cc9f431e3bf57c02567eac7c22f865e8eb04f356..f1accdf841daf1f0108c3a4155c984068e6ec8b8 100644 (file)
@@ -1222,8 +1222,8 @@ IsNvUpdateRequiredForFormSet (
   @param Action                The action request.\r
   @param SkipSaveOrDiscard     Whether skip save or discard action.\r
 \r
-  @retval EFI_SUCCESS          The call back function excutes successfully.\r
-  @return Other value if the call back function failed to excute.  \r
+  @retval EFI_SUCCESS          The call back function executes successfully.\r
+  @return Other value if the call back function failed to execute.\r
 **/\r
 EFI_STATUS \r
 ProcessCallBackFunction (\r
@@ -1245,8 +1245,8 @@ ProcessCallBackFunction (
   @param Statement             The Question which need to call.\r
   @param FormSet               The formset this question belong to.\r
 \r
-  @retval EFI_SUCCESS          The call back function excutes successfully.\r
-  @return Other value if the call back function failed to excute.  \r
+  @retval EFI_SUCCESS          The call back function executes successfully.\r
+  @return Other value if the call back function failed to execute.\r
 **/\r
 EFI_STATUS \r
 ProcessRetrieveForQuestion (\r
index 461b0fc8859733bd700f4f40c21b673c69e16b65..d06317ca9cf4ea6a947e7b5058f7be3c0aaafdc0 100644 (file)
@@ -190,7 +190,7 @@ SetVariableCheckHandlerMorLock (
     //\r
     if (DataSize == MOR_LOCK_V1_SIZE) {\r
       //\r
-      // V1 - lock permenantly\r
+      // V1 - lock permanently\r
       //\r
       if (*(UINT8 *)Data == MOR_LOCK_DATA_UNLOCKED) {\r
         //\r
index 5c224b973773036279b04182d01b85db86c7c880..55df13191b43488e964fb509c88ed33549bf4f0a 100644 (file)
@@ -389,7 +389,7 @@ ReleaseLockOnlyAtBootTime (
   );\r
 \r
 /**\r
-  Retrive the FVB protocol interface by HANDLE.\r
+  Retrieve the FVB protocol interface by HANDLE.\r
 \r
   @param[in]  FvBlockHandle     The handle of FVB protocol that provides services for\r
                                 reading, writing, and erasing the target block.\r
@@ -472,7 +472,7 @@ VariableWriteServiceInitialize (
   );\r
 \r
 /**\r
-  Retrive the SMM Fault Tolerent Write protocol interface.\r
+  Retrieve the SMM Fault Tolerent Write protocol interface.\r
 \r
   @param[out] FtwProtocol       The interface of SMM Ftw protocol\r
 \r
index dfed03133efec40a41f4a9f96a5c63b09b29ca82..3d3cd24e0dd0fa6be5431296a89e68ff381cdd87 100644 (file)
@@ -117,7 +117,7 @@ ReleaseLockOnlyAtBootTime (
 }\r
 \r
 /**\r
-  Retrive the Fault Tolerent Write protocol interface.\r
+  Retrieve the Fault Tolerent Write protocol interface.\r
 \r
   @param[out] FtwProtocol       The interface of Ftw protocol\r
 \r
@@ -145,7 +145,7 @@ GetFtwProtocol (
 }\r
 \r
 /**\r
-  Retrive the FVB protocol interface by HANDLE.\r
+  Retrieve the FVB protocol interface by HANDLE.\r
 \r
   @param[in]  FvBlockHandle     The handle of FVB protocol that provides services for\r
                                 reading, writing, and erasing the target block.\r
index 2ceba379043fba649d51a91872aad141bed23298..eafb53322e8c5ed6fbcbfe2c1eb6242a7ff686bf 100644 (file)
@@ -199,7 +199,7 @@ ReleaseLockOnlyAtBootTime (
 }\r
 \r
 /**\r
-  Retrive the SMM Fault Tolerent Write protocol interface.\r
+  Retrieve the SMM Fault Tolerent Write protocol interface.\r
 \r
   @param[out] FtwProtocol       The interface of SMM Ftw protocol\r
 \r
@@ -228,7 +228,7 @@ GetFtwProtocol (
 \r
 \r
 /**\r
-  Retrive the SMM FVB protocol interface by HANDLE.\r
+  Retrieve the SMM FVB protocol interface by HANDLE.\r
 \r
   @param[in]  FvBlockHandle     The handle of SMM FVB protocol that provides services for\r
                                 reading, writing, and erasing the target block.\r
index b018eb2ae1ea8d048d3f583e4d097834228e682e..6dedfbf7021858397224afa5e1a10fc1b7c37676 100644 (file)
@@ -75,7 +75,7 @@ WatchdogTimerDriverExpires (
     mWatchdogTimerNotifyFunction (mWatchdogTimerPeriod);\r
   }\r
   \r
-  DEBUG ((EFI_D_ERROR, "Watchdog Timer reseting system\n"));\r
+  DEBUG ((EFI_D_ERROR, "Watchdog Timer resetting system\n"));\r
 \r
   //\r
   // Reset the platform\r