]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Sec/SecMain.c
OvmfPkg: introduce virtio-scsi driver
[mirror_edk2.git] / OvmfPkg / Sec / SecMain.c
index 722b4d8a0de7f15804622b223dbf9d1f85d00a2b..3882dadd637f0e6030f26b1b99554f865a245a06 100644 (file)
@@ -1,7 +1,7 @@
 /** @file
   Main SEC phase code.  Transitions to PEI.
 
-  Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
@@ -56,7 +56,7 @@ TemporaryRamMigration (
 //
 //
 //  
-TEMPORARY_RAM_SUPPORT_PPI mTemporaryRamSupportPpi = {
+EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI mTemporaryRamSupportPpi = {
   TemporaryRamMigration
 };
 
@@ -98,11 +98,9 @@ FindMainFv (
 {
   EFI_FIRMWARE_VOLUME_HEADER  *Fv;
   UINTN                       Distance;
-  BOOLEAN                     Found;
 
   ASSERT (((UINTN) *BootFv & EFI_PAGE_MASK) == 0);
 
-  Found = FALSE;
   Fv = *BootFv;
   Distance = (UINTN) (*BootFv)->FvLength;
   do {