Revision: 19203
          http://sourceforge.net/p/edk2/code/19203
Author:   vanjeff
Date:     2015-12-10 07:25:55 +0000 (Thu, 10 Dec 2015)
Log Message:
-----------
UefiCpuPkg/MtrrLib: Print MTRR settings when set fixed/variable MTRRs

(Sync patch r19159 from main trunk.)

Cc: Feng Tian <[email protected]>
Cc: Michael Kinney <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <[email protected]>
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/19159

Modified Paths:
--------------
    branches/UDK2015/UefiCpuPkg/Library/MtrrLib/MtrrLib.c

Modified: branches/UDK2015/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
===================================================================
--- branches/UDK2015/UefiCpuPkg/Library/MtrrLib/MtrrLib.c       2015-12-10 
07:25:24 UTC (rev 19202)
+++ branches/UDK2015/UefiCpuPkg/Library/MtrrLib/MtrrLib.c       2015-12-10 
07:25:55 UTC (rev 19203)
@@ -1756,6 +1756,8 @@
   PreMtrrChange (&MtrrContext);
   MtrrSetVariableMtrrWorker (VariableSettings);
   PostMtrrChange (&MtrrContext);
+  MtrrDebugPrintAllMtrrs ();
+
   return  VariableSettings;
 }
 
@@ -1804,6 +1806,7 @@
   PreMtrrChange (&MtrrContext);
   MtrrSetFixedMtrrWorker (FixedSettings);
   PostMtrrChange (&MtrrContext);
+  MtrrDebugPrintAllMtrrs ();
 
   return FixedSettings;
 }
@@ -1888,9 +1891,12 @@
 
   PostMtrrChangeEnableCache (&MtrrContext);
 
+  MtrrDebugPrintAllMtrrs ();
+
   return MtrrSetting;
 }
 
+
 /**
   Checks if MTRR is supported.
 


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to