CcExitTd.h 676 B

1234567891011121314151617181920212223242526272829303132
  1. /** @file
  2. Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #ifndef CC_EXIT_TD_H_
  6. #define CC_EXIT_TD_H_
  7. #include <Base.h>
  8. #include <Uefi.h>
  9. /**
  10. This function enable the TD guest to request the VMM to emulate CPUID
  11. operation, especially for non-architectural, CPUID leaves.
  12. @param[in] Eax Main leaf of the CPUID
  13. @param[in] Ecx Sub-leaf of the CPUID
  14. @param[out] Results Returned result of CPUID operation
  15. @return EFI_SUCCESS
  16. **/
  17. EFI_STATUS
  18. EFIAPI
  19. TdVmCallCpuid (
  20. IN UINT64 Eax,
  21. IN UINT64 Ecx,
  22. OUT VOID *Results
  23. );
  24. #endif