mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
UefiCpuPkg/MtrrLib: Print MTRR settings when set fixed/variable MTRRs
Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19159 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b0fa5d29d0
commit
e518b80d80
@ -1756,6 +1756,8 @@ MtrrSetVariableMtrr (
|
|||||||
PreMtrrChange (&MtrrContext);
|
PreMtrrChange (&MtrrContext);
|
||||||
MtrrSetVariableMtrrWorker (VariableSettings);
|
MtrrSetVariableMtrrWorker (VariableSettings);
|
||||||
PostMtrrChange (&MtrrContext);
|
PostMtrrChange (&MtrrContext);
|
||||||
|
MtrrDebugPrintAllMtrrs ();
|
||||||
|
|
||||||
return VariableSettings;
|
return VariableSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1804,6 +1806,7 @@ MtrrSetFixedMtrr (
|
|||||||
PreMtrrChange (&MtrrContext);
|
PreMtrrChange (&MtrrContext);
|
||||||
MtrrSetFixedMtrrWorker (FixedSettings);
|
MtrrSetFixedMtrrWorker (FixedSettings);
|
||||||
PostMtrrChange (&MtrrContext);
|
PostMtrrChange (&MtrrContext);
|
||||||
|
MtrrDebugPrintAllMtrrs ();
|
||||||
|
|
||||||
return FixedSettings;
|
return FixedSettings;
|
||||||
}
|
}
|
||||||
@ -1888,9 +1891,12 @@ MtrrSetAllMtrrs (
|
|||||||
|
|
||||||
PostMtrrChangeEnableCache (&MtrrContext);
|
PostMtrrChangeEnableCache (&MtrrContext);
|
||||||
|
|
||||||
|
MtrrDebugPrintAllMtrrs ();
|
||||||
|
|
||||||
return MtrrSetting;
|
return MtrrSetting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Checks if MTRR is supported.
|
Checks if MTRR is supported.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user