39 if ((WorkArea ==
NULL) || (WorkArea->Header.GuestType != CcGuestTypeAmdSev)) {
60 if (SevEsWorkArea ==
NULL) {
64 return (UINT32)(
UINTN)SevEsWorkArea->SevStatusMsrValue;
138 if (SevEsWorkArea ==
NULL) {
142 return SevEsWorkArea->EncryptionMask;
161 return Msr.Bits.DebugVirtualization ?
TRUE :
FALSE;
#define FixedPcdGet32(TokenName)
BOOLEAN EFIAPI MemEncryptSevEsDebugVirtualizationIsEnabled(VOID)
UINT64 EFIAPI MemEncryptSevGetEncryptionMask(VOID)
BOOLEAN EFIAPI MemEncryptSevSnpIsEnabled(VOID)
BOOLEAN EFIAPI MemEncryptSevIsEnabled(VOID)
BOOLEAN EFIAPI MemEncryptSevEsIsEnabled(VOID)
STATIC UINT32 EFIAPI InternalMemEncryptSevStatus(VOID)
STATIC SEC_SEV_ES_WORK_AREA *EFIAPI GetSevEsWorkArea(VOID)