1## @file
2# AcpiS3Save module installs EndOfDxe callback to prepare S3 boot data.
3#
4# Copyright (c) 2006 - 2011, 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  FILE_GUID                      = 6B79BBC0-26B9-4FE9-B631-551D8AB078C6
20  MODULE_TYPE                    = DXE_DRIVER
21  VERSION_STRING                 = 1.0
22
23  ENTRY_POINT                    = InstallEndOfDxeCallback
24
25#
26# The following information is for reference only and not required by the build tools.
27#
28#  VALID_ARCHITECTURES           = IA32 X64
29#
30
31[Sources]
32  AcpiS3Save.c
33
34[Packages]
35  MdePkg/MdePkg.dec
36  MdeModulePkg/MdeModulePkg.dec
37  IntelFrameworkPkg/IntelFrameworkPkg.dec
38  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
39  OvmfPkg/OvmfPkg.dec
40
41[LibraryClasses]
42  PcdLib
43  UefiRuntimeServicesTableLib
44  UefiBootServicesTableLib
45  UefiDriverEntryPoint
46  BaseMemoryLib
47  HobLib
48  UefiLib
49  LockBoxLib
50  DebugLib
51  DxeServicesLib
52  QemuFwCfgLib
53
54[Guids]
55  gEfiAcpiVariableGuid                          # ALWAYS_CONSUMED
56  gEfiAcpiS3ContextGuid                         # ALWAYS_CONSUMED
57  gEfiAcpi20TableGuid                           # ALWAYS_CONSUMED  System Table
58  gEfiAcpi10TableGuid                           # ALWAYS_CONSUMED  System Table
59  gEfiEndOfDxeEventGroupGuid                    ## CONSUMES  ## Event
60
61[Protocols]
62  gEfiLockBoxProtocolGuid                       # PROTOCOL SOMETIMES_PRODUCED
63  gEfiLegacyBiosProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED
64  gEfiLegacyRegion2ProtocolGuid                 # PROTOCOL SOMETIMES_CONSUMED
65  gFrameworkEfiMpServiceProtocolGuid            # PROTOCOL SOMETIMES_CONSUMED
66
67[FeaturePcd]
68  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
69
70[Pcd]
71  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize    ## CONSUMES
72  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize       ## CONSUMES
73  gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
74  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire                            ## CONSUMES
75
76[Depex]
77  gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
78