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>
This commit is contained in:
Gary Lin 2016-10-19 15:01:12 +08:00 committed by Liming Gao
parent c4260115f0
commit 4fc0be8705
31 changed files with 47 additions and 47 deletions

View File

@ -358,7 +358,7 @@ BootScriptPciCfg2ReadWrite (
); );
} }
/** /**
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 @param Marker The variable argument list to get the opcode
and associated attributes. and associated attributes.
@ -913,7 +913,7 @@ InitializeScriptSaveOnS3SaveState (
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress; ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress;
// //
// Align buffer on section boundry // Align buffer on section boundary
// //
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);

View File

@ -249,7 +249,7 @@ extern BOOLEAN mInFrameworkUpdatePakcage;
@param Packages Pointer of HII packages. @param Packages Pointer of HII packages.
@param Handle Handle value to be returned. @param Handle Handle value to be returned.
@retval EFI_SUCCESS Pacakges has added to HII database successfully. @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL. @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/ **/
@ -268,7 +268,7 @@ HiiNewPack (
@param This Pointer of Frameowk HII protocol instance. @param This Pointer of Frameowk HII protocol instance.
@param Handle Handle value to be removed. @param Handle Handle value to be removed.
@retval EFI_SUCCESS Pacakges has added to HII database successfully. @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL. @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/ **/

View File

@ -455,7 +455,7 @@ FindStringPackAndUpdatePackListWithOnlyIfrPack (
@param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is @param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is
returned. returned.
@retval EFI_SUCCESS The Package List is registered successfull in @retval EFI_SUCCESS The Package List is registered successfully in
the database. the database.
@retval EFI_UNSUPPORTED The number of IFR package in the package list @retval EFI_UNSUPPORTED The number of IFR package in the package list
is greater than 1. is greater than 1.
@ -644,7 +644,7 @@ Done:
@param Packages Pointer of HII packages. @param Packages Pointer of HII packages.
@param Handle Handle value to be returned. @param Handle Handle value to be returned.
@retval EFI_SUCCESS Pacakges has added to HII database successfully. @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL. @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/ **/
@ -701,7 +701,7 @@ HiiNewPack (
@param This Pointer of Frameowk HII protocol instance. @param This Pointer of Frameowk HII protocol instance.
@param Handle Handle value to be removed. @param Handle Handle value to be removed.
@retval EFI_SUCCESS Pacakges has added to HII database successfully. @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL. @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/ **/

View File

@ -53,7 +53,7 @@ CONST CHAR16 FrameworkReservedVarstoreName[] = FRAMEWORK_RESERVED_VARSTORE_NAME;
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned. @param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.
The caller is responcible to free this pointer allocated. The caller is responcible to free this pointer allocated.
@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. HandleBufferLength is updated with the actual length.
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation. @retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.
@retval EFI_NOT_FOUND No matching handle could not be found in database. @retval EFI_NOT_FOUND No matching handle could not be found in database.

View File

@ -48,7 +48,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned. @param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.
The caller is responcible to free this pointer allocated. The caller is responcible to free this pointer allocated.
@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. HandleBufferLength is updated with the actual length.
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation. @retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.
@retval EFI_NOT_FOUND No matching handle could not be found in database. @retval EFI_NOT_FOUND No matching handle could not be found in database.

View File

@ -747,7 +747,7 @@ WhoAmI (
/** /**
Checks APs' status periodically. Checks APs' status periodically.
This function is triggerred by timer perodically to check the This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode. in non-blocking mode.

View File

@ -340,7 +340,7 @@ WhoAmI (
/** /**
Checks APs' status periodically. Checks APs' status periodically.
This function is triggerred by timer perodically to check the This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode. in non-blocking mode.

View File

@ -187,7 +187,7 @@ EfiCpuid (
/*++ /*++
Routine Description: Routine Description:
Get the Cpu info by excute the CPUID instruction Get the Cpu info by execute the CPUID instruction
Arguments: Arguments:
RegisterInEax: -The input value to put into register EAX RegisterInEax: -The input value to put into register EAX
Regs: -The Output value Regs: -The Output value

View File

@ -262,12 +262,12 @@ typedef struct {
#define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT) #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)))) #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) \ #define ALIGN_VARIABLE(Value, Adjustment) \
(UINTN) Adjustment = 0; \ (UINTN) Adjustment = 0; \

View File

@ -201,7 +201,7 @@ EFI_STATUS
Handle - An array of EFI_HII_HANDLE instances returned. Handle - An array of EFI_HII_HANDLE instances returned.
Returns: Returns:
EFI_SUCCESS - The matching handles are outputed successfully. EFI_SUCCESS - The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length. HandleBufferLength is updated with the actual length.
EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that
Handle is too small to support the number of handles. 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. is too small to support the number of handles.
HandleBufferLength is updated with a value that will HandleBufferLength is updated with a value that will
enable the data to fit. 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. database.
EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL. EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.

View File

@ -28,8 +28,8 @@ Abstract:
// EFI_DEP_BEFORE - If present, it must be the first and only opcode // 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_AFTER - If present, it must be the first and only opcode
// EFI_DEP_SOR - If present, it must be the first opcode // EFI_DEP_SOR - If present, it must be the first opcode
// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression // EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
// to save time. A EFI_DEP_PUSH is evauated one an // to save time. A EFI_DEP_PUSH is evaluated one an
// replaced with EFI_DEP_REPLACE_TRUE // replaced with EFI_DEP_REPLACE_TRUE
// //
#define EFI_DEP_BEFORE 0x00 #define EFI_DEP_BEFORE 0x00

View File

@ -433,7 +433,7 @@ EFI_STATUS
Flags - Indicates if ROM found and if PC-AT. Flags - Indicates if ROM found and if PC-AT.
Returns: 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. EFI_UNSUPPORTED - Legacy Option ROM not supported.
--*/ --*/

View File

@ -74,7 +74,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported EFI_UNSUPPORTED - Not supported

View File

@ -47,7 +47,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported EFI_UNSUPPORTED - Not supported

View File

@ -182,7 +182,7 @@ EfiCpuid (
Routine Description: Routine Description:
Get the Cpu info by excute the CPUID instruction. Get the Cpu info by execute the CPUID instruction.
Arguments: Arguments:

View File

@ -184,7 +184,7 @@ EfiCpuid (
Routine Description: Routine Description:
Get the Cpu info by excute the CPUID instruction. Get the Cpu info by execute the CPUID instruction.
Arguments: Arguments:

View File

@ -1641,7 +1641,7 @@ Returns:
} }
// //
// Retrive formset storage data from Form Browser // Retrieve formset storage data from Form Browser
// //
ConfigHdr = mFakeConfigHdr; ConfigHdr = mFakeConfigHdr;
HeaderLen = EfiStrLen (ConfigHdr); HeaderLen = EfiStrLen (ConfigHdr);

View File

@ -25,7 +25,7 @@ Abstract:
/// ///
/// Define the maximum number of characters that are required to /// 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. /// terminator.
/// ///
/// Maximum Length Decimal String = 28 /// Maximum Length Decimal String = 28

View File

@ -63,7 +63,7 @@ Abstract:
by Source and SourceSize. by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch @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 @retval RETURN_INVALID_PARAMETER The source data is corrupted
**/ **/

View File

@ -321,7 +321,7 @@ GlueDecodeP (
/** /**
Reads code lengths for the Extra Set or the Position Set. 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. generate the Huffman code mapping for them.
@param Sd The global scratch data. @param Sd The global scratch data.
@ -544,7 +544,7 @@ GlueDecodeC (
Sd->mBlockSize = (UINT16) GetBits (Sd, 16); 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. // Generate the Huffman code mapping table for Extra Set.
// //
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3); 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. // Generate the Huffman code mapping table for Char&Len Set.
// //
ReadCLen (Sd); 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. // Generate the Huffman code mapping table for the Position Set.
// //
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1)); Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
@ -702,7 +702,7 @@ Done:
by Source and SourceSize. by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch @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 @retval RETURN_INVALID_PARAMETER The source data is corrupted
**/ **/

View File

@ -155,7 +155,7 @@ GlueDecodeP (
/** /**
Reads code lengths for the Extra Set or the Position Set. 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. generate the Huffman code mapping for them.
@param Sd The global scratch data. @param Sd The global scratch data.

View File

@ -58,7 +58,7 @@ IoReadWorker (
@param Width The width of the I/O operation. @param Width The width of the I/O operation.
@param Data The value to write to the I/O port. @param Data The value to write to the I/O port.
@return The paramter of Data. @return The parameter of Data.
**/ **/
UINT64 UINT64

View File

@ -96,7 +96,7 @@ IoReadWorker (
@param Width The width of the I/O operation. @param Width The width of the I/O operation.
@param Data The value to write to the I/O port. @param Data The value to write to the I/O port.
@return The paramter of Data. @return The parameter of Data.
**/ **/
UINT64 UINT64

View File

@ -825,7 +825,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -994,7 +994,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -1080,7 +1080,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -42,7 +42,7 @@ EFI_STATUS
Routine Description: Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED. This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
It allows discontiguous memory regions to be supported by the emulator. It allows discontinuous memory regions to be supported by the emulator.
It uses gSystemMemory[] and gSystemMemoryCount that were created by It uses gSystemMemory[] and gSystemMemoryCount that were created by
parsing the Windows environment variable EFI_MEMORY_SIZE. parsing the Windows environment variable EFI_MEMORY_SIZE.
The size comes from the varaible and the address comes from the call to The size comes from the varaible and the address comes from the call to

View File

@ -681,7 +681,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -849,7 +849,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -933,7 +933,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -47,7 +47,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -111,7 +111,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -65,7 +65,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -66,7 +66,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - The operation is unsupported. EFI_UNSUPPORTED - The operation is unsupported.

View File

@ -266,7 +266,7 @@ Routine Description:
<boolval> ::= true | <boolval> ::= true |
false false
The outputed binary grammer is thus: The outputted binary grammer is thus:
<depex> ::= sor <dep> | <depex> ::= sor <dep> |
before <depinst> <dep> | before <depinst> <dep> |
after <depinst> <dep> | after <depinst> <dep> |

View File

@ -644,7 +644,7 @@ Returns:
} else if (_strcmpi (Type, "LZH") == 0) { } else if (_strcmpi (Type, "LZH") == 0) {
// //
// EFI stardard compression (LZH) // EFI standard compression (LZH)
// //
CompressionType = EFI_STANDARD_COMPRESSION; CompressionType = EFI_STANDARD_COMPRESSION;
CompressFunction = (COMPRESS_FUNCTION) TianoCompress; CompressFunction = (COMPRESS_FUNCTION) TianoCompress;