]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.c
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.c
index e646f86dd827aab16b601c26a4618d751cb72009..554af2281e1c84d578e39518c538a5d4f2032c37 100644 (file)
@@ -5,8 +5,8 @@
   EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
   and print messages on the console output and standard error devices.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -456,9 +456,9 @@ EfiReleaseLock (
                                function.\r
 \r
   @retval EFI_SUCCESS          ControllerHandle is managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
   @retval EFI_UNSUPPORTED      ControllerHandle is not managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -581,7 +581,7 @@ EfiTestChildHandle (
 \r
   @retval EFI_SUCCESS             The Unicode string that matches the language \r
                                   specified by Language was found\r
-                                  in the table of Unicoide strings UnicodeStringTable, \r
+                                  in the table of Unicode strings UnicodeStringTable, \r
                                   and it was returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
@@ -661,7 +661,7 @@ LookupUnicodeString (
                                RFC 4646 language code for the Unicode string to look up and\r
                                return. If Iso639Language is TRUE, then this ASCII string is\r
                                not assumed to be Null-terminated, and only the first three\r
-                               chacters are used. If Iso639Language is FALSE, then this ASCII\r
+                               characters are used. If Iso639Language is FALSE, then this ASCII\r
                                string must be Null-terminated. \r
   @param  SupportedLanguages   A pointer to a Null-terminated ASCII string that contains a\r
                                set of ISO 639-2 or RFC 4646 language codes that the Unicode\r
@@ -1191,19 +1191,20 @@ FreeUnicodeStringTable (
 }\r
 \r
 /**\r
-Returns a pointer to an allocated buffer that contains the contents of a \r
-variable retrieved through the UEFI Runtime Service GetVariable().  The \r
-returned buffer is allocated using AllocatePool().  The caller is responsible\r
-for freeing tis buffer with FreePool().\r
+  Returns a pointer to an allocated buffer that contains the contents of a \r
+  variable retrieved through the UEFI Runtime Service GetVariable().  The \r
+  returned buffer is allocated using AllocatePool().  The caller is responsible\r
+  for freeing this buffer with FreePool().\r
 \r
-If Name is NULL, then ASSERT().\r
-If Guid is NULL, then ASSERT().\r
+  If Name is NULL, then ASSERT().\r
+  If Guid is NULL, then ASSERT().\r
 \r
-@param[in]  Name  Pointer to a Null-terminated Unicode string.\r
-@param[in]  Guid  Pointer to an EFI_GUID structure\r
+  @param[in]  Name  Pointer to a Null-terminated Unicode string.\r
+  @param[in]  Guid  Pointer to an EFI_GUID structure\r
 \r
-@retval NULL   The variable could not be retrieved.\r
-@retval Other  A pointer to allocated buffer containing the variable contents\r
+  @retval NULL   The variable could not be retrieved.\r
+  @retval NULL   There are not enough resources available for the variable contents.\r
+  @retval Other  A pointer to allocated buffer containing the variable contents.\r
 \r
 **/\r
 VOID *\r