1## @file
2#  SecCore module that implements the SEC phase.
3#
4#  This is the first module taking control of the platform upon power-on/reset.
5#  It implements the first phase of the security phase. The entry point function is
6#  _ModuleEntryPoint in PlatformSecLib. The entry point function will switch to
7#  protected mode, setup flat memory model, enable temporary memory and
8#  call into SecStartup().
9#
10#  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
11#  This program and the accompanying materials
12#  are licensed and made available under the terms and conditions of the BSD License
13#  which accompanies this distribution.  The full text of the license may be found at
14#  http://opensource.org/licenses/bsd-license.php
15#
16#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19##
20
21[Defines]
22  INF_VERSION                    = 0x00010005
23  BASE_NAME                      = SecCore
24  MODULE_UNI_FILE                = SecCore.uni
25  FILE_GUID                      = 1BA0062E-C779-4582-8566-336AE8F78F09
26  MODULE_TYPE                    = SEC
27  VERSION_STRING                 = 1.0
28
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35
36[Sources]
37  SecMain.c
38  SecMain.h
39  FindPeiCore.c
40  SecBist.c
41
42[Sources.IA32]
43  Ia32/ResetVec.nasmb
44
45[Packages]
46  MdePkg/MdePkg.dec
47  MdeModulePkg/MdeModulePkg.dec
48  UefiCpuPkg/UefiCpuPkg.dec
49
50[LibraryClasses]
51  BaseMemoryLib
52  DebugLib
53  BaseLib
54  PlatformSecLib
55  PcdLib
56  DebugAgentLib
57  UefiCpuLib
58  PeCoffGetEntryPointLib
59  PeCoffExtraActionLib
60  CpuExceptionHandlerLib
61  ReportStatusCodeLib
62  PeiServicesLib
63  PeiServicesTablePointerLib
64  HobLib
65
66[Ppis]
67  ## SOMETIMES_CONSUMES
68  ## PRODUCES
69  gEfiSecPlatformInformationPpiGuid
70  ## SOMETIMES_CONSUMES
71  ## SOMETIMES_PRODUCES
72  gEfiSecPlatformInformation2PpiGuid
73  gEfiTemporaryRamDonePpiGuid                          ## PRODUCES
74
75[Pcd]
76  gUefiCpuPkgTokenSpaceGuid.PcdPeiTemporaryRamStackSize  ## CONSUMES
77
78[UserExtensions.TianoCore."ExtraFiles"]
79  SecCoreExtra.uni
80