From e323321e2e36b876e62da2b3a9056795180e5f48 Mon Sep 17 00:00:00 2001 From: lushifex Date: Mon, 4 Sep 2017 16:22:16 +0800 Subject: Vlv2TbltDevicePkg: Upgrade core to UDK2017. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex --- Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c') 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.
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under @@ -35,7 +35,7 @@ Abstract: #include #include -#include +#include #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); // -- cgit v1.2.3