mirror of https://github.com/acidanthera/audk.git
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:
parent
c4260115f0
commit
4fc0be8705
|
@ -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
|
||||
and associated attributes.
|
||||
|
@ -913,7 +913,7 @@ InitializeScriptSaveOnS3SaveState (
|
|||
ASSERT_EFI_ERROR (Status);
|
||||
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);
|
||||
|
|
|
@ -249,7 +249,7 @@ extern BOOLEAN mInFrameworkUpdatePakcage;
|
|||
@param Packages Pointer of HII packages.
|
||||
@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.
|
||||
|
||||
**/
|
||||
|
@ -268,7 +268,7 @@ HiiNewPack (
|
|||
@param This Pointer of Frameowk HII protocol instance.
|
||||
@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.
|
||||
|
||||
**/
|
||||
|
|
|
@ -455,7 +455,7 @@ FindStringPackAndUpdatePackListWithOnlyIfrPack (
|
|||
@param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is
|
||||
returned.
|
||||
|
||||
@retval EFI_SUCCESS The Package List is registered successfull in
|
||||
@retval EFI_SUCCESS The Package List is registered successfully in
|
||||
the database.
|
||||
@retval EFI_UNSUPPORTED The number of IFR package in the package list
|
||||
is greater than 1.
|
||||
|
@ -644,7 +644,7 @@ Done:
|
|||
@param Packages Pointer of HII packages.
|
||||
@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.
|
||||
|
||||
**/
|
||||
|
@ -701,7 +701,7 @@ HiiNewPack (
|
|||
@param This Pointer of Frameowk HII protocol instance.
|
||||
@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.
|
||||
|
||||
**/
|
||||
|
|
|
@ -53,7 +53,7 @@ CONST CHAR16 FrameworkReservedVarstoreName[] = FRAMEWORK_RESERVED_VARSTORE_NAME;
|
|||
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.
|
||||
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.
|
||||
@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.
|
||||
|
|
|
@ -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.
|
||||
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.
|
||||
@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.
|
||||
|
|
|
@ -747,7 +747,7 @@ WhoAmI (
|
|||
/**
|
||||
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
|
||||
in non-blocking mode.
|
||||
|
||||
|
|
|
@ -340,7 +340,7 @@ WhoAmI (
|
|||
/**
|
||||
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
|
||||
in non-blocking mode.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
--*/
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -1641,7 +1641,7 @@ Returns:
|
|||
}
|
||||
|
||||
//
|
||||
// Retrive formset storage data from Form Browser
|
||||
// Retrieve formset storage data from Form Browser
|
||||
//
|
||||
ConfigHdr = mFakeConfigHdr;
|
||||
HeaderLen = EfiStrLen (ConfigHdr);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
**/
|
||||
|
|
|
@ -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
|
||||
|
||||
**/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
--*/
|
||||
|
|
|
@ -42,7 +42,7 @@ EFI_STATUS
|
|||
|
||||
Routine Description:
|
||||
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
|
||||
parsing the Windows environment variable EFI_MEMORY_SIZE.
|
||||
The size comes from the varaible and the address comes from the call to
|
||||
|
|
|
@ -681,7 +681,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
|
||||
|
||||
--*/
|
||||
|
@ -849,7 +849,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
|
||||
|
||||
--*/
|
||||
|
@ -933,7 +933,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
|
||||
|
||||
--*/
|
||||
|
|
|
@ -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
|
||||
|
||||
--*/
|
||||
|
@ -111,7 +111,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
|
||||
|
||||
--*/
|
||||
|
|
|
@ -65,7 +65,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
|
||||
|
||||
--*/
|
||||
|
|
|
@ -66,7 +66,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 - The operation is unsupported.
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ Routine Description:
|
|||
<boolval> ::= true |
|
||||
false
|
||||
|
||||
The outputed binary grammer is thus:
|
||||
The outputted binary grammer is thus:
|
||||
<depex> ::= sor <dep> |
|
||||
before <depinst> <dep> |
|
||||
after <depinst> <dep> |
|
||||
|
|
|
@ -644,7 +644,7 @@ Returns:
|
|||
|
||||
} else if (_strcmpi (Type, "LZH") == 0) {
|
||||
//
|
||||
// EFI stardard compression (LZH)
|
||||
// EFI standard compression (LZH)
|
||||
//
|
||||
CompressionType = EFI_STANDARD_COMPRESSION;
|
||||
CompressFunction = (COMPRESS_FUNCTION) TianoCompress;
|
||||
|
|
Loading…
Reference in New Issue