git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@149 6f19259b-4bc3-4df7-8a09-765794883524

This commit is contained in:
lgao4 2006-05-14 09:14:06 +00:00
parent 64fe104864
commit d4864e2350
1 changed files with 11 additions and 0 deletions

View File

@ -1362,6 +1362,9 @@ Returns:
UINTN Index;
UINTN Index2;
BOOLEAN Found;
CHAR16 StrTemp[100];
UINT16 *OptionBuffer;
UINTN OptionSize;
BootOrderListSize = 0;
BootOrderList = NULL;
@ -1388,6 +1391,14 @@ Returns:
}
if (Found) {
UnicodeSPrint (StrTemp, 100, L"Boot%04x", Index);
DEBUG((EFI_D_ERROR,"INdex= %s\n", StrTemp));
OptionBuffer = BdsLibGetVariableAndSize (
StrTemp,
&gEfiGlobalVariableGuid,
&OptionSize
);
if (NULL == OptionBuffer)
break;
}
}