Framework to UEFI 2.1 HII Thunk. The driver consume UEFI HII protocols\r
to produce a Framework HII protocol.\r
\r
-Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2008 - 2014, 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
\r
Status = ListPackageLists (EFI_HII_PACKAGE_STRINGS, NULL, &BufferLength, &Buffer);\r
if (Status == EFI_SUCCESS) {\r
+ ASSERT (Buffer != NULL);\r
for (Index = 0; Index < BufferLength / sizeof (EFI_HII_HANDLE); Index++) {\r
ThunkContext = CreateThunkContextForUefiHiiHandle (Buffer[Index]);\r
ASSERT (ThunkContext!= NULL);\r
UnicodeStrToAsciiStr (PrimaryLanguage, PrimaryLang639);\r
\r
PrimaryLang4646 = ConvertLanguagesIso639ToRfc4646 (PrimaryLang639);\r
- ASSERT_EFI_ERROR (PrimaryLang4646 != NULL);\r
+ ASSERT (PrimaryLang4646 != NULL);\r
\r
SecLangCodes4646 = HiiGetSupportedSecondaryLanguages (UefiHiiHandle, PrimaryLang4646);\r
\r