diff options
author | Gary Lin <glin@suse.com> | 2016-10-19 15:01:12 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-10-21 16:40:50 +0800 |
commit | 4fc0be870536f34344eb07083acfc901ab4dcd1b (patch) | |
tree | d7d76295dd8b7853709d43365d4164e8f846f858 /EdkCompatibilityPkg/Foundation | |
parent | c4260115f0fcf23d538dc0ac90443ee954c30c6d (diff) | |
download | edk2-platforms-4fc0be870536f34344eb07083acfc901ab4dcd1b.tar.xz |
EdkCompatibilityPkg: Fix typos in comments
- excute -> execute
- Pacakges -> Packages
- successfull -> successfully
- outputed -> outputted
- triggerred -> triggered
- specifiecd -> specified
- hexidecimal -> hexadecimal
- Arrary -> Array
- Pointion -> Position
- paramter -> parameter
- stardard -> standard
- perodically -> periodically
- dependecy -> dependency
- evauated -> evaluated
- availible -> available
- boundry -> boundary
- discontiguous -> discontinuous
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 'EdkCompatibilityPkg/Foundation')
17 files changed, 26 insertions, 26 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h index 746b4c03f8..b0ec374e26 100644 --- a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h +++ b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h @@ -187,7 +187,7 @@ EfiCpuid ( /*++
Routine Description:
- Get the Cpu info by excute the CPUID instruction
+ Get the Cpu info by execute the CPUID instruction
Arguments:
RegisterInEax: -The input value to put into register EAX
Regs: -The Output value
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h index 026854a32a..81d3b00f2a 100644 --- a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h +++ b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h @@ -262,12 +262,12 @@ typedef struct { #define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
//
-// ALIGN_POINTER - aligns a pointer to the lowest boundry
+// ALIGN_POINTER - aligns a pointer to the lowest boundary
//
#define ALIGN_POINTER(p, s) ((VOID *) (p + ((s - ((UINTN) p)) & (s - 1))))
//
-// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor
+// ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor
//
#define ALIGN_VARIABLE(Value, Adjustment) \
(UINTN) Adjustment = 0; \
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h index b319aae973..0db81dd2a3 100644 --- a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h +++ b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h @@ -201,7 +201,7 @@ EFI_STATUS Handle - An array of EFI_HII_HANDLE instances returned.
Returns:
- EFI_SUCCESS - The matching handles are outputed successfully.
+ EFI_SUCCESS - The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that
Handle is too small to support the number of handles.
@@ -248,7 +248,7 @@ EFI_STATUS is too small to support the number of handles.
HandleBufferLength is updated with a value that will
enable the data to fit.
- EFI_NOT_FOUND - The specifiecd Handle could not be found in the current
+ EFI_NOT_FOUND - The specified Handle could not be found in the current
database.
EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h index 41dad6577d..5a14a13944 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h @@ -28,8 +28,8 @@ Abstract: // EFI_DEP_BEFORE - If present, it must be the first and only opcode
// EFI_DEP_AFTER - If present, it must be the first and only opcode
// EFI_DEP_SOR - If present, it must be the first opcode
-// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-// to save time. A EFI_DEP_PUSH is evauated one an
+// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+// to save time. A EFI_DEP_PUSH is evaluated one an
// replaced with EFI_DEP_REPLACE_TRUE
//
#define EFI_DEP_BEFORE 0x00
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h index e2bc45067a..46ed7785fa 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h @@ -433,7 +433,7 @@ EFI_STATUS Flags - Indicates if ROM found and if PC-AT.
Returns:
- EFI_SUCCESS - Legacy Option ROM availible for this device
+ EFI_SUCCESS - Legacy Option ROM available for this device
EFI_UNSUPPORTED - Legacy Option ROM not supported.
--*/
diff --git a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c index 03032b9804..030dadeb41 100644 --- a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c +++ b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c @@ -74,7 +74,7 @@ Arguments: Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported
diff --git a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h index 701831b1dd..d7ecb23a62 100644 --- a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h +++ b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h @@ -47,7 +47,7 @@ Arguments: Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h index 3d1089f068..1f5201ba14 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h @@ -182,7 +182,7 @@ EfiCpuid ( Routine Description:
- Get the Cpu info by excute the CPUID instruction.
+ Get the Cpu info by execute the CPUID instruction.
Arguments:
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h index 99d8a62f73..567bf37c98 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h @@ -184,7 +184,7 @@ EfiCpuid ( Routine Description:
- Get the Cpu info by excute the CPUID instruction.
+ Get the Cpu info by execute the CPUID instruction.
Arguments:
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c index 864a850d4a..366eab864b 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c @@ -1641,7 +1641,7 @@ Returns: }
//
- // Retrive formset storage data from Form Browser
+ // Retrieve formset storage data from Form Browser
//
ConfigHdr = mFakeConfigHdr;
HeaderLen = EfiStrLen (ConfigHdr);
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h index 86bd1728fb..54a870e89f 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h @@ -25,7 +25,7 @@ Abstract: ///
/// Define the maximum number of characters that are required to
-/// encode a decimal, hexidecimal, GUID, or TIME value with a NULL
+/// encode a decimal, hexadecimal, GUID, or TIME value with a NULL
/// terminator.
///
/// Maximum Length Decimal String = 28
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h index 01a3bdf957..8a0d8e1409 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h @@ -63,7 +63,7 @@ Abstract: by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch
- buffer are successull retrieved.
+ buffer are successfully retrieved.
@retval RETURN_INVALID_PARAMETER The source data is corrupted
**/
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c index a57b0b9e37..819e5f107d 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c @@ -321,7 +321,7 @@ GlueDecodeP ( /**
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.
@@ -544,7 +544,7 @@ GlueDecodeC ( 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);
@@ -553,13 +553,13 @@ GlueDecodeC ( }
//
- // 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));
@@ -702,7 +702,7 @@ Done: by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch
- buffer are successull retrieved.
+ buffer are successfully retrieved.
@retval RETURN_INVALID_PARAMETER The source data is corrupted
**/
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h index eb7f20b9bc..cbd8883865 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h @@ -155,7 +155,7 @@ GlueDecodeP ( /**
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/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h index 881942bbb4..4168cecef5 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h @@ -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/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c index ce8d07b84b..b002852900 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c @@ -96,7 +96,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/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c index 6d09c6152e..595691932e 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c +++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c @@ -825,7 +825,7 @@ Arguments: Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -994,7 +994,7 @@ Arguments: Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -1080,7 +1080,7 @@ Arguments: Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
|