REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3153 In FSP the temporary memory provided by bootloader typically will be totally given to PeiCore as Heap, but in some cases FSP may have to reserve some more temporary memory for private usage. This commit adds this flexibility for FSP to reserve some temporary memory before giving them to PeiCore. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  Sec Core for FSP
 | |
| #
 | |
| #  Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = FspSecCoreM
 | |
|   FILE_GUID                      = C2F9AE46-3437-4FEF-9CB1-9A568B282FEE
 | |
|   MODULE_TYPE                    = SEC
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   SecMain.c
 | |
|   SecMain.h
 | |
|   SecFsp.c
 | |
|   SecFsp.h
 | |
|   SecFspApiChk.c
 | |
| 
 | |
| [Sources.IA32]
 | |
|   Ia32/Stack.nasm
 | |
|   Ia32/FspApiEntryM.nasm
 | |
|   Ia32/FspApiEntryCommon.nasm
 | |
|   Ia32/FspHelper.nasm
 | |
|   Ia32/ReadEsp.nasm
 | |
| 
 | |
| [Binaries.Ia32]
 | |
|   RAW|Vtf0/Bin/ResetVec.ia32.raw |GCC
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   IntelFsp2Pkg/IntelFsp2Pkg.dec
 | |
|   UefiCpuPkg/UefiCpuPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseMemoryLib
 | |
|   DebugLib
 | |
|   BaseLib
 | |
|   PciCf8Lib
 | |
|   SerialPortLib
 | |
|   FspSwitchStackLib
 | |
|   FspCommonLib
 | |
|   FspSecPlatformLib
 | |
|   UefiCpuLib
 | |
| 
 | |
| [Pcd]
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase              ## CONSUMES
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamSize              ## CONSUMES
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdFspTemporaryRamSize           ## CONSUMES
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdFspHeapSizePercentage         ## CONSUMES
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdFspMaxInterruptSupported      ## CONSUMES
 | |
|   gIntelFsp2PkgTokenSpaceGuid.PcdFspPrivateTemporaryRamSize    ## CONSUMES
 | |
| 
 | |
| [Ppis]
 | |
|   gEfiTemporaryRamSupportPpiGuid                              ## PRODUCES
 | |
|   gFspInApiModePpiGuid                                        ## PRODUCES
 |