mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@149 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
64fe104864
commit
d4864e2350
|
@ -1362,6 +1362,9 @@ Returns:
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
UINTN Index2;
|
UINTN Index2;
|
||||||
BOOLEAN Found;
|
BOOLEAN Found;
|
||||||
|
CHAR16 StrTemp[100];
|
||||||
|
UINT16 *OptionBuffer;
|
||||||
|
UINTN OptionSize;
|
||||||
|
|
||||||
BootOrderListSize = 0;
|
BootOrderListSize = 0;
|
||||||
BootOrderList = NULL;
|
BootOrderList = NULL;
|
||||||
|
@ -1388,6 +1391,14 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Found) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue