audk/MdePkg/Library/CcProbeLibNull/CcProbeLibNull.c

27 lines
440 B
C

/** @file
Null stub of CcProbeLib
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CcProbeLib.h>
/**
Probe the ConfidentialComputing Guest type. See defition of
CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>.
@return The guest type
**/
UINT8
EFIAPI
CcProbe (
VOID
)
{
return CcGuestTypeNonEncrypted;
}