summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:27 +0800
committerLiming Gao <liming.gao@intel.com>2016-10-21 16:40:51 +0800
commita750b4ae24ce072f7c5ced1b89c18f9cc23debc8 (patch)
tree3135ce026bf023079957a15f2dfff1fc92be5418 /MdePkg/Include
parent4fc0be870536f34344eb07083acfc901ab4dcd1b (diff)
downloadedk2-a750b4ae24ce072f7c5ced1b89c18f9cc23debc8.zip
edk2-a750b4ae24ce072f7c5ced1b89c18f9cc23debc8.tar.gz
edk2-a750b4ae24ce072f7c5ced1b89c18f9cc23debc8.tar.bz2
MdePkg: Fix typos in comments
- 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>
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h6
-rw-r--r--MdePkg/Include/Library/SmmPeriodicSmiLib.h4
-rw-r--r--MdePkg/Include/Protocol/HiiConfigKeyword.h2
-rw-r--r--MdePkg/Include/Protocol/HiiDatabase.h4
-rw-r--r--MdePkg/Include/Protocol/Kms.h10
5 files changed, 13 insertions, 13 deletions
diff --git a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
index 80ae7d3..15628a2 100644
--- a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
+++ b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
@@ -41,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE 1
//
-// TCG PP definition of return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// TCG PP definition of return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
@@ -126,4 +126,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION 128
-#endif \ No newline at end of file
+#endif
diff --git a/MdePkg/Include/Library/SmmPeriodicSmiLib.h b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
index dfdb5eb..2bad2b7 100644
--- a/MdePkg/Include/Library/SmmPeriodicSmiLib.h
+++ b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
@@ -79,7 +79,7 @@ PeriodicSmiExit (
If this function is not called from within an enabled periodic SMI handler,
then 0 is returned.
- @return The actual time in 100ns units elasped since this function was
+ @return The actual time in 100ns units elapsed since this function was
called. A value of 0 indicates an unknown amount of time.
**/
@@ -95,7 +95,7 @@ PeriodicSmiYield (
PeriodicSmiDisable().
@param[in] Context Content registered with PeriodicSmiEnable().
- @param[in] ElapsedTime The actual time in 100ns units elasped since
+ @param[in] ElapsedTime The actual time in 100ns units elapsed since
this function was called. A value of 0 indicates
an unknown amount of time.
diff --git a/MdePkg/Include/Protocol/HiiConfigKeyword.h b/MdePkg/Include/Protocol/HiiConfigKeyword.h
index 69280b8..208336c 100644
--- a/MdePkg/Include/Protocol/HiiConfigKeyword.h
+++ b/MdePkg/Include/Protocol/HiiConfigKeyword.h
@@ -152,7 +152,7 @@ EFI_STATUS
@retval EFI_SUCCESS The specified action was completed successfully.
@retval EFI_INVALID_PARAMETER One or more of the following are TRUE:
- 1.Progress, ProgressErr, or Resuts is NULL.
+ 1.Progress, ProgressErr, or Results is NULL.
2.Parsing of the KeywordString resulted in an error. See
Progress and ProgressErr for more data.
diff --git a/MdePkg/Include/Protocol/HiiDatabase.h b/MdePkg/Include/Protocol/HiiDatabase.h
index 474d840..5ba50f8 100644
--- a/MdePkg/Include/Protocol/HiiDatabase.h
+++ b/MdePkg/Include/Protocol/HiiDatabase.h
@@ -214,7 +214,7 @@ EFI_STATUS
@param Handle An array of EFI_HII_HANDLE instances returned.
- @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_BUFFER_TOO_SMALL The HandleBufferLength parameter
indicates that Handle is too
@@ -273,7 +273,7 @@ EFI_STATUS
@retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the package.
- @retval EFI_NOT_FOUND The specifiecd Handle could not be found in the
+ @retval EFI_NOT_FOUND The specified Handle could not be found in the
current database.
@retval EFI_INVALID_PARAMETER BufferSize was NULL.
diff --git a/MdePkg/Include/Protocol/Kms.h b/MdePkg/Include/Protocol/Kms.h
index 1a13755..da27096 100644
--- a/MdePkg/Include/Protocol/Kms.h
+++ b/MdePkg/Include/Protocol/Kms.h
@@ -1197,12 +1197,12 @@ struct _EFI_KMS_PROTOCOL {
///
BOOLEAN ServiceAvailable;
///
- /// TURE if and only if the service supports client identifiers. Client identifiers may be used
+ /// TRUE if and only if the service supports client identifiers. Client identifiers may be used
/// for auditing, access control or any other purpose specific to the implementation.
///
BOOLEAN ClientIdSupported;
///
- /// TURE if and only if the service requires a client identifier in order to process key requests.
+ /// TRUE if and only if the service requires a client identifier in order to process key requests.
/// FALSE otherwise.
///
BOOLEAN ClientIdRequired;
@@ -1218,7 +1218,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINT8 ClientNameStringTypes;
///
- /// TURE if only if the KMS requires a client name to be supplied to the service.
+ /// TRUE if only if the KMS requires a client name to be supplied to the service.
/// FALSE otherwise.
///
BOOLEAN ClientNameRequired;
@@ -1227,7 +1227,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINT16 ClientNameMaxCount;
///
- /// TURE if and only if the service supports arbitrary client data requests. The use of client
+ /// TRUE if and only if the service supports arbitrary client data requests. The use of client
/// data requires the caller to have specific knowledge of the individual KMS service and
/// should be used only if absolutely necessary.
/// FALSE otherwise.
@@ -1239,7 +1239,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINTN ClientDataMaxSize;
///
- /// TURE if variable length key identifiers are supported.
+ /// TRUE if variable length key identifiers are supported.
/// FALSE if a fixed length key identifier is supported.
///
BOOLEAN KeyIdVariableLenSupported;