2 Platform PEI module include file.
4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _PLATFORM_PEI_H_INCLUDED_
10 #define _PLATFORM_PEI_H_INCLUDED_
12 #include <IndustryStandard/E820.h>
13 #include <Library/PlatformInitLib.h>
14 #include <IndustryStandard/IntelTdx.h>
16 extern EFI_HOB_PLATFORM_INFO mPlatformInfoHob
;
19 AddressWidthInitialization (
20 IN OUT EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
24 Q35TsegMbytesInitialization (
29 Q35SmramAtDefaultSmbaseInitialization (
39 InitializeRamRegions (
40 IN EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
44 MemMapInitialization (
45 IN OUT EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
50 IN EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
54 BootModeInitialization (
55 IN OUT EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
59 MaxCpuCountInitialization (
60 IN OUT EFI_HOB_PLATFORM_INFO
*PlatformInfoHob
69 MemTypeInfoInitialization (
74 InstallFeatureControlCallback (
79 InstallClearCacheCallback (
89 This Function checks if TDX is available, if present then it sets
90 the dynamic PCDs for Tdx guest. It also builds Guid hob which contains
91 the Host Bridge DevId.
99 * @brief Builds PlatformInfo Hob
102 BuildPlatformInfoHob (
111 #endif // _PLATFORM_PEI_H_INCLUDED_