summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiLib/UefiLib.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-02 05:34:26 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-02 05:34:26 +0000
commit28d3e14ffb529238c70d86a529752d5d0e815e89 (patch)
tree669d5212703c628328fd00f2983f00046ce895f2 /MdePkg/Library/UefiLib/UefiLib.c
parentf98c4b825e8eed57859b9fbaa19380f26962ff2b (diff)
downloadedk2-platforms-28d3e14ffb529238c70d86a529752d5d0e815e89.tar.xz
Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8008 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiLib/UefiLib.c')
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c
index e646f86dd8..dd7cd53197 100644
--- a/MdePkg/Library/UefiLib/UefiLib.c
+++ b/MdePkg/Library/UefiLib/UefiLib.c
@@ -456,9 +456,9 @@ EfiReleaseLock (
function.
@retval EFI_SUCCESS ControllerHandle is managed by the driver
- specifed by DriverBindingHandle.
+ specified by DriverBindingHandle.
@retval EFI_UNSUPPORTED ControllerHandle is not managed by the driver
- specifed by DriverBindingHandle.
+ specified by DriverBindingHandle.
**/
EFI_STATUS
@@ -581,7 +581,7 @@ EfiTestChildHandle (
@retval EFI_SUCCESS The Unicode string that matches the language
specified by Language was found
- in the table of Unicoide strings UnicodeStringTable,
+ in the table of Unicode strings UnicodeStringTable,
and it was returned in UnicodeString.
@retval EFI_INVALID_PARAMETER Language is NULL.
@retval EFI_INVALID_PARAMETER UnicodeString is NULL.
@@ -661,7 +661,7 @@ LookupUnicodeString (
RFC 4646 language code for the Unicode string to look up and
return. If Iso639Language is TRUE, then this ASCII string is
not assumed to be Null-terminated, and only the first three
- chacters are used. If Iso639Language is FALSE, then this ASCII
+ characters are used. If Iso639Language is FALSE, then this ASCII
string must be Null-terminated.
@param SupportedLanguages A pointer to a Null-terminated ASCII string that contains a
set of ISO 639-2 or RFC 4646 language codes that the Unicode
@@ -1191,19 +1191,20 @@ FreeUnicodeStringTable (
}
/**
-Returns a pointer to an allocated buffer that contains the contents of a
-variable retrieved through the UEFI Runtime Service GetVariable(). The
-returned buffer is allocated using AllocatePool(). The caller is responsible
-for freeing tis buffer with FreePool().
+ Returns a pointer to an allocated buffer that contains the contents of a
+ variable retrieved through the UEFI Runtime Service GetVariable(). The
+ returned buffer is allocated using AllocatePool(). The caller is responsible
+ for freeing this buffer with FreePool().
-If Name is NULL, then ASSERT().
-If Guid is NULL, then ASSERT().
+ If Name is NULL, then ASSERT().
+ If Guid is NULL, then ASSERT().
-@param[in] Name Pointer to a Null-terminated Unicode string.
-@param[in] Guid Pointer to an EFI_GUID structure
+ @param[in] Name Pointer to a Null-terminated Unicode string.
+ @param[in] Guid Pointer to an EFI_GUID structure
-@retval NULL The variable could not be retrieved.
-@retval Other A pointer to allocated buffer containing the variable contents
+ @retval NULL The variable could not be retrieved.
+ @retval NULL There are not enough resources available for the variable contents.
+ @retval Other A pointer to allocated buffer containing the variable contents.
**/
VOID *