TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/DebugLib.h>
#include <Protocol/DebugSupport.h>
#include <Library/TdxLib.h>
#include <IndustryStandard/Tdx.h>
#include <Library/PrePiLib.h>
#include <Library/PeilessStartupLib.h>
#include <Library/PlatformInitLib.h>
#include <Library/TdxHelperLib.h>
#include <ConfidentialComputingGuestAttr.h>
#include <Guid/MemoryTypeInformation.h>
#include <OvmfPlatforms.h>
#include "PeilessStartupInternal.h"
Go to the source code of this file.
Macros | |
#define | GET_GPAW_INIT_STATE(INFO) ((UINT8) ((INFO) & 0x3f)) |
Functions | |
EFI_STATUS EFIAPI | InitializePlatform (EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID EFIAPI | PeilessStartup (IN VOID *Context) |
Variables | |
EFI_MEMORY_TYPE_INFORMATION | mDefaultMemoryTypeInformation [] |
Copyright (c) 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PeilessStartup.c.
#define GET_GPAW_INIT_STATE | ( | INFO | ) | ((UINT8) ((INFO) & 0x3f)) |
Definition at line 26 of file PeilessStartup.c.
EFI_STATUS EFIAPI InitializePlatform | ( | EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 41 of file PeilessStartup.c.
VOID EFIAPI PeilessStartup | ( | IN VOID * | Context | ) |
This function brings up the Tdx guest from SEC phase to DXE phase. PEI phase is skipped because most of the components in PEI phase is not needed for Tdx guest, for example, MP Services, TPM etc. In this way, the attack surfaces are reduced as much as possible.
Context | The pointer to the SecCoreData |
Definition at line 130 of file PeilessStartup.c.
EFI_MEMORY_TYPE_INFORMATION mDefaultMemoryTypeInformation[] |
Definition at line 28 of file PeilessStartup.c.