UefiCpuPkg: Fixed OpenCorePkg/Utilities compilation.

This commit is contained in:
Mikhail Krichanov 2025-02-27 17:38:05 +03:00
parent 229824f009
commit b3bf2495f3

View File

@ -166,6 +166,14 @@ MtrrLibIsMtrrSupported (
// MTRR is not supported in TD-Guest.
//
if (TdIsEnabled ()) {
if (FixedMtrrSupported != NULL) {
*FixedMtrrSupported = FALSE;
}
if (VariableMtrrCount != NULL) {
*VariableMtrrCount = 0;
}
return FALSE;
}