/* Probe the ConfidentialComputing Guest type. See defition of CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>. */
UINT8 EFIAPI CcProbe(VOID)
/* Probe the ConfidentialComputing Guest type. See defition of CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>. */
UINT8 EFIAPI CcProbe(VOID)
{
  OVMF_WORK_AREA  *WorkArea;
  WorkArea = (OVMF_WORK_AREA *)FixedPcdGet32 (PcdOvmfWorkAreaBase);
  return WorkArea != NULL ? WorkArea->Header.GuestType : CcGuestTypeNonEncrypted;
}