2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2010-01-26 02:15:26 +01:00
|
|
|
# To implement Framework Boot Script Save protocol based on PI S3 Save State protocol
|
|
|
|
#
|
|
|
|
# Intel's Framework Boot Script Save Protocol is replaced by S3 Save State Protocol in PI.
|
|
|
|
# This module produces Framework Boot Script Save protocol by consuming PI S3 Save State protocol
|
|
|
|
#
|
2014-11-12 04:30:11 +01:00
|
|
|
# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
2010-01-26 02:15:26 +01:00
|
|
|
#
|
2010-04-24 11:48:54 +02:00
|
|
|
# This program and the accompanying materials
|
2010-01-26 02:15:26 +01:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2010-01-26 02:15:26 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = BootScriptSaveOnS3SaveStateThunk
|
|
|
|
FILE_GUID = 062ACC82-1D1E-4f61-AA94-8B0C47236A3D
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = InitializeScriptSaveOnS3SaveState
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2010-12-22 05:26:08 +01:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
2010-01-26 02:15:26 +01:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2010-01-26 02:15:26 +01:00
|
|
|
ScriptSave.c
|
|
|
|
ScriptSave.h
|
|
|
|
|
2010-12-22 05:26:08 +01:00
|
|
|
[Sources.X64]
|
|
|
|
X64/AsmDispatchExecute.asm
|
2011-01-28 06:22:14 +01:00
|
|
|
X64/AsmDispatchExecute.S
|
2010-12-22 05:26:08 +01:00
|
|
|
X64/DispatchExecute.c
|
|
|
|
|
|
|
|
[Sources.Ia32]
|
|
|
|
IA32/DispatchExecute.c
|
2010-01-26 02:15:26 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2010-12-22 05:26:08 +01:00
|
|
|
EdkCompatibilityPkg/EdkCompatibilityPkg.dec
|
2010-01-26 02:15:26 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiBootServicesTableLib
|
2010-12-22 05:26:08 +01:00
|
|
|
UefiRuntimeServicesTableLib
|
2010-01-26 02:15:26 +01:00
|
|
|
UefiDriverEntryPoint
|
|
|
|
BaseMemoryLib
|
2010-12-22 05:26:08 +01:00
|
|
|
MemoryAllocationLib
|
2010-01-26 02:15:26 +01:00
|
|
|
DebugLib
|
|
|
|
BaseLib
|
2010-12-22 05:26:08 +01:00
|
|
|
PeCoffLib
|
|
|
|
PcdLib
|
|
|
|
DxeServicesLib
|
|
|
|
CacheMaintenanceLib
|
2014-11-12 04:30:11 +01:00
|
|
|
BaseMemoryLib
|
|
|
|
DevicePathLib
|
|
|
|
UefiLib
|
2010-01-26 02:15:26 +01:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiBootScriptSaveProtocolGuid ## PRODUCES
|
|
|
|
gEfiS3SaveStateProtocolGuid ## CONSUMES
|
|
|
|
|
2014-11-12 04:30:11 +01:00
|
|
|
[Guids]
|
|
|
|
gEdkiiMemoryProfileGuid
|
|
|
|
|
2010-12-22 05:26:08 +01:00
|
|
|
[Pcd]
|
|
|
|
gEfiEdkCompatibilityPkgTokenSpaceGuid.BootScriptThunkDataPtr
|
2014-11-12 04:30:11 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask
|
2010-01-26 02:15:26 +01:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiS3SaveStateProtocolGuid
|
|
|
|
|