1## @file
2#  To implement Framework Boot Script Save protocol based on PI S3 Save State protocol
3#
4#  Intel's Framework Boot Script Save Protocol is replaced by S3 Save State Protocol in PI.
5#  This module produces Framework Boot Script Save protocol by consuming PI S3 Save State protocol
6#
7#  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
8#
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution. The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
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##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = BootScriptSaveOnS3SaveStateThunk
23  FILE_GUID                      = 062ACC82-1D1E-4f61-AA94-8B0C47236A3D
24  MODULE_TYPE                    = DXE_DRIVER
25  VERSION_STRING                 = 1.0
26
27  ENTRY_POINT                    = InitializeScriptSaveOnS3SaveState
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64
33#
34
35[Sources]
36  ScriptSave.c
37  ScriptSave.h
38
39[Sources.X64]
40  X64/AsmDispatchExecute.asm
41  X64/AsmDispatchExecute.S
42  X64/DispatchExecute.c
43
44[Sources.Ia32]
45  IA32/DispatchExecute.c
46
47[Packages]
48  MdePkg/MdePkg.dec
49  IntelFrameworkPkg/IntelFrameworkPkg.dec
50  MdeModulePkg/MdeModulePkg.dec
51  EdkCompatibilityPkg/EdkCompatibilityPkg.dec
52
53[LibraryClasses]
54  UefiBootServicesTableLib
55  UefiRuntimeServicesTableLib
56  UefiDriverEntryPoint
57  BaseMemoryLib
58  MemoryAllocationLib
59  DebugLib
60  BaseLib
61  PeCoffLib
62  PcdLib
63  DxeServicesLib
64  CacheMaintenanceLib
65  BaseMemoryLib
66  DevicePathLib
67  UefiLib
68
69[Protocols]
70  gEfiBootScriptSaveProtocolGuid          ## PRODUCES
71  gEfiS3SaveStateProtocolGuid             ## CONSUMES
72
73[Guids]
74  gEdkiiMemoryProfileGuid
75
76[Pcd]
77  gEfiEdkCompatibilityPkgTokenSpaceGuid.BootScriptThunkDataPtr
78  gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask
79
80[Depex]
81  gEfiS3SaveStateProtocolGuid
82
83