TianoCore EDK2 master
|
#include <IndustryStandard/E820.h>
#include <Library/PlatformInitLib.h>
#include <IndustryStandard/IntelTdx.h>
Go to the source code of this file.
Platform PEI module include file.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Platform.h.
VOID AddressWidthInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Initialize the PhysMemAddressWidth field in PlatformInfoHob based on guest RAM size.
Definition at line 120 of file MemDetect.c.
VOID BootModeInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 198 of file Platform.c.
EFI_HOB_PLATFORM_INFO * BuildPlatformInfoHob | ( | VOID | ) |
Builds PlatformInfo Hob.
Definition at line 544 of file Platform.c.
VOID InitializeRamRegions | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Publish system RAM and reserve memory regions
Definition at line 405 of file MemDetect.c.
VOID InstallClearCacheCallback | ( | VOID | ) |
Definition at line 100 of file ClearCache.c.
VOID InstallFeatureControlCallback | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 126 of file FeatureControl.c.
VOID IntelTdxInitialize | ( | 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.
This Function checks if TDX is available, if present then it sets the dynamic PCDs for Tdx guest.
Definition at line 32 of file IntelTdx.c.
VOID MaxCpuCountInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Fetch the boot CPU count and the possible CPU count from QEMU, and expose them to UefiCpuPkg modules. Set the MaxCpuCount field in PlatformInfoHob.
Definition at line 262 of file Platform.c.
VOID MemMapInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 55 of file Platform.c.
VOID MemTypeInfoInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 205 of file MemTypeInfo.c.
VOID MiscInitialization | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 185 of file Platform.c.
EFI_STATUS PeiFvInitialization | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
EFI_STATUS PublishPeiMemory | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Publish PEI core memory
Definition at line 301 of file MemDetect.c.
VOID Q35SmramAtDefaultSmbaseInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 87 of file MemDetect.c.
VOID Q35TsegMbytesInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 43 of file MemDetect.c.
VOID RelocateSmBase | ( | VOID | ) |
Definition at line 65 of file SmmRelocation.c.