1## @file
2# S3 Boot Script Save State driver.
3#
4# It will install S3 Save State protocol to store or record various IO operations to be replayed during an S3 resume.
5#
6# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
7#
8# This program and the accompanying materials are
9# licensed and made available under the terms and conditions of the BSD License
10# which accompanies this distribution.  The full text of the license may be found at
11# http://opensource.org/licenses/bsd-license.php
12#
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = S3SaveStateDxe
21  MODULE_UNI_FILE                = S3SaveStateDxe.uni
22  FILE_GUID                      = BDCE85BB-FBAA-4f4e-9264-501A2C249581
23  MODULE_TYPE                    = DXE_DRIVER
24  VERSION_STRING                 = 1.0
25
26  ENTRY_POINT                    = InitializeS3SaveState
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
32#
33
34[Sources]
35  S3SaveState.c
36  InternalS3SaveState.h
37  AcpiS3ContextSave.c
38
39[Packages]
40  MdePkg/MdePkg.dec
41  MdeModulePkg/MdeModulePkg.dec
42
43[LibraryClasses]
44  UefiBootServicesTableLib
45  MemoryAllocationLib
46  UefiDriverEntryPoint
47  BaseMemoryLib
48  BaseLib
49  S3BootScriptLib
50  PcdLib
51  HobLib
52  LockBoxLib
53
54[Guids]
55  gEfiAcpiVariableGuid                       ## PRODUCES  ## UNDEFINED # LockBox Save Data.
56  gEfiAcpiS3ContextGuid                      ## PRODUCES  ## UNDEFINED # LockBox Save Data.
57  gEfiAcpi20TableGuid                        ## SOMETIMES_CONSUMES  ## SystemTable
58  gEfiAcpi10TableGuid                        ## SOMETIMES_CONSUMES  ## SystemTable
59  gEfiEndOfDxeEventGroupGuid                 ## CONSUMES  ## Event
60
61[Protocols]
62  gEfiS3SaveStateProtocolGuid                ## PRODUCES
63  gEfiLockBoxProtocolGuid                    ## CONSUMES
64
65[FeaturePcd]
66  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode   ## CONSUMES
67
68[Pcd]
69  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable             ## CONSUMES
70  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize    ## CONSUMES
71  gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable           ## CONSUMES
72
73[Depex]
74  TRUE
75
76[UserExtensions.TianoCore."ExtraFiles"]
77  S3SaveStateDxeExtra.uni