123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /** @file
- Platform PEI module include file.
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
- SPDX-License-Identifier: BSD-2-Clause-Patent
- **/
- #ifndef _PLATFORM_PEI_H_INCLUDED_
- #define _PLATFORM_PEI_H_INCLUDED_
- #include <IndustryStandard/E820.h>
- #include <Library/PlatformInitLib.h>
- #include <IndustryStandard/IntelTdx.h>
- extern EFI_HOB_PLATFORM_INFO mPlatformInfoHob;
- VOID
- AddressWidthInitialization (
- IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- VOID
- Q35TsegMbytesInitialization (
- VOID
- );
- VOID
- Q35SmramAtDefaultSmbaseInitialization (
- VOID
- );
- EFI_STATUS
- PublishPeiMemory (
- VOID
- );
- VOID
- InitializeRamRegions (
- IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- VOID
- MemMapInitialization (
- IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- VOID
- MiscInitialization (
- IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- VOID
- BootModeInitialization (
- IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- VOID
- MaxCpuCountInitialization (
- IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob
- );
- EFI_STATUS
- PeiFvInitialization (
- VOID
- );
- VOID
- MemTypeInfoInitialization (
- VOID
- );
- VOID
- InstallFeatureControlCallback (
- VOID
- );
- VOID
- InstallClearCacheCallback (
- VOID
- );
- VOID
- AmdSevInitialize (
- VOID
- );
- /**
- This Function checks if TDX is available, if present then it sets
- the dynamic PCDs for Tdx guest. It also builds Guid hob which contains
- the Host Bridge DevId.
- **/
- VOID
- IntelTdxInitialize (
- VOID
- );
- /**
- * @brief Builds PlatformInfo Hob
- */
- VOID
- BuildPlatformInfoHob (
- VOID
- );
- VOID
- SevInitializeRam (
- VOID
- );
- #endif // _PLATFORM_PEI_H_INCLUDED_
|