]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/VmgExitLib/VmTdExitHandler.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / Library / VmgExitLib / VmTdExitHandler.h
1 /** @file
2
3 Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
5
6 **/
7
8 #ifndef VMTD_EXIT_HANDLER_H_
9 #define VMTD_EXIT_HANDLER_H_
10
11 #include <Base.h>
12 #include <Uefi.h>
13
14 /**
15 This function enable the TD guest to request the VMM to emulate CPUID
16 operation, especially for non-architectural, CPUID leaves.
17
18 @param[in] Eax Main leaf of the CPUID
19 @param[in] Ecx Sub-leaf of the CPUID
20 @param[out] Results Returned result of CPUID operation
21
22 @return EFI_SUCCESS
23 **/
24 EFI_STATUS
25 EFIAPI
26 TdVmCallCpuid (
27 IN UINT64 Eax,
28 IN UINT64 Ecx,
29 OUT VOID *Results
30 );
31
32 #endif