2016-05-13 07:00:53 +02:00
|
|
|
## @file
|
|
|
|
# Sample to provide FSP wrapper platform sec related function.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = SecFspWrapperPlatformSecLibSample
|
|
|
|
FILE_GUID = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573
|
|
|
|
MODULE_TYPE = SEC
|
|
|
|
VERSION_STRING = 1.0
|
2016-07-11 04:24:16 +02:00
|
|
|
LIBRARY_CLASS = PlatformSecLib
|
2016-05-13 07:00:53 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Sources Section - list of files that are required for the build to succeed.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
FspWrapperPlatformSecLibSample.c
|
|
|
|
SecRamInitData.c
|
|
|
|
SecPlatformInformation.c
|
|
|
|
SecGetPerformance.c
|
|
|
|
SecTempRamDone.c
|
|
|
|
PlatformInit.c
|
|
|
|
|
|
|
|
[Sources.IA32]
|
|
|
|
Ia32/Fsp.h
|
2016-06-08 11:54:45 +02:00
|
|
|
Ia32/SecEntry.nasm
|
|
|
|
Ia32/PeiCoreEntry.nasm
|
|
|
|
Ia32/Stack.nasm
|
2016-05-13 07:00:53 +02:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Package Dependency Section - list of Package files that are required for
|
|
|
|
# this module.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
IntelFsp2Pkg/IntelFsp2Pkg.dec
|
|
|
|
IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
LocalApicLib
|
|
|
|
SerialPortLib
|
2016-07-11 04:24:16 +02:00
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
2016-05-13 07:00:53 +02:00
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gEfiSecPlatformInformationPpiGuid ## CONSUMES
|
|
|
|
gPeiSecPerformancePpiGuid ## CONSUMES
|
|
|
|
gTopOfTemporaryRamPpiGuid ## PRODUCES
|
|
|
|
|
|
|
|
[Pcd]
|
2016-05-20 14:07:42 +02:00
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress ## CONSUMES
|
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress ## CONSUMES
|
2016-05-13 07:00:53 +02:00
|
|
|
|
|
|
|
[FixedPcd]
|
2016-05-20 14:07:42 +02:00
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress ## CONSUMES
|
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize ## CONSUMES
|
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdFlashMicrocodeOffset ## CONSUMES
|
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheAddress ## CONSUMES
|
|
|
|
gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheSize ## CONSUMES
|