REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1614
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3160
The GDT still in flash with commit 60b12e69fb
after TempRamDone
So move the action to TempRamDone event to avoid reading GDT from flash.
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Debkumar De <debkumar.de@intel.com>
Cc: Harry Han <harry.han@intel.com>
Cc: Catharine West <catharine.west@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
		
	
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  SecCore module that implements the SEC phase.
 | |
| #
 | |
| #  This is the first module taking control of the platform upon power-on/reset.
 | |
| #  It implements the first phase of the security phase. The entry point function is
 | |
| #  _ModuleEntryPoint in PlatformSecLib. The entry point function will switch to
 | |
| #  protected mode, setup flat memory model, enable temporary memory and
 | |
| #  call into SecStartup().
 | |
| #
 | |
| #  Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = SecCore
 | |
|   MODULE_UNI_FILE                = SecCore.uni
 | |
|   FILE_GUID                      = 1BA0062E-C779-4582-8566-336AE8F78F09
 | |
|   MODULE_TYPE                    = SEC
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 EBC
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   SecMain.c
 | |
|   SecMain.h
 | |
|   FindPeiCore.c
 | |
|   SecBist.c
 | |
| 
 | |
| [Sources.IA32]
 | |
|   Ia32/ResetVec.nasmb
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
|   UefiCpuPkg/UefiCpuPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseMemoryLib
 | |
|   DebugLib
 | |
|   PlatformSecLib
 | |
|   PcdLib
 | |
|   DebugAgentLib
 | |
|   UefiCpuLib
 | |
|   PeCoffGetEntryPointLib
 | |
|   PeCoffExtraActionLib
 | |
|   CpuExceptionHandlerLib
 | |
|   ReportStatusCodeLib
 | |
|   PeiServicesLib
 | |
|   PeiServicesTablePointerLib
 | |
|   HobLib
 | |
| 
 | |
| [Ppis]
 | |
|   ## SOMETIMES_CONSUMES
 | |
|   ## PRODUCES
 | |
|   gEfiSecPlatformInformationPpiGuid
 | |
|   ## SOMETIMES_CONSUMES
 | |
|   ## SOMETIMES_PRODUCES
 | |
|   gEfiSecPlatformInformation2PpiGuid
 | |
|   gEfiTemporaryRamDonePpiGuid                          ## PRODUCES
 | |
|   ## NOTIFY
 | |
|   ## SOMETIMES_CONSUMES
 | |
|   gPeiSecPerformancePpiGuid
 | |
|   gEfiPeiCoreFvLocationPpiGuid
 | |
|   ## CONSUMES
 | |
|   gRepublishSecPpiPpiGuid
 | |
| 
 | |
| [Guids]
 | |
|   ## SOMETIMES_PRODUCES   ## HOB
 | |
|   gEfiFirmwarePerformanceGuid
 | |
| 
 | |
| [Pcd]
 | |
|   gUefiCpuPkgTokenSpaceGuid.PcdPeiTemporaryRamStackSize  ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdMigrateTemporaryRamFirmwareVolumes  ## CONSUMES
 | |
| 
 | |
| [UserExtensions.TianoCore."ExtraFiles"]
 | |
|   SecCoreExtra.uni
 |