Home | History | Annotate | Download | only in SecFspWrapperPlatformSecLibSample
      1 ## @file

      2 #  Sample to provide FSP wrapper platform sec related function.

      3 #

      4 #  Copyright (c) 2014 - 2016, 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                      = SecFspWrapperPlatformSecLibSample
     23   FILE_GUID                      = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573
     24   MODULE_TYPE                    = SEC
     25   VERSION_STRING                 = 1.0
     26   LIBRARY_CLASS                  = PlatformSecLib
     27 
     28 #

     29 # The following information is for reference only and not required by the build tools.

     30 #

     31 #  VALID_ARCHITECTURES           = IA32 X64

     32 #

     33 
     34 ################################################################################

     35 #

     36 # Sources Section - list of files that are required for the build to succeed.

     37 #

     38 ################################################################################

     39 
     40 [Sources]
     41   FspWrapperPlatformSecLibSample.c
     42   SecRamInitData.c
     43   SecPlatformInformation.c
     44   SecGetPerformance.c
     45   SecTempRamDone.c
     46   PlatformInit.c
     47 
     48 [Sources.IA32]
     49   Ia32/Fsp.h
     50   Ia32/SecEntry.nasm
     51   Ia32/PeiCoreEntry.nasm
     52   Ia32/Stack.nasm
     53 
     54 ################################################################################

     55 #

     56 # Package Dependency Section - list of Package files that are required for

     57 #                              this module.

     58 #

     59 ################################################################################

     60 
     61 [Packages]
     62   MdePkg/MdePkg.dec
     63   MdeModulePkg/MdeModulePkg.dec
     64   UefiCpuPkg/UefiCpuPkg.dec
     65   IntelFsp2Pkg/IntelFsp2Pkg.dec
     66   IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
     67 
     68 [LibraryClasses]
     69   LocalApicLib
     70   SerialPortLib
     71   DebugLib
     72   BaseMemoryLib
     73 
     74 [Ppis]
     75   gEfiSecPlatformInformationPpiGuid       ## CONSUMES

     76   gPeiSecPerformancePpiGuid               ## CONSUMES

     77   gTopOfTemporaryRamPpiGuid               ## PRODUCES

     78 
     79 [Pcd]
     80   gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress              ## CONSUMES

     81   gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress              ## CONSUMES

     82 
     83 [FixedPcd]
     84   gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress     ## CONSUMES

     85   gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize  ## CONSUMES

     86   gIntelFsp2WrapperTokenSpaceGuid.PcdFlashMicrocodeOffset         ## CONSUMES

     87   gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheAddress        ## CONSUMES

     88   gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheSize           ## CONSUMES

     89