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
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
\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
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
}\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
EFIAPI\r
GetVariable (\r
- IN CONST CHAR16 *Name,\r
- IN CONST EFI_GUID *Guid\r
- )\r
+ IN CONST CHAR16 *Name,\r
+ IN CONST EFI_GUID *Guid\r
+ )\r
{\r
EFI_STATUS Status;\r
UINTN Size;\r