X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FInclude%2FLibrary%2FPeilessStartupLib.h;fp=OvmfPkg%2FInclude%2FLibrary%2FPeilessStartupLib.h;h=8c9e3cb05ae35e3daec57d6a7b99c70dd1c8bb68;hp=0000000000000000000000000000000000000000;hb=4fe26784112328fb9dff6fe85f973845d5d7d49e;hpb=75942a52aeff8192b2dd74f69b51391b3db29a95 diff --git a/OvmfPkg/Include/Library/PeilessStartupLib.h b/OvmfPkg/Include/Library/PeilessStartupLib.h new file mode 100644 index 0000000000..8c9e3cb05a --- /dev/null +++ b/OvmfPkg/Include/Library/PeilessStartupLib.h @@ -0,0 +1,34 @@ +/** @file + + Copyright (c) 2021, Intel Corporation. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef PEILESS_STARTUP_LIB_H_ +#define PEILESS_STARTUP_LIB_H_ + +#include +#include +#include +#include +#include +#include + +/** + * 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. + * + * @param Context The pointer to the SecCoreData + * @return VOID This function never returns + */ +VOID +EFIAPI +PeilessStartup ( + IN VOID *Context + ); + +#endif