mirror of https://github.com/acidanthera/audk.git
OVMF SEC: Fix VS2005 compiler warnings
* FindPeiCore.c => FindFfsFileAndSection: remove unreachable code * SecMain.c => SecCoreStartupWithStack: confirm 64-bit to 32-bit conversion with IA32 builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9679 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f76edcfd29
commit
cb0a42901a
|
@ -217,8 +217,6 @@ FindFfsFileAndSection (
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return EFI_NOT_FOUND;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ SecCoreStartupWithStack (
|
||||||
FindPeiCoreEntryPoint (&BootFv, &PeiCoreEntryPoint);
|
FindPeiCoreEntryPoint (&BootFv, &PeiCoreEntryPoint);
|
||||||
|
|
||||||
SecCoreData->BootFirmwareVolumeBase = BootFv;
|
SecCoreData->BootFirmwareVolumeBase = BootFv;
|
||||||
SecCoreData->BootFirmwareVolumeSize = BootFv->FvLength;
|
SecCoreData->BootFirmwareVolumeSize = (UINTN) BootFv->FvLength;
|
||||||
|
|
||||||
if (PeiCoreEntryPoint != NULL) {
|
if (PeiCoreEntryPoint != NULL) {
|
||||||
DEBUG ((EFI_D_INFO,
|
DEBUG ((EFI_D_INFO,
|
||||||
|
|
Loading…
Reference in New Issue