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:
Michael Kinney 2015-12-08 05:24:48 +00:00 committed by vanjeff
parent b0fa5d29d0
commit e518b80d80
1 changed files with 6 additions and 0 deletions

View File

@ -1756,6 +1756,8 @@ MtrrSetVariableMtrr (
PreMtrrChange (&MtrrContext);
MtrrSetVariableMtrrWorker (VariableSettings);
PostMtrrChange (&MtrrContext);
MtrrDebugPrintAllMtrrs ();
return VariableSettings;
}
@ -1804,6 +1806,7 @@ MtrrSetFixedMtrr (
PreMtrrChange (&MtrrContext);
MtrrSetFixedMtrrWorker (FixedSettings);
PostMtrrChange (&MtrrContext);
MtrrDebugPrintAllMtrrs ();
return FixedSettings;
}
@ -1888,9 +1891,12 @@ MtrrSetAllMtrrs (
PostMtrrChangeEnableCache (&MtrrContext);
MtrrDebugPrintAllMtrrs ();
return MtrrSetting;
}
/**
Checks if MTRR is supported.