diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-14 09:14:06 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-14 09:14:06 +0000 |
commit | d4864e235043b5adacfc50b47c0a747161398a1d (patch) | |
tree | 6e3f05622248b992e92025648a53f4a3cf9df645 | |
parent | 64fe10486489c9726df5639521f620c67ec9191e (diff) | |
download | edk2-d4864e235043b5adacfc50b47c0a747161398a1d.zip edk2-d4864e235043b5adacfc50b47c0a747161398a1d.tar.gz edk2-d4864e235043b5adacfc50b47c0a747161398a1d.tar.bz2 |
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@149 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BootOption.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BootOption.c b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BootOption.c index 35187bf..3c21b12 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BootOption.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BootOption.c @@ -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;
}
}
|