1## @file
2# AcpiS3Save module installs ACPI S3 Save protocol to prepare S3 boot data.
3#
4# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
5#
6# This program and the accompanying materials are
7# licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution.  The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14##
15
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = AcpiS3SaveDxe
19  MODULE_UNI_FILE                = AcpiS3SaveDxe.uni
20  FILE_GUID                      = 2BDED685-F733-455f-A840-43A22B791FB3
21  MODULE_TYPE                    = DXE_DRIVER
22  VERSION_STRING                 = 1.0
23
24  ENTRY_POINT                    = InstallAcpiS3Save
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES           = IA32 X64
30#
31
32[Sources]
33  AcpiS3Save.h
34  AcpiS3Save.c
35  AcpiVariableThunkPlatform.c
36
37[Packages]
38  MdePkg/MdePkg.dec
39  MdeModulePkg/MdeModulePkg.dec
40  IntelFrameworkPkg/IntelFrameworkPkg.dec
41  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
42
43[LibraryClasses]
44  PcdLib
45  UefiRuntimeServicesTableLib
46  UefiBootServicesTableLib
47  UefiDriverEntryPoint
48  BaseMemoryLib
49  HobLib
50  UefiLib
51  LockBoxLib
52  DebugLib
53  DxeServicesLib
54
55[Guids]
56  gEfiAcpiVariableGuid                          ## PRODUCES  ## UNDEFINED # LockBox Save Data.
57  gEfiAcpiS3ContextGuid                         ## PRODUCES  ## UNDEFINED # LockBox Save Data.
58  gEfiAcpi20TableGuid                           ## SOMETIMES_CONSUMES  ## SystemTable
59  gEfiAcpi10TableGuid                           ## SOMETIMES_CONSUMES  ## SystemTable
60  ## SOMETIMES_CONSUMES ## Variable:L"AcpiGlobalVariable"
61  ## SOMETIMES_PRODUCES ## Variable:L"AcpiGlobalVariable"
62  gEfiAcpiVariableCompatiblityGuid
63
64[Protocols]
65  gEfiAcpiS3SaveProtocolGuid                    ## PRODUCES
66  gFrameworkEfiMpServiceProtocolGuid            ## SOMETIMES_CONSUMES
67  ## NOTIFY
68  ## SOMETIMES_CONSUMES
69  gEdkiiVariableLockProtocolGuid
70
71[FeaturePcd]
72  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformCsmSupport          ## CONSUMES
73  gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport          ## CONSUMES
74  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode                 ## CONSUMES
75
76[Pcd]
77  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize    ## SOMETIMES_CONSUMES
78  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize       ## CONSUMES
79  gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable                         ## CONSUMES
80
81[Depex]
82  #
83  # Note: the extra dependency of gEfiMpServiceProtocolGuid is to ensure that ACPI variable is set by MpDxe driver before
84  # AcpiS3SaveDxe module is executed.
85  #
86  gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid AND gEfiMpServiceProtocolGuid
87
88[UserExtensions.TianoCore."ExtraFiles"]
89  AcpiS3SaveDxeExtra.uni
90