]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:27 +0000 (15:01 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 21 Oct 2016 08:40:51 +0000 (16:40 +0800)
- 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>
19 files changed:
MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
MdePkg/Include/Library/SmmPeriodicSmiLib.h
MdePkg/Include/Protocol/HiiConfigKeyword.h
MdePkg/Include/Protocol/HiiDatabase.h
MdePkg/Include/Protocol/Kms.h
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
MdePkg/Library/DxeIoLibEsal/IoLib.c
MdePkg/Library/DxePciLibEsal/PciLib.c
MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c

index 80ae7d33ef3b2c3be4de8963004a31d3a7679ada..15628a2e0ec0b0d1372fdab551fd875744f9e06b 100644 (file)
@@ -41,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE                   1\r
 \r
 //\r
 #define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE                   1\r
 \r
 //\r
-// TCG PP definition of return code for Sumbit TPM Request to Pre-OS Environment\r
-// and Sumbit TPM Request to Pre-OS Environment 2\r
+// TCG PP definition of return code for Submit TPM Request to Pre-OS Environment\r
+// and Submit TPM Request to Pre-OS Environment 2\r
 //\r
 #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS                                  0\r
 #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED                          1\r
 //\r
 #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS                                  0\r
 #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED                          1\r
@@ -126,4 +126,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION                         128\r
 \r
 \r
 #define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION                         128\r
 \r
-#endif
\ No newline at end of file
+#endif\r
index dfdb5ebeb62a0180916f2e30f4c0bcbf06f47c60..2bad2b7af7920e413d27a227b98e77a146b7a1e1 100644 (file)
@@ -79,7 +79,7 @@ PeriodicSmiExit (
   If this function is not called from within an enabled periodic SMI handler, \r
   then 0 is returned.\r
 \r
   If this function is not called from within an enabled periodic SMI handler, \r
   then 0 is returned.\r
 \r
-  @return  The actual time in 100ns units elasped since this function was\r
+  @return  The actual time in 100ns units elapsed since this function was\r
            called.  A value of 0 indicates an unknown amount of time.\r
 \r
 **/\r
            called.  A value of 0 indicates an unknown amount of time.\r
 \r
 **/\r
@@ -95,7 +95,7 @@ PeriodicSmiYield (
   PeriodicSmiDisable().\r
 \r
   @param[in] Context      Content registered with PeriodicSmiEnable().\r
   PeriodicSmiDisable().\r
 \r
   @param[in] Context      Content registered with PeriodicSmiEnable().\r
-  @param[in] ElapsedTime  The actual time in 100ns units elasped since \r
+  @param[in] ElapsedTime  The actual time in 100ns units elapsed since\r
                           this function was called.  A value of 0 indicates \r
                           an unknown amount of time.\r
                             \r
                           this function was called.  A value of 0 indicates \r
                           an unknown amount of time.\r
                             \r
index 69280b88ccbd18de4fea8e8349d9e3371bdd973a..208336cb86221f777df084ab276607012e26da12 100644 (file)
@@ -152,7 +152,7 @@ EFI_STATUS
   @retval EFI_SUCCESS             The specified action was completed successfully.\r
   \r
   @retval EFI_INVALID_PARAMETER   One or more of the following are TRUE:\r
   @retval EFI_SUCCESS             The specified action was completed successfully.\r
   \r
   @retval EFI_INVALID_PARAMETER   One or more of the following are TRUE:\r
-                                  1.Progress, ProgressErr, or Resuts is NULL.\r
+                                  1.Progress, ProgressErr, or Results is NULL.\r
                                   2.Parsing of the KeywordString resulted in an error. See\r
                                     Progress and ProgressErr for more data.\r
   \r
                                   2.Parsing of the KeywordString resulted in an error. See\r
                                     Progress and ProgressErr for more data.\r
   \r
index 474d84048587806f24763ad62661810f7114046a..5ba50f8b15807300041355bee433005e3e170281 100644 (file)
@@ -214,7 +214,7 @@ EFI_STATUS
 \r
   @param Handle               An array of EFI_HII_HANDLE instances returned.\r
 \r
 \r
   @param Handle               An array of EFI_HII_HANDLE instances returned.\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_BUFFER_TOO_SMALL  The HandleBufferLength parameter\r
                                 indicates that Handle is too\r
                                 HandleBufferLength is updated with the actual length.\r
   @retval EFI_BUFFER_TOO_SMALL  The HandleBufferLength parameter\r
                                 indicates that Handle is too\r
@@ -273,7 +273,7 @@ EFI_STATUS
   \r
   @retval EFI_OUT_OF_RESOURCES  BufferSize is too small to hold the package.\r
 \r
   \r
   @retval EFI_OUT_OF_RESOURCES  BufferSize is too small to hold the package.\r
 \r
-  @retval EFI_NOT_FOUND         The specifiecd Handle could not be found in the\r
+  @retval EFI_NOT_FOUND         The specified Handle could not be found in the\r
                                 current database.\r
   \r
   @retval EFI_INVALID_PARAMETER BufferSize was NULL.\r
                                 current database.\r
   \r
   @retval EFI_INVALID_PARAMETER BufferSize was NULL.\r
index 1a1375578a8144d47d167de5da5c40deb6a77529..da27096e44be403f9e23d223c2d912f7d0c00e00 100644 (file)
@@ -1197,12 +1197,12 @@ struct _EFI_KMS_PROTOCOL {
   ///\r
   BOOLEAN                           ServiceAvailable;\r
   ///\r
   ///\r
   BOOLEAN                           ServiceAvailable;\r
   ///\r
-  /// TURE if and only if the service supports client identifiers. Client identifiers may be used\r
+  /// TRUE if and only if the service supports client identifiers. Client identifiers may be used\r
   /// for auditing, access control or any other purpose specific to the implementation.\r
   ///\r
   BOOLEAN                           ClientIdSupported;\r
   ///\r
   /// for auditing, access control or any other purpose specific to the implementation.\r
   ///\r
   BOOLEAN                           ClientIdSupported;\r
   ///\r
-  /// TURE if and only if the service requires a client identifier in order to process key requests.\r
+  /// TRUE if and only if the service requires a client identifier in order to process key requests.\r
   /// FALSE otherwise.\r
   ///\r
   BOOLEAN                           ClientIdRequired;\r
   /// FALSE otherwise.\r
   ///\r
   BOOLEAN                           ClientIdRequired;\r
@@ -1218,7 +1218,7 @@ struct _EFI_KMS_PROTOCOL {
   ///\r
   UINT8                             ClientNameStringTypes;\r
   ///\r
   ///\r
   UINT8                             ClientNameStringTypes;\r
   ///\r
-  /// TURE if only if the KMS requires a client name to be supplied to the service.\r
+  /// TRUE if only if the KMS requires a client name to be supplied to the service.\r
   /// FALSE otherwise.\r
   ///\r
   BOOLEAN                           ClientNameRequired;\r
   /// FALSE otherwise.\r
   ///\r
   BOOLEAN                           ClientNameRequired;\r
@@ -1227,7 +1227,7 @@ struct _EFI_KMS_PROTOCOL {
   ///\r
   UINT16                            ClientNameMaxCount;\r
   ///\r
   ///\r
   UINT16                            ClientNameMaxCount;\r
   ///\r
-  /// TURE if and only if the service supports arbitrary client data requests. The use of client\r
+  /// TRUE if and only if the service supports arbitrary client data requests. The use of client\r
   /// data requires the caller to have specific knowledge of the individual KMS service and\r
   /// should be used only if absolutely necessary.\r
   /// FALSE otherwise.\r
   /// data requires the caller to have specific knowledge of the individual KMS service and\r
   /// should be used only if absolutely necessary.\r
   /// FALSE otherwise.\r
@@ -1239,7 +1239,7 @@ struct _EFI_KMS_PROTOCOL {
   ///\r
   UINTN                             ClientDataMaxSize;\r
   ///\r
   ///\r
   UINTN                             ClientDataMaxSize;\r
   ///\r
-  /// TURE if variable length key identifiers are supported.\r
+  /// TRUE if variable length key identifiers are supported.\r
   /// FALSE if a fixed length key identifier is supported.\r
   ///\r
   BOOLEAN                           KeyIdVariableLenSupported;\r
   /// FALSE if a fixed length key identifier is supported.\r
   ///\r
   BOOLEAN                           KeyIdVariableLenSupported;\r
index 4b86f5076297bd166992c55277e0d9258f346353..e3b2846c0986892526b7916786311064bf73e505 100644 (file)
@@ -308,7 +308,7 @@ DecodeP (
 /**\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
@@ -508,7 +508,7 @@ DecodeC (
     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
@@ -517,13 +517,13 @@ DecodeC (
     }\r
 \r
     //\r
     }\r
 \r
     //\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
index aba510c963d29a9ea5d7f9dbc68cadefa507a3fe..4e143133714ce19cbae13751c869c574de84e311 100644 (file)
@@ -146,7 +146,7 @@ DecodeP (
 /**\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
index 567f09122d410522b9fac6550c330810d0c53412..8b8e52829b2f5e09014a7dbaf4ae33aa43281ec2 100644 (file)
@@ -179,7 +179,7 @@ ExtractGuidedSectionRegisterHandlers (
   VOID   *GuidData;\r
 \r
   //\r
   VOID   *GuidData;\r
 \r
   //\r
-  // Check input paramter.\r
+  // Check input parameter.\r
   //\r
   ASSERT (SectionGuid != NULL);\r
   ASSERT (GetInfoHandler != NULL);\r
   //\r
   ASSERT (SectionGuid != NULL);\r
   ASSERT (GetInfoHandler != NULL);\r
index 9204757ffee9f00a9df792fec97c04f496ca5cf0..110f66cd093c596ae4747aa708974bed9e3c1deb 100644 (file)
@@ -88,7 +88,7 @@ IoReadWorker (
   @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
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
index 81b28ecdd967db64e3e6f4e618da34e42e10b28b..3a58b51dcbf76a41df16d00e65fdfc3bbec0c3d3 100644 (file)
@@ -68,7 +68,7 @@ IoReadWorker (
   @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
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
index 43fcef1bae1fa0cb5fb05f0bc81778c2069d278e..28b01c905eb1d6d37c56312b504b67f1f63d11a5 100644 (file)
@@ -124,7 +124,7 @@ DxePciLibEsalReadWorker (
   This function wraps EsalPciConfigWrite function of Extended SAL PCI\r
   Services Class.\r
   It writes the PCI configuration register specified by Address with the\r
   This function wraps EsalPciConfigWrite function of Extended SAL PCI\r
   Services Class.\r
   It writes the PCI configuration register specified by Address with the\r
-  value specified by Data. The width of data is specifed by Width.\r
+  value specified by Data. The width of data is specified by Width.\r
   Data is returned.\r
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
   Data is returned.\r
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
index 07ddd8fd0a7682f8e75a368b8ecc01f5dbb0d61d..fe0fb8b624870bdd12a9c2e737b305ae4cf74a16 100644 (file)
@@ -124,7 +124,7 @@ DxePciSegmentLibEsalReadWorker (
   This function wraps EsalPciConfigWrite function of Extended SAL PCI\r
   Services Class.\r
   It writes the PCI configuration register specified by Address with the\r
   This function wraps EsalPciConfigWrite function of Extended SAL PCI\r
   Services Class.\r
   It writes the PCI configuration register specified by Address with the\r
-  value specified by Data. The width of data is specifed by Width.\r
+  value specified by Data. The width of data is specified by Width.\r
   Data is returned.\r
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
   Data is returned.\r
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
index c471ae9ab3c0fe1b2bccc85b5c4dab69b3cd8eae..d7bc98b180229c6314910b71243c3a7a2c6f44f4 100644 (file)
@@ -198,7 +198,7 @@ ExtractGuidedSectionRegisterHandlers (
   PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;\r
 \r
   //\r
   PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;\r
 \r
   //\r
-  // Check input paramter\r
+  // Check input parameter\r
   //\r
   ASSERT (SectionGuid != NULL);\r
   ASSERT (GetInfoHandler != NULL);\r
   //\r
   ASSERT (SectionGuid != NULL);\r
   ASSERT (GetInfoHandler != NULL);\r
@@ -305,7 +305,7 @@ ExtractGuidedSectionGetInfo (
   EFI_GUID *SectionDefinitionGuid;\r
   \r
   //\r
   EFI_GUID *SectionDefinitionGuid;\r
   \r
   //\r
-  // Check input paramter\r
+  // Check input parameter\r
   //\r
   ASSERT (InputSection != NULL);\r
   ASSERT (OutputBufferSize != NULL);\r
   //\r
   ASSERT (InputSection != NULL);\r
   ASSERT (OutputBufferSize != NULL);\r
index 689a2299a310d5fe2579365b80bb4f74641a7cc8..ce9121b63fd75963c0f77100ae5d81cce34e0a30 100644 (file)
@@ -90,7 +90,7 @@ PeiPciLibPciCfg2ReadWorker (
 \r
   This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
 \r
   This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
-  value specified by Data. The width of data is specifed by Width.\r
+  value specified by Data. The width of data is specified by Width.\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
index 1e55791820d4fc1c6da7082fa51205b37aad7afd..7c8a60384c49ce73495136a551f32084049ddb7f 100644 (file)
@@ -58,7 +58,7 @@ IoReadWorker (
   @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
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
index 30670bf071e669de51f0cc43bec366414a459118..937165adf9fa60ec988bedfc2cc10ec7b43558c5 100644 (file)
@@ -114,7 +114,7 @@ SmmMemoryAllocationLibDestructor (
 \r
   @param[in]  Buffer   The pointer to the buffer to be checked.\r
 \r
 \r
   @param[in]  Buffer   The pointer to the buffer to be checked.\r
 \r
-  @retval     TURE     The buffer is in SMRAM ranges.\r
+  @retval     TRUE     The buffer is in SMRAM ranges.\r
   @retval     FALSE    The buffer is out of SMRAM ranges.\r
 **/\r
 BOOLEAN\r
   @retval     FALSE    The buffer is out of SMRAM ranges.\r
 **/\r
 BOOLEAN\r
index 0b94aeb62af5735f0d465b6f941fc96ae6402467..cdd35c19470597d3c26d8ba636a6567b3cdc2247 100644 (file)
@@ -112,7 +112,7 @@ SmmPciLibPciRootBridgeIoReadWorker (
 \r
   This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
 \r
   This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
-  value specified by Data. The width of data is specifed by Width.\r
+  value specified by Data. The width of data is specified by Width.\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
index b6db31766ca9a3f171f148d2ba0ef14d80cc75e6..2016af60d87b729c755f0da52ca2bbf8290f03ba 100644 (file)
@@ -545,7 +545,7 @@ PeriodicSmiExit (
   If this function is not called from within an enabled periodic SMI handler, \r
   then 0 is returned.\r
 \r
   If this function is not called from within an enabled periodic SMI handler, \r
   then 0 is returned.\r
 \r
-  @return  The actual time in 100ns units elasped since this function was\r
+  @return  The actual time in 100ns units elapsed since this function was\r
            called.  A value of 0 indicates an unknown amount of time.\r
 \r
 **/\r
            called.  A value of 0 indicates an unknown amount of time.\r
 \r
 **/\r
index 148e12c190db7188f632f1fedaf7024bc4c5af26..a14600040c8bed7c558dbd47f2f354365b354c78 100644 (file)
@@ -114,7 +114,7 @@ DxePciLibPciRootBridgeIoReadWorker (
 \r
   This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
 \r
   This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.\r
   It writes the PCI configuration register specified by Address with the\r
-  value specified by Data. The width of data is specifed by Width.\r
+  value specified by Data. The width of data is specified by Width.\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
   Data is returned.\r
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r