• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Sample to provide FSP wrapper platform sec related function.
3#
4#  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
5#
6#  This program and the accompanying materials
7#  are 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#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13##
14
15################################################################################
16#
17# Defines Section - statements that will be processed to create a Makefile.
18#
19################################################################################
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = SecPeiFspPlatformSecLibSample
23  FILE_GUID                      = 4E1C4F95-90EA-47de-9ACC-B8920189A1F5
24  MODULE_TYPE                    = SEC
25  VERSION_STRING                 = 1.0
26  LIBRARY_CLASS                  = FspPlatformSecLib
27
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################################################################################
36#
37# Sources Section - list of files that are required for the build to succeed.
38#
39################################################################################
40
41[Sources]
42  FspPlatformSecLibSample.c
43  SecRamInitData.c
44  SaveSecContext.c
45  SecPlatformInformation.c
46  SecGetPerformance.c
47  SecTempRamSupport.c
48  PlatformInit.c
49
50[Sources.IA32]
51  Ia32/SecEntry.asm
52  Ia32/PeiCoreEntry.asm
53  Ia32/AsmSaveSecContext.asm
54  Ia32/Stack.asm
55  Ia32/Fsp.h
56  Ia32/SecEntry.S
57  Ia32/PeiCoreEntry.S
58  Ia32/AsmSaveSecContext.S
59  Ia32/Stack.S
60
61################################################################################
62#
63# Package Dependency Section - list of Package files that are required for
64#                              this module.
65#
66################################################################################
67
68[Packages]
69  MdePkg/MdePkg.dec
70  MdeModulePkg/MdeModulePkg.dec
71  UefiCpuPkg/UefiCpuPkg.dec
72  IntelFspPkg/IntelFspPkg.dec
73  IntelFspWrapperPkg/IntelFspWrapperPkg.dec
74
75[LibraryClasses]
76  LocalApicLib
77
78[Ppis]
79  gEfiSecPlatformInformationPpiGuid       ## CONSUMES
80  gPeiSecPerformancePpiGuid               ## CONSUMES
81  gEfiTemporaryRamSupportPpiGuid          ## CONSUMES
82
83[Pcd]
84  gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize         ## CONSUMES
85  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase                   ## CONSUMES
86  gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize                   ## CONSUMES
87
88[FixedPcd]
89  gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress         ## CONSUMES
90  gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize      ## CONSUMES
91  gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset             ## CONSUMES
92  gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress            ## CONSUMES
93  gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize               ## CONSUMES
94