]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/Library/PeilessStartupLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / Include / Library / PeilessStartupLib.h
CommitLineData
4fe26784
MX
1/** @file\r
2\r
3 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
4\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7**/\r
8\r
9#ifndef PEILESS_STARTUP_LIB_H_\r
10#define PEILESS_STARTUP_LIB_H_\r
11\r
12#include <Library/BaseLib.h>\r
13#include <Uefi/UefiBaseType.h>\r
14#include <Uefi/UefiSpec.h>\r
15#include <Pi/PiPeiCis.h>\r
16#include <Library/DebugLib.h>\r
17#include <Protocol/DebugSupport.h>\r
18\r
19/**\r
20 * This function brings up the Tdx guest from SEC phase to DXE phase.\r
21 * PEI phase is skipped because most of the components in PEI phase\r
22 * is not needed for Tdx guest, for example, MP Services, TPM etc.\r
23 * In this way, the attack surfaces are reduced as much as possible.\r
24 *\r
25 * @param Context The pointer to the SecCoreData\r
26 * @return VOID This function never returns\r
27 */\r
28VOID\r
29EFIAPI\r
30PeilessStartup (\r
31 IN VOID *Context\r
32 );\r
33\r
34#endif\r