From 24990e84d32385ef72fcbd9018ed61ec3cdd84cd Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Wed, 8 May 2019 15:10:06 -0700 Subject: [PATCH] Vlv2TbltDevicePkg/AcpiPlatform: Add variable protocols to depex Add the arch protocols gEfiVariableArchProtocolGuid and gEfiVariableWriteArchProtocolGuid to the dependency expression for the AcpiPlatform module to guarantee that the variables that AcpiPlatform depends upon are set before they are used by this module. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney Reviewed-by: Zailiang Sun Reviewed-by: Yi Qian --- Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf b/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf index 8422985764..c59920db03 100644 --- a/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf +++ b/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf @@ -1,10 +1,12 @@ # # -# Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved -# +# Copyright (c) 1999 - 2019, Intel Corporation. All rights reserved +# + # SPDX-License-Identifier: BSD-2-Clause-Patent -# +# + # # # Module Name: @@ -79,6 +81,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile [Depex] + gEfiVariableArchProtocolGuid AND + gEfiVariableWriteArchProtocolGuid AND gEfiAcpiSupportProtocolGuid AND gEfiMpServiceProtocolGuid AND gEfiCpuIoProtocolGuid