]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/PciPlatform/PciPlatform.c
Vlv2TbltDevicePkg: ECP Cleanup.
[mirror_edk2.git] / Vlv2TbltDevicePkg / PciPlatform / PciPlatform.c
index 08f5df2a25082845b7bf9f7cabe7c4e9bc0af627..27ae9de7a0728bf0890d4507e2cb53ccc9a85bf7 100644 (file)
@@ -36,7 +36,7 @@ Abstract:
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 #include <Library/DebugLib.h>\r
-#include <Protocol/FirmwareVolume.h>\r
+#include <Protocol/FirmwareVolume2.h>\r
 #include <Library/HobLib.h>\r
 #include <IndustryStandard/Pci22.h>\r
 \r
@@ -66,12 +66,12 @@ GetRawImage (
   EFI_HANDLE                    *HandleBuffer;\r
   UINTN                         HandleCount;\r
   UINTN                         Index;\r
-  EFI_FIRMWARE_VOLUME_PROTOCOL  *Fv;\r
+  EFI_FIRMWARE_VOLUME2_PROTOCOL  *Fv;\r
   UINT32                        AuthenticationStatus;\r
 \r
   Status = gBS->LocateHandleBuffer (\r
                   ByProtocol,\r
-                  &gEfiFirmwareVolumeProtocolGuid,\r
+                  &gEfiFirmwareVolume2ProtocolGuid,\r
                   NULL,\r
                   &HandleCount,\r
                   &HandleBuffer\r
@@ -86,7 +86,7 @@ GetRawImage (
   for (Index = 0; Index < HandleCount; Index++) {\r
     Status = gBS->HandleProtocol(\r
                     HandleBuffer[Index],\r
-                    &gEfiFirmwareVolumeProtocolGuid,\r
+                    &gEfiFirmwareVolume2ProtocolGuid,\r
                     (VOID **) &Fv\r
                     );\r
 \r