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