diff options
author | Gary Lin <glin@suse.com> | 2016-10-19 15:01:27 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-10-21 16:40:51 +0800 |
commit | a750b4ae24ce072f7c5ced1b89c18f9cc23debc8 (patch) | |
tree | 3135ce026bf023079957a15f2dfff1fc92be5418 /MdePkg/Library | |
parent | 4fc0be870536f34344eb07083acfc901ab4dcd1b (diff) | |
download | edk2-platforms-a750b4ae24ce072f7c5ced1b89c18f9cc23debc8.tar.xz |
MdePkg: Fix typos in comments
- Resuts -> Results
- outputed -> outputted
- specifiecd -> specified
- TURE -> TRUE
- specifed -> specified
- Pointion -> Position
- Arrary -> Array
- elasped -> elapsed
- paramter -> parameter
- Sumbit -> Submit
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library')
14 files changed, 18 insertions, 18 deletions
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c index 4b86f50762..e3b2846c09 100644 --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c @@ -308,7 +308,7 @@ DecodeP ( /**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
@@ -508,7 +508,7 @@ DecodeC ( Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
//
- // Read in the Extra Set Code Length Arrary,
+ // Read in the Extra Set Code Length Array,
// Generate the Huffman code mapping table for Extra Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
@@ -517,13 +517,13 @@ DecodeC ( }
//
- // Read in and decode the Char&Len Set Code Length Arrary,
+ // Read in and decode the Char&Len Set Code Length Array,
// Generate the Huffman code mapping table for Char&Len Set.
//
ReadCLen (Sd);
//
- // Read in the Position Set Code Length Arrary,
+ // Read in the Position Set Code Length Array,
// Generate the Huffman code mapping table for the Position Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h index aba510c963..4e14313371 100644 --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h @@ -146,7 +146,7 @@ DecodeP ( /**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c index 567f09122d..8b8e52829b 100644 --- a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c +++ b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c @@ -179,7 +179,7 @@ ExtractGuidedSectionRegisterHandlers ( VOID *GuidData;
//
- // Check input paramter.
+ // Check input parameter.
//
ASSERT (SectionGuid != NULL);
ASSERT (GetInfoHandler != NULL);
diff --git a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c index 9204757ffe..110f66cd09 100644 --- a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c +++ b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c @@ -88,7 +88,7 @@ IoReadWorker ( @param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/DxeIoLibEsal/IoLib.c b/MdePkg/Library/DxeIoLibEsal/IoLib.c index 81b28ecdd9..3a58b51dcb 100644 --- a/MdePkg/Library/DxeIoLibEsal/IoLib.c +++ b/MdePkg/Library/DxeIoLibEsal/IoLib.c @@ -68,7 +68,7 @@ IoReadWorker ( @param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/DxePciLibEsal/PciLib.c b/MdePkg/Library/DxePciLibEsal/PciLib.c index 43fcef1bae..28b01c905e 100644 --- a/MdePkg/Library/DxePciLibEsal/PciLib.c +++ b/MdePkg/Library/DxePciLibEsal/PciLib.c @@ -124,7 +124,7 @@ DxePciLibEsalReadWorker ( This function wraps EsalPciConfigWrite function of Extended SAL PCI
Services Class.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address Address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c index 07ddd8fd0a..fe0fb8b624 100644 --- a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c +++ b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c @@ -124,7 +124,7 @@ DxePciSegmentLibEsalReadWorker ( This function wraps EsalPciConfigWrite function of Extended SAL PCI
Services Class.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address Address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c index c471ae9ab3..d7bc98b180 100644 --- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c +++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c @@ -198,7 +198,7 @@ ExtractGuidedSectionRegisterHandlers ( PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
//
- // Check input paramter
+ // Check input parameter
//
ASSERT (SectionGuid != NULL);
ASSERT (GetInfoHandler != NULL);
@@ -305,7 +305,7 @@ ExtractGuidedSectionGetInfo ( EFI_GUID *SectionDefinitionGuid;
//
- // Check input paramter
+ // Check input parameter
//
ASSERT (InputSection != NULL);
ASSERT (OutputBufferSize != NULL);
diff --git a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c index 689a2299a3..ce9121b63f 100644 --- a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c +++ b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c @@ -90,7 +90,7 @@ PeiPciLibPciCfg2ReadWorker ( This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c index 1e55791820..7c8a60384c 100644 --- a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c +++ b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c @@ -58,7 +58,7 @@ IoReadWorker ( @param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c index 30670bf071..937165adf9 100644 --- a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c +++ b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c @@ -114,7 +114,7 @@ SmmMemoryAllocationLibDestructor ( @param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c index 0b94aeb62a..cdd35c1947 100644 --- a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c +++ b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c @@ -112,7 +112,7 @@ SmmPciLibPciRootBridgeIoReadWorker ( This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c index b6db31766c..2016af60d8 100644 --- a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c +++ b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c @@ -545,7 +545,7 @@ PeriodicSmiExit ( If this function is not called from within an enabled periodic SMI handler,
then 0 is returned.
- @return The actual time in 100ns units elasped since this function was
+ @return The actual time in 100ns units elapsed since this function was
called. A value of 0 indicates an unknown amount of time.
**/
diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c index 148e12c190..a14600040c 100644 --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c @@ -114,7 +114,7 @@ DxePciLibPciRootBridgeIoReadWorker ( This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
|