]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Vlv2TbltDevicePkg/PlatformInitPei: Explicit call to dump MTRR Setting
authorJeff Fan <jeff.fan@intel.com>
Tue, 19 Jul 2016 00:50:08 +0000 (08:50 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 20 Jul 2016 03:13:43 +0000 (11:13 +0800)
Mtrr library instance removed MtrrDebugPrintAllMtrrs() from MtrrSetAllMtrrs() to
make MP safe. We need to explicitly call MtrrDebugPrintAllMtrrs() to dump MTRR
setting.

CC: David Wei <david.wei@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c

index 9592b07705f133ea492e2a872a8ac142babb3f22..99bdeb11f9195ee5b13701e46146ab8ac25154f8 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2004  - 2016, Intel Corporation. All rights reserved.<BR>\r
                                                                                    \r\r
   This program and the accompanying materials are licensed and made available under\r\r
   the terms and conditions of the BSD License that accompanies this distribution.  \r\r
@@ -222,8 +222,10 @@ SetPeiCacheMode (
   MtrrSetting.MtrrDefType |=  3 <<10;\r
 \r
   MtrrSetAllMtrrs(&MtrrSetting);\r
-\r
-\r
+  //\r
+  // Dump MTRR Setting\r
+  //\r
+  MtrrDebugPrintAllMtrrs ();\r
 \r
   return EFI_SUCCESS;\r
 }\r