123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- #
- #
- # Copyright (c) 1999 - 2019, Intel Corporation. All rights reserved
- #
- # SPDX-License-Identifier: BSD-2-Clause-Patent
- #
- #
- # This PEIM includes 3 parts, pre memory initialization, MRC
- # wrapper and post memory initialization.
- # On pre memory, following action is performed,
- # 1. Initizluize GMCH.
- # 2. Detect boot mode.
- # 3. Detect video adapter to determine whether we need pre allocated
- # memory.
- #
- # After that MRC wrapper calls MRC to initialize memory and install a PPI
- # notify to do post memory
- # initialization. MRC wrapper performance following actions,
- # 1. Install EFI Memory.
- # 2. Capsule coalesce if capsule boot mode.
- # 3. Create HOB of system memory.
- # Note: MRC supports 3 kinds of chipsets including Lakeport, Glenwood and Mukilteo,
- # so please don't define MACRO MUKILTEO_SUPPORT on Lakeport here.
- #
- # On post memory, following action is performed,
- # 1. TC initialization after MRC.
- # 2. SIO initialization.
- # 3. Install ResetSystem and FinvFv PPI, relocate Stall to memory on
- # recovery boot mode.
- # 4. Set MTRR for PEI
- # 5. Create FV HOB and Flash HOB
- # 6. Install RecoveryModule and AtaController PPI if on recovery boot mode.
- #
- # This PEIM does not have any register access directly, it depends on
- # IntelTCLib, TCAccess libraries to access Chipset
- # registers.
- #
- # Platform.c - Provide main flow and entrypoint of PEIM.
- # MemoryCallback.c - Includes a memory call back function notified when
- # MRC is done.
- #
- #
- [Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = PlatformPeim
- FILE_GUID = 9618C0DC-50A4-496c-994F-7241F282ED01
- MODULE_TYPE = PEIM
- VERSION_STRING = 1.0
- ENTRY_POINT = PeiInitPlatform
- PI_SPECIFICATION_VERSION = 0x0001000A
- [sources.common]
- Platform.c
- Platform.h
- MemoryCallback.c
- CommonHeader.h
- Stall.c
- BootMode.c
- [Packages]
- MdePkg/MdePkg.dec
- MdeModulePkg/MdeModulePkg.dec
- Vlv2TbltDevicePkg/PlatformPkg.dec
- Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
- UefiCpuPkg/UefiCpuPkg.dec
- CryptoPkg/CryptoPkg.dec
- [LibraryClasses]
- PeimEntryPoint
- DebugLib
- HobLib
- IoLib
- MtrrLib
- PerformanceLib
- MonoStatusCodeLib
- BaseCryptLib
- PciLib
- [Ppis]
- gEfiPeiStallPpiGuid
- gPeiSpeakerInterfacePpiGuid
- gEfiPeiMemoryDiscoveredPpiGuid
- gVlvPolicyPpiGuid
- gEfiPeiReadOnlyVariable2PpiGuid
- gEfiPeiResetPpiGuid
- gEfiEndOfPeiSignalPpiGuid
- gPeiCapsulePpiGuid
- gEfiPeiBootInRecoveryModePpiGuid
- gEfiPeiRecoveryModulePpiGuid
- gEfiPeiDeviceRecoveryModulePpiGuid
- gEfiPeiMasterBootModePpiGuid
- gPeiMfgMemoryTestPpiGuid
- gPeiSha256HashPpiGuid
- gVlvMmioPolicyPpiGuid
- gSeCfTPMPolicyPpiGuid
- [Guids]
- gEfiSetupVariableGuid
- gEfiPlatformInfoGuid
- gEfiPlatformBootModeGuid
- gEfiGlobalVariableGuid
- gRecoveryOnFatFloppyDiskGuid
- gRecoveryOnFatUsbDiskGuid
- gRecoveryOnFatIdeDiskGuid
- gRecoveryOnDataCdGuid
- gMfgModeVariableGuid
- gEfiNormalSetupGuid
- gEfiVlv2VariableGuid
- [Pcd.common]
- gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase
- gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize
- gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base
- gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Size
- gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
- gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress
- gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize
- [Depex]
- TRUE
|