mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
UefiCpuPkg: Fixed OpenCorePkg/Utilities compilation.
This commit is contained in:
parent
229824f009
commit
b3bf2495f3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user