summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
diff options
context:
space:
mode:
authorlushifex <shifeix.a.lu@intel.com>2017-09-04 16:22:16 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:46:06 +0800
commite323321e2e36b876e62da2b3a9056795180e5f48 (patch)
tree13837f2b70ae954cee456fddb61b8360d1d8764f /Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
parentc365ab11ecc241e56f09b57aff187a442b76907a (diff)
downloadedk2-platforms-e323321e2e36b876e62da2b3a9056795180e5f48.tar.xz
Vlv2TbltDevicePkg: Upgrade core to UDK2017.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c')
-rw-r--r--Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c b/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
index 70ad07e600..1f2e93702a 100644
--- a/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
+++ b/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
@@ -35,7 +35,7 @@ Abstract:
#include <PiDxe.h>
#include <Protocol/TcgService.h>
-#include <Protocol/FirmwareVolume.h>
+#include <Protocol/FirmwareVolume2.h>
#include "AcpiPlatform.h"
#include "AcpiPlatformHooks.h"
#include "AcpiPlatformHooksLib.h"
@@ -156,7 +156,7 @@ LocateSupportProtocol (
//
// See if it has the ACPI storage file.
//
- Status = ((EFI_FIRMWARE_VOLUME_PROTOCOL *) (*Instance))->ReadFile (
+ Status = ((EFI_FIRMWARE_VOLUME2_PROTOCOL *) (*Instance))->ReadFile (
*Instance,
&gEfiAcpiTableStorageGuid,
NULL,
@@ -775,12 +775,12 @@ AcpiPlatformEntryPoint (
EFI_STATUS Status;
EFI_STATUS AcpiStatus;
EFI_ACPI_SUPPORT_PROTOCOL *AcpiSupport;
- EFI_FIRMWARE_VOLUME_PROTOCOL *FwVol;
+ EFI_FIRMWARE_VOLUME2_PROTOCOL *FwVol;
INTN Instance;
EFI_ACPI_COMMON_HEADER *CurrentTable;
UINTN TableHandle;
UINT32 FvStatus;
- UINT32 Size;
+ UINTN Size;
EFI_EVENT Event;
EFI_ACPI_TABLE_VERSION TableVersion;
UINTN VarSize;
@@ -848,7 +848,7 @@ AcpiPlatformEntryPoint (
//
// Locate the firmware volume protocol.
//
- Status = LocateSupportProtocol (&gEfiFirmwareVolumeProtocolGuid, (VOID **) &FwVol, 1);
+ Status = LocateSupportProtocol (&gEfiFirmwareVolume2ProtocolGuid, (VOID **) &FwVol, 1);
ASSERT_EFI_ERROR (Status);
//