- 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>
31 files changed:
- Internal function to add smbus excute opcode to the table.\r
+ Internal function to add smbus execute opcode to the table.\r
\r
@param Marker The variable argument list to get the opcode\r
and associated attributes.\r
\r
@param Marker The variable argument list to get the opcode\r
and associated attributes.\r
ASSERT_EFI_ERROR (Status);\r
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress;\r
//\r
ASSERT_EFI_ERROR (Status);\r
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress;\r
//\r
- // Align buffer on section boundry\r
+ // Align buffer on section boundary\r
//\r
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;\r
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);\r
//\r
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;\r
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);\r
@param Packages Pointer of HII packages.\r
@param Handle Handle value to be returned.\r
\r
@param Packages Pointer of HII packages.\r
@param Handle Handle value to be returned.\r
\r
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.\r
+ @retval EFI_SUCCESS Packages has added to HII database successfully.\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@param This Pointer of Frameowk HII protocol instance.\r
@param Handle Handle value to be removed.\r
\r
@param This Pointer of Frameowk HII protocol instance.\r
@param Handle Handle value to be removed.\r
\r
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.\r
+ @retval EFI_SUCCESS Packages has added to HII database successfully.\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is\r
returned.\r
\r
@param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is\r
returned.\r
\r
- @retval EFI_SUCCESS The Package List is registered successfull in \r
+ @retval EFI_SUCCESS The Package List is registered successfully in\r
the database.\r
@retval EFI_UNSUPPORTED The number of IFR package in the package list\r
is greater than 1.\r
the database.\r
@retval EFI_UNSUPPORTED The number of IFR package in the package list\r
is greater than 1.\r
@param Packages Pointer of HII packages.\r
@param Handle Handle value to be returned.\r
\r
@param Packages Pointer of HII packages.\r
@param Handle Handle value to be returned.\r
\r
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.\r
+ @retval EFI_SUCCESS Packages has added to HII database successfully.\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@param This Pointer of Frameowk HII protocol instance.\r
@param Handle Handle value to be removed.\r
\r
@param This Pointer of Frameowk HII protocol instance.\r
@param Handle Handle value to be removed.\r
\r
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.\r
+ @retval EFI_SUCCESS Packages has added to HII database successfully.\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.\r
\r
**/\r
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.\r
The caller is responcible to free this pointer allocated.\r
\r
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.\r
The caller is responcible to free this pointer allocated.\r
\r
- @retval EFI_SUCCESS The matching handles are outputed successfully.\r
+ @retval EFI_SUCCESS The matching handles are outputted successfully.\r
HandleBufferLength is updated with the actual length.\r
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.\r
@retval EFI_NOT_FOUND No matching handle could not be found in database.\r
HandleBufferLength is updated with the actual length.\r
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.\r
@retval EFI_NOT_FOUND No matching handle could not be found in database.\r
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.\r
The caller is responcible to free this pointer allocated.\r
\r
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.\r
The caller is responcible to free this pointer allocated.\r
\r
- @retval EFI_SUCCESS The matching handles are outputed successfully.\r
+ @retval EFI_SUCCESS The matching handles are outputted successfully.\r
HandleBufferLength is updated with the actual length.\r
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.\r
@retval EFI_NOT_FOUND No matching handle could not be found in database.\r
HandleBufferLength is updated with the actual length.\r
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.\r
@retval EFI_NOT_FOUND No matching handle could not be found in database.\r
/**\r
Checks APs' status periodically.\r
\r
/**\r
Checks APs' status periodically.\r
\r
- This function is triggerred by timer perodically to check the\r
+ This function is triggered by timer periodically to check the\r
state of APs for StartupAllAPs() and StartupThisAP() executed\r
in non-blocking mode.\r
\r
state of APs for StartupAllAPs() and StartupThisAP() executed\r
in non-blocking mode.\r
\r
/**\r
Checks APs' status periodically.\r
\r
/**\r
Checks APs' status periodically.\r
\r
- This function is triggerred by timer perodically to check the\r
+ This function is triggered by timer periodically to check the\r
state of APs for StartupAllAPs() and StartupThisAP() executed\r
in non-blocking mode.\r
\r
state of APs for StartupAllAPs() and StartupThisAP() executed\r
in non-blocking mode.\r
\r
\r
/*++ \r
Routine Description: \r
\r
/*++ \r
Routine Description: \r
- Get the Cpu info by excute the CPUID instruction\r
+ Get the Cpu info by execute the CPUID instruction\r
Arguments: \r
RegisterInEax: -The input value to put into register EAX\r
Regs: -The Output value \r
Arguments: \r
RegisterInEax: -The input value to put into register EAX\r
Regs: -The Output value \r
#define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)\r
\r
//\r
#define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)\r
\r
//\r
-// ALIGN_POINTER - aligns a pointer to the lowest boundry\r
+// ALIGN_POINTER - aligns a pointer to the lowest boundary\r
//\r
#define ALIGN_POINTER(p, s) ((VOID *) (p + ((s - ((UINTN) p)) & (s - 1))))\r
\r
//\r
//\r
#define ALIGN_POINTER(p, s) ((VOID *) (p + ((s - ((UINTN) p)) & (s - 1))))\r
\r
//\r
-// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor\r
+// ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor\r
//\r
#define ALIGN_VARIABLE(Value, Adjustment) \\r
(UINTN) Adjustment = 0; \\r
//\r
#define ALIGN_VARIABLE(Value, Adjustment) \\r
(UINTN) Adjustment = 0; \\r
Handle - An array of EFI_HII_HANDLE instances returned.\r
\r
Returns:\r
Handle - An array of EFI_HII_HANDLE instances returned.\r
\r
Returns:\r
- EFI_SUCCESS - The matching handles are outputed successfully.\r
+ EFI_SUCCESS - The matching handles are outputted successfully.\r
HandleBufferLength is updated with the actual length.\r
EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that\r
Handle is too small to support the number of handles.\r
HandleBufferLength is updated with the actual length.\r
EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that\r
Handle is too small to support the number of handles.\r
is too small to support the number of handles. \r
HandleBufferLength is updated with a value that will\r
enable the data to fit.\r
is too small to support the number of handles. \r
HandleBufferLength is updated with a value that will\r
enable the data to fit.\r
- EFI_NOT_FOUND - The specifiecd Handle could not be found in the current\r
+ EFI_NOT_FOUND - The specified Handle could not be found in the current\r
database.\r
EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.\r
\r
database.\r
EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.\r
\r
// EFI_DEP_BEFORE - If present, it must be the first and only opcode\r
// EFI_DEP_AFTER - If present, it must be the first and only opcode\r
// EFI_DEP_SOR - If present, it must be the first opcode\r
// EFI_DEP_BEFORE - If present, it must be the first and only opcode\r
// EFI_DEP_AFTER - If present, it must be the first and only opcode\r
// EFI_DEP_SOR - If present, it must be the first opcode\r
-// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression\r
-// to save time. A EFI_DEP_PUSH is evauated one an\r
+// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression\r
+// to save time. A EFI_DEP_PUSH is evaluated one an\r
// replaced with EFI_DEP_REPLACE_TRUE\r
//\r
#define EFI_DEP_BEFORE 0x00\r
// replaced with EFI_DEP_REPLACE_TRUE\r
//\r
#define EFI_DEP_BEFORE 0x00\r
Flags - Indicates if ROM found and if PC-AT.\r
\r
Returns:\r
Flags - Indicates if ROM found and if PC-AT.\r
\r
Returns:\r
- EFI_SUCCESS - Legacy Option ROM availible for this device\r
+ EFI_SUCCESS - Legacy Option ROM available for this device\r
EFI_UNSUPPORTED - Legacy Option ROM not supported.\r
\r
--*/\r
EFI_UNSUPPORTED - Legacy Option ROM not supported.\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - Not supported\r
\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - Not supported\r
\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - Not supported\r
\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - Not supported\r
\r
\r
Routine Description: \r
\r
\r
Routine Description: \r
\r
- Get the Cpu info by excute the CPUID instruction.\r
+ Get the Cpu info by execute the CPUID instruction.\r
\r
Routine Description: \r
\r
\r
Routine Description: \r
\r
- Get the Cpu info by excute the CPUID instruction.\r
+ Get the Cpu info by execute the CPUID instruction.\r
- // Retrive formset storage data from Form Browser\r
+ // Retrieve formset storage data from Form Browser\r
//\r
ConfigHdr = mFakeConfigHdr;\r
HeaderLen = EfiStrLen (ConfigHdr);\r
//\r
ConfigHdr = mFakeConfigHdr;\r
HeaderLen = EfiStrLen (ConfigHdr);\r
\r
///\r
/// Define the maximum number of characters that are required to\r
\r
///\r
/// Define the maximum number of characters that are required to\r
-/// encode a decimal, hexidecimal, GUID, or TIME value with a NULL \r
+/// encode a decimal, hexadecimal, GUID, or TIME value with a NULL\r
/// terminator.\r
/// \r
/// Maximum Length Decimal String = 28\r
/// terminator.\r
/// \r
/// Maximum Length Decimal String = 28\r
by Source and SourceSize.\r
\r
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch \r
by Source and SourceSize.\r
\r
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch \r
- buffer are successull retrieved.\r
+ buffer are successfully retrieved.\r
@retval RETURN_INVALID_PARAMETER The source data is corrupted\r
\r
**/\r
@retval RETURN_INVALID_PARAMETER The source data is corrupted\r
\r
**/\r
/**\r
Reads code lengths for the Extra Set or the Position Set.\r
\r
/**\r
Reads code lengths for the Extra Set or the Position Set.\r
\r
- Read in the Extra Set or Pointion Set Length Arrary, then\r
+ Read in the Extra Set or Position Set Length Array, then\r
generate the Huffman code mapping for them.\r
\r
@param Sd The global scratch data.\r
generate the Huffman code mapping for them.\r
\r
@param Sd The global scratch data.\r
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);\r
\r
//\r
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);\r
\r
//\r
- // Read in the Extra Set Code Length Arrary,\r
+ // Read in the Extra Set Code Length Array,\r
// Generate the Huffman code mapping table for Extra Set.\r
//\r
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);\r
// Generate the Huffman code mapping table for Extra Set.\r
//\r
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);\r
- // Read in and decode the Char&Len Set Code Length Arrary,\r
+ // Read in and decode the Char&Len Set Code Length Array,\r
// Generate the Huffman code mapping table for Char&Len Set.\r
//\r
ReadCLen (Sd);\r
\r
//\r
// Generate the Huffman code mapping table for Char&Len Set.\r
//\r
ReadCLen (Sd);\r
\r
//\r
- // Read in the Position Set Code Length Arrary, \r
+ // Read in the Position Set Code Length Array,\r
// Generate the Huffman code mapping table for the Position Set.\r
//\r
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));\r
// Generate the Huffman code mapping table for the Position Set.\r
//\r
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));\r
by Source and SourceSize.\r
\r
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch \r
by Source and SourceSize.\r
\r
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch \r
- buffer are successull retrieved.\r
+ buffer are successfully retrieved.\r
@retval RETURN_INVALID_PARAMETER The source data is corrupted\r
\r
**/\r
@retval RETURN_INVALID_PARAMETER The source data is corrupted\r
\r
**/\r
/**\r
Reads code lengths for the Extra Set or the Position Set.\r
\r
/**\r
Reads code lengths for the Extra Set or the Position Set.\r
\r
- Read in the Extra Set or Pointion Set Length Arrary, then\r
+ Read in the Extra Set or Position Set Length Array, then\r
generate the Huffman code mapping for them.\r
\r
@param Sd The global scratch data.\r
generate the Huffman code mapping for them.\r
\r
@param Sd The global scratch data.\r
@param Width The width of the I/O operation.\r
@param Data The value to write to the I/O port.\r
\r
@param Width The width of the I/O operation.\r
@param Data The value to write to the I/O port.\r
\r
- @return The paramter of Data.\r
+ @return The parameter of Data.\r
@param Width The width of the I/O operation.\r
@param Data The value to write to the I/O port.\r
\r
@param Width The width of the I/O operation.\r
@param Data The value to write to the I/O port.\r
\r
- @return The paramter of Data.\r
+ @return The parameter of Data.\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
\r
Routine Description:\r
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.\r
\r
Routine Description:\r
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.\r
- It allows discontiguous memory regions to be supported by the emulator.\r
+ It allows discontinuous memory regions to be supported by the emulator.\r
It uses gSystemMemory[] and gSystemMemoryCount that were created by\r
parsing the Windows environment variable EFI_MEMORY_SIZE.\r
The size comes from the varaible and the address comes from the call to\r
It uses gSystemMemory[] and gSystemMemoryCount that were created by\r
parsing the Windows environment variable EFI_MEMORY_SIZE.\r
The size comes from the varaible and the address comes from the call to\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
\r
--*/\r
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - The operation is unsupported.\r
\r
EFI_INVALID_PARAMETER - The source data is corrupted\r
EFI_UNSUPPORTED - The operation is unsupported.\r
\r
<boolval> ::= true | \r
false\r
\r
<boolval> ::= true | \r
false\r
\r
- The outputed binary grammer is thus:\r
+ The outputted binary grammer is thus:\r
<depex> ::= sor <dep> | \r
before <depinst> <dep> | \r
after <depinst> <dep> | \r
<depex> ::= sor <dep> | \r
before <depinst> <dep> | \r
after <depinst> <dep> | \r
\r
} else if (_strcmpi (Type, "LZH") == 0) {\r
//\r
\r
} else if (_strcmpi (Type, "LZH") == 0) {\r
//\r
- // EFI stardard compression (LZH)\r
+ // EFI standard compression (LZH)\r
//\r
CompressionType = EFI_STANDARD_COMPRESSION;\r
CompressFunction = (COMPRESS_FUNCTION) TianoCompress;\r
//\r
CompressionType = EFI_STANDARD_COMPRESSION;\r
CompressFunction = (COMPRESS_FUNCTION) TianoCompress;\r