TianoCore EDK2 master
VmTdExitHandler.h File Reference
#include <Base.h>
#include <Uefi.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI TdVmCallCpuid (IN UINT64 Eax, IN UINT64 Ecx, OUT VOID *Results)
 

Detailed Description

Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VmTdExitHandler.h.

Function Documentation

◆ TdVmCallCpuid()

EFI_STATUS EFIAPI TdVmCallCpuid ( IN UINT64  Eax,
IN UINT64  Ecx,
OUT VOID Results 
)

This function enable the TD guest to request the VMM to emulate CPUID operation, especially for non-architectural, CPUID leaves.

Parameters
[in]EaxMain leaf of the CPUID
[in]EcxSub-leaf of the CPUID
[out]ResultsReturned result of CPUID operation
Returns
EFI_SUCCESS