summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:26 +0800
committerFeng Tian <feng.tian@intel.com>2016-10-27 09:11:19 +0800
commit0a18956d54cfe70b736b029c62ce53f29b903745 (patch)
treea1f36b370a62edab9e9ed5cf3069143e19586bc3 /MdeModulePkg/Universal
parent3b28e7448de6ef8ed94036bffe23c67dc20a7aff (diff)
downloadedk2-platforms-0a18956d54cfe70b736b029c62ce53f29b903745.tar.xz
MdeModulePkg/Universal: Fix typos in comments
- 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>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c2
-rw-r--r--MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c2
-rw-r--r--MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c2
-rw-r--r--MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c2
-rw-r--r--MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h2
-rw-r--r--MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c2
-rw-r--r--MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h4
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c2
-rw-r--r--MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c2
-rw-r--r--MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h4
-rw-r--r--MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c4
-rw-r--r--MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c4
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h20
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/String.c8
-rw-r--r--MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c2
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c2
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c2
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c2
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h2
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c2
-rw-r--r--MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c2
-rw-r--r--MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h2
-rw-r--r--MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c4
-rw-r--r--MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c8
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c8
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.h8
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c2
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h4
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c4
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c4
-rw-r--r--MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c2
31 files changed, 60 insertions, 60 deletions
diff --git a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
index 10493bea02..f67fbca822 100644
--- a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
+++ b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
@@ -322,7 +322,7 @@ ReadyToLockEventNotify (
ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
index e86d39e678..32263c96c5 100644
--- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
+++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
@@ -248,7 +248,7 @@ BootScriptWritePciCfg2ReadWrite (
return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
index a9bca311d4..739f19eac4 100644
--- a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
+++ b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
@@ -247,7 +247,7 @@ BootScriptWritePciCfg2ReadWrite (
return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
index 795123d106..1ee8acf9e8 100644
--- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
+++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
@@ -328,7 +328,7 @@ ConPlatformTextInDriverBindingStart (
}
/**
- Start this driver on the device for console output and stardard error output.
+ Start this driver on the device for console output and standard error output.
Start this driver on ControllerHandle by opening Simple Text Output Protocol,
reading Device Path, and installing Console Out Devcic GUID, Standard Error
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
index 4e59e1bbd7..4b88e9781d 100644
--- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
+++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
@@ -140,7 +140,7 @@ ConPlatformTextInDriverBindingStart (
);
/**
- Start this driver on the device for console output and stardard error output.
+ Start this driver on the device for console output and standard error output.
Start this driver on ControllerHandle by opening Simple Text Output Protocol,
reading Device Path, and installing Console Out Devcic GUID, Standard Error
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index 6fde3b2c7a..3f445f0272 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -678,7 +678,7 @@ TerminalDriverBindingStart (
//
if (FirstEnter) {
//
- // First enther the start funciton
+ // First enther the start function
//
FirstEnter = FALSE;
//
diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
index d5c99a4fa6..077bb77b25 100644
--- a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
+++ b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
@@ -54,13 +54,13 @@
#define RAM_DISK_BLOCK_SIZE 512
//
-// Iterate through the doule linked list. NOT delete safe
+// Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Do not touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index 8531d0ee06..89ed3bb4d8 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -1827,7 +1827,7 @@ FindTopMenu (
}
} else {
//
- // Last time highlight menu has disappear, find the first highlightable menu as the defalut one.
+ // Last time highlight menu has disappear, find the first highlightable menu as the default one.
//
*HighlightMenu = gMenuOption.ForwardLink;
if (!IsListEmpty (&gMenuOption)) {
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
index 026e2c253e..3c494e3c83 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
+++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
@@ -446,7 +446,7 @@ SetPassword (
FreePool (TempPassword);
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
Configuration = AllocateZeroPool (sizeof (DRIVER_SAMPLE_CONFIGURATION));
ASSERT (Configuration != NULL);
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
index 849d1f4233..be6929c654 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
@@ -300,7 +300,7 @@ FtwEraseSpareBlock (
);
/**
- Retrive the proper FVB protocol interface by HANDLE.
+ Retrieve the proper FVB protocol interface by HANDLE.
@param FvBlockHandle The handle of FVB protocol that provides services for
@@ -641,7 +641,7 @@ GetFvbByAddress (
);
/**
- Retrive the proper Swap Address Range protocol interface.
+ Retrieve the proper Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SAR protocol
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
index f570729273..3fa5431cab 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
@@ -56,7 +56,7 @@ EFI_EVENT mFvbRegistration = NULL;
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -84,7 +84,7 @@ FtwGetFvbByHandle (
}
/**
- Retrive the Swap Address Range protocol interface.
+ Retrieve the Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SAR protocol
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
index bc5e6177c3..1e75328f9b 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
@@ -71,7 +71,7 @@ EFI_FTW_DEVICE *mFtwDevice = NULL;
BOOLEAN mEndOfDxe = FALSE;
/**
- Retrive the SMM FVB protocol interface by HANDLE.
+ Retrieve the SMM FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of SMM FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -99,7 +99,7 @@ FtwGetFvbByHandle (
}
/**
- Retrive the SMM Swap Address Range protocol interface.
+ Retrieve the SMM Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SMM SAR protocol
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
index ee4936466a..e6760c3d52 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
@@ -91,7 +91,7 @@ typedef enum {
DefaultValueFromDefault = 0, // Get from the minimum or first one when not set default value.
DefaultValueFromOtherDefault, // Get default vale from other default when no default(When other
// defaults are more than one, use the default with smallest default id).
- DefaultValueFromFlag, // Get default value from the defalut flag.
+ DefaultValueFromFlag, // Get default value from the default flag.
DefaultValueFromOpcode // Get default value from default opcode, highest priority.
} DEFAULT_VALUE_TYPE;
@@ -230,7 +230,7 @@ typedef struct _HII_IMAGE_PACKAGE_INSTANCE {
} HII_IMAGE_PACKAGE_INSTANCE;
//
-// Keyboard Layout Pacakge definitions
+// Keyboard Layout Package definitions
//
#define HII_KB_LAYOUT_PACKAGE_SIGNATURE SIGNATURE_32 ('h','k','l','p')
typedef struct _HII_KEYBOARD_LAYOUT_PACKAGE_INSTANCE {
@@ -430,7 +430,7 @@ IsHiiHandleValid (
@param FontHandle On entry, Points to the font handle returned by a
previous call to GetFontInfo() or NULL to start
with the first font.
- @param GlobalFontInfo If not NULL, output the corresponding globa font
+ @param GlobalFontInfo If not NULL, output the corresponding global font
info.
@retval TRUE Existed
@@ -542,7 +542,7 @@ FindStringBlock (
@param CharValue Unicode character value, which identifies a glyph
block.
@param GlyphBuffer Output the corresponding bitmap data of the found
- block. It is the caller's responsiblity to free
+ block. It is the caller's responsibility to free
this buffer.
@param Cell Output cell information of the encoded bitmap.
@param GlyphBufferLen If not NULL, output the length of GlyphBuffer.
@@ -1591,7 +1591,7 @@ HiiUpdatePackageList (
buffer that is required for the handles found.
@param Handle An array of EFI_HII_HANDLE instances returned.
- @retval EFI_SUCCESS The matching handles are outputed successfully.
+ @retval EFI_SUCCESS The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
@retval EFI_BUFFER_TO_SMALL The HandleBufferLength parameter indicates that
Handle is too small to support the number of
@@ -1640,7 +1640,7 @@ HiiListPackageLists (
Handle is too small to support the number of
handles. HandleBufferLength is updated with
a value that will enable the data to fit.
- @retval EFI_NOT_FOUND The specifiecd Handle could not be found in the
+ @retval EFI_NOT_FOUND The specified Handle could not be found in the
current database.
@retval EFI_INVALID_PARAMETER BufferSize was NULL.
@retval EFI_INVALID_PARAMETER The value referenced by BufferSize was not zero
@@ -2236,7 +2236,7 @@ EfiConfigKeywordHandlerSetData (
@retval EFI_SUCCESS The specified action was completed successfully.
@retval EFI_INVALID_PARAMETER One or more of the following are TRUE:
- 1.Progress, ProgressErr, or Resuts is NULL.
+ 1.Progress, ProgressErr, or Results is NULL.
2.Parsing of the KeywordString resulted in an error. See
Progress and ProgressErr for more data.
@@ -2286,7 +2286,7 @@ HiiCompareLanguage (
;
/**
- Retrieves a pointer to the a Null-terminated ASCII string containing the list
+ Retrieves a pointer to a Null-terminated ASCII string containing the list
of languages that an HII handle in the HII Database supports. The returned
string is allocated using AllocatePool(). The caller is responsible for freeing
the returned string using FreePool(). The format of the returned string follows
@@ -2297,9 +2297,9 @@ HiiCompareLanguage (
@param[in] HiiHandle A handle that was previously registered in the HII Database.
@retval NULL HiiHandle is not registered in the HII database
- @retval NULL There are not enough resources available to retrieve the suported
+ @retval NULL There are not enough resources available to retrieve the supported
languages.
- @retval NULL The list of suported languages could not be retrieved.
+ @retval NULL The list of supported languages could not be retrieved.
@retval Other A pointer to the Null-terminated ASCII string of supported languages.
**/
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
index e55aa293cb..d5a7488a79 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
@@ -106,7 +106,7 @@ ReferFontInfoLocally (
@param StringSrc Points to current null-terminated string.
@param BufferSize Length of the buffer.
- @retval EFI_SUCCESS The string text was outputed successfully.
+ @retval EFI_SUCCESS The string text was outputted successfully.
@retval EFI_BUFFER_TOO_SMALL Buffer is insufficient to store the found string
text. BufferSize is updated to the required buffer
size.
@@ -150,7 +150,7 @@ ConvertToUnicodeText (
@param StringSrc Points to current null-terminated string.
@param BufferSize Length of the buffer.
- @retval EFI_SUCCESS The string text was outputed successfully.
+ @retval EFI_SUCCESS The string text was outputted successfully.
@retval EFI_BUFFER_TOO_SMALL Buffer is insufficient to store the found string
text. BufferSize is updated to the required buffer
size.
@@ -199,7 +199,7 @@ GetUnicodeStringTextOrSize (
@param StringFontInfo Buffer to record the output font info. It's
caller's responsibility to free this buffer.
- @retval EFI_SUCCESS The string font is outputed successfully.
+ @retval EFI_SUCCESS The string font is outputted successfully.
@retval EFI_NOT_FOUND The specified font id does not exist.
**/
@@ -719,7 +719,7 @@ GetStringWorker (
@param StringBlockAddr Output the block address of found string block.
@param FontBlock whether this string block has font info.
- @retval EFI_SUCCESS The string font is outputed successfully.
+ @retval EFI_SUCCESS The string font is outputted successfully.
@retval EFI_OUT_OF_RESOURCES NO resource for the memory to save the new string block.
**/
diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
index 6161274a94..477c914059 100644
--- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
+++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
@@ -551,7 +551,7 @@ GenPerformMemoryTest (
//
// In extensive mode the boundary of "mCurrentRange->Length" may will lost
- // some range that is not Private->BdsBlockSize size boundry, so need
+ // some range that is not Private->BdsBlockSize size boundary, so need
// the software mechanism to confirm all memory location be covered.
//
if (mCurrentAddress < (mCurrentRange->StartAddress + mCurrentRange->Length)) {
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
index 7b77fd386b..ca53fd5077 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
@@ -684,7 +684,7 @@ IScsiFormCallback (
Private = ISCSI_FORM_CALLBACK_INFO_FROM_FORM_CALLBACK (This);
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
IfrNvData = AllocateZeroPool (sizeof (ISCSI_CONFIG_IFR_NVDATA));
ASSERT (IfrNvData != NULL);
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
index 1ac79e7ca1..14f13f8fce 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
@@ -1815,7 +1815,7 @@ IScsiNewDataSegment (
@param[in] Packet The EXT SCSI PASS THRU request packet containing the SCSI command.
@param[in] Lun The LUN.
- @param[in] Tcb The tcb assocated with this SCSI command.
+ @param[in] Tcb The tcb associated with this SCSI command.
@return The created iSCSI SCSI command PDU.
@retval NULL Other errors as indicated.
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
index 97b555b5fe..d868957896 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
@@ -901,7 +901,7 @@ Exit:
@param[in] Instance The IP4 config2 instance to configure
- @retval EFI_SUCCESS The auto configuration is successfull started
+ @retval EFI_SUCCESS The auto configuration is successfully started
@retval Others Failed to start auto configuration.
**/
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
index b6da11f8ec..a431f6f732 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
@@ -235,7 +235,7 @@ Ip4Config2ReadConfigData (
@param[in] Instance The IP4 config2 instance to configure.
- @retval EFI_SUCCESS The auto configuration is successfull started.
+ @retval EFI_SUCCESS The auto configuration is successfully started.
@retval Others Failed to start auto configuration.
**/
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
index 381dcb1e97..ee771e3d6d 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
@@ -1134,7 +1134,7 @@ Ip4FormCallback (
}
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
if (!HiiGetBrowserData (&gIp4Config2NvDataGuid, mIp4Config2StorageName, sizeof (IP4_CONFIG2_IFR_NVDATA), (UINT8 *) IfrFormNvData)) {
FreePool (IfrFormNvData);
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
index 3025790a20..fc7827325f 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
@@ -150,7 +150,7 @@ SockTcpDataToRcv (
@param Sock Pointer to the socket.
@param TcpRxData Pointer to the application provided receive buffer.
@param RcvdBytes The maximum length of the data can be copied.
- @param IsOOB If TURE the data is OOB, FALSE the data is normal.
+ @param IsOOB If TRUE the data is OOB, FALSE the data is normal.
**/
VOID
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
index 52472d4440..4a5a845b0e 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
@@ -66,7 +66,7 @@ SockProcessTcpSndData (
@param Sock Pointer to the socket.
@param TcpRxData Pointer to the application provided receive buffer.
@param RcvdBytes The maximum length of the data can be copied.
- @param IsOOB If TURE the data is OOB, else the data is normal.
+ @param IsOOB If TRUE the data is OOB, else the data is normal.
**/
VOID
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
index 1274d6720d..eddd75a162 100644
--- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
+++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
@@ -541,7 +541,7 @@ UpdateDeviceSelectPage (
@param ImageHandle The Image handle
@return Handle to Driver binding
- @retval NULL The paramter is not valid or the driver binding handle is not found.
+ @retval NULL The parameter is not valid or the driver binding handle is not found.
**/
EFI_HANDLE
@@ -1577,7 +1577,7 @@ DriverLoaded (
}
/**
- The driver Entry Point. The funciton will export a disk device class formset and
+ The driver Entry Point. The function will export a disk device class formset and
its callback function to hii database.
@param ImageHandle The firmware allocated handle for the EFI image.
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
index 7d880e6277..86c34be88d 100644
--- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
+++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
@@ -147,7 +147,7 @@ CheckExistInStack (
According to a file GUID, check a Fv file device path is valid. If it is invalid,
try to return the valid device path.
- FV address maybe changes for memory layout adjust from time to time, use this funciton
+ FV address maybe changes for memory layout adjust from time to time, use this function
could promise the Fv file device path is right.
@param DevicePath On input, the FV file device path to check
@@ -1115,7 +1115,7 @@ SaveOverridesMapping (
If Binding protocol is not found, it is set to NULL.
@return Pointer into the Binding Protocol interface
- @retval NULL The paramter is not valid or the binding protocol is not found.
+ @retval NULL The parameter is not valid or the binding protocol is not found.
**/
EFI_DRIVER_BINDING_PROTOCOL *
@@ -1315,7 +1315,7 @@ GetDriverFromMapping (
//
if (CheckExistInStack (OverrideItem->ControllerDevicePath)) {
//
- // There is a dependecy dead loop if the ControllerDevicePath appear in stack twice
+ // There is a dependency dead loop if the ControllerDevicePath appear in stack twice
//
return EFI_UNSUPPORTED;
}
@@ -1337,7 +1337,7 @@ GetDriverFromMapping (
// If the image device path contains an FV node, check the FV file device path is valid.
// If it is invalid, try to return the valid device path.
// FV address maybe changes for memory layout adjust from time to time,
- // use this funciton could promise the FV file device path is right.
+ // use this function could promise the FV file device path is right.
//
Status = UpdateFvFileDevicePath (&TempDriverImagePath, NULL, CallerImageHandle);
if (!EFI_ERROR (Status)) {
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 6856cc5d96..0c5d1b4018 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -1937,8 +1937,8 @@ ReconnectController (
@param Action The action request.
@param SkipSaveOrDiscard Whether skip save or discard action.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessCallBackFunction (
@@ -2247,8 +2247,8 @@ ProcessCallBackFunction (
@param Statement The Question which need to call.
@param FormSet The formset this question belong to.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessRetrieveForQuestion (
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
index cc9f431e3b..f1accdf841 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
@@ -1222,8 +1222,8 @@ IsNvUpdateRequiredForFormSet (
@param Action The action request.
@param SkipSaveOrDiscard Whether skip save or discard action.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessCallBackFunction (
@@ -1245,8 +1245,8 @@ ProcessCallBackFunction (
@param Statement The Question which need to call.
@param FormSet The formset this question belong to.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessRetrieveForQuestion (
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
index 461b0fc885..d06317ca9c 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
@@ -190,7 +190,7 @@ SetVariableCheckHandlerMorLock (
//
if (DataSize == MOR_LOCK_V1_SIZE) {
//
- // V1 - lock permenantly
+ // V1 - lock permanently
//
if (*(UINT8 *)Data == MOR_LOCK_DATA_UNLOCKED) {
//
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
index 5c224b9737..55df13191b 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
@@ -389,7 +389,7 @@ ReleaseLockOnlyAtBootTime (
);
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -472,7 +472,7 @@ VariableWriteServiceInitialize (
);
/**
- Retrive the SMM Fault Tolerent Write protocol interface.
+ Retrieve the SMM Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of SMM Ftw protocol
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
index dfed03133e..3d3cd24e0d 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
@@ -117,7 +117,7 @@ ReleaseLockOnlyAtBootTime (
}
/**
- Retrive the Fault Tolerent Write protocol interface.
+ Retrieve the Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of Ftw protocol
@@ -145,7 +145,7 @@ GetFtwProtocol (
}
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
index 2ceba37904..eafb53322e 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
@@ -199,7 +199,7 @@ ReleaseLockOnlyAtBootTime (
}
/**
- Retrive the SMM Fault Tolerent Write protocol interface.
+ Retrieve the SMM Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of SMM Ftw protocol
@@ -228,7 +228,7 @@ GetFtwProtocol (
/**
- Retrive the SMM FVB protocol interface by HANDLE.
+ Retrieve the SMM FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of SMM FVB protocol that provides services for
reading, writing, and erasing the target block.
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
index b018eb2ae1..6dedfbf702 100644
--- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
@@ -75,7 +75,7 @@ WatchdogTimerDriverExpires (
mWatchdogTimerNotifyFunction (mWatchdogTimerPeriod);
}
- DEBUG ((EFI_D_ERROR, "Watchdog Timer reseting system\n"));
+ DEBUG ((EFI_D_ERROR, "Watchdog Timer resetting system\n"));
//
// Reset the platform