Remove ASSERT() if ReadOnlyVariable2 PPI is not present. Instead, skip variable read if the PPI is not present.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5312 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2008-05-29 23:09:04 +00:00
parent a163442495
commit 1ad76c3466
1 changed files with 19 additions and 20 deletions

View File

@ -276,8 +276,7 @@ DxeLoadCore (
NULL,
(VOID **)&Variable
);
ASSERT_EFI_ERROR (Status);
if (!EFI_ERROR (Status)) {
DataSize = sizeof (MemoryData);
Status = Variable->GetVariable (
Variable,
@ -287,7 +286,6 @@ DxeLoadCore (
&DataSize,
&MemoryData
);
if (!EFI_ERROR (Status)) {
//
// Build the GUID'd HOB for DXE
@ -298,6 +296,7 @@ DxeLoadCore (
DataSize
);
}
}
//
// Look in all the FVs present in PEI and find the DXE Core