UefiCpuPkg: Disable MTRR programming for UefiPayloadPkg
The MTRRs have already been programmed by FSB. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Tim Crawford
parent
0bef9ccd43
commit
1d70aa7a9b
@@ -2680,6 +2680,10 @@ IsMtrrSupported (
|
||||
CPUID_VERSION_INFO_EDX Edx;
|
||||
MSR_IA32_MTRRCAP_REGISTER MtrrCap;
|
||||
|
||||
if (PcdGetBool(PcdCpuDisableMtrrProgramming)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//
|
||||
// Check CPUID(1).EDX[12] for MTRR capability
|
||||
//
|
||||
|
Reference in New Issue
Block a user