summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-07-19 08:50:08 +0800
committerJeff Fan <jeff.fan@intel.com>2016-07-20 11:13:43 +0800
commit5443e7fee21d09dac22935428e3e26b41503091f (patch)
treea15e22b5e29d3e7c73ad26871a56b1f314d77dc4 /Vlv2TbltDevicePkg
parentafa7b97154b3497a364eeccc439a79ae9ed5e1a3 (diff)
downloadedk2-5443e7fee21d09dac22935428e3e26b41503091f.tar.gz
edk2-5443e7fee21d09dac22935428e3e26b41503091f.tar.bz2
edk2-5443e7fee21d09dac22935428e3e26b41503091f.zip
Vlv2TbltDevicePkg/PlatformInitPei: Explicit call to dump MTRR Setting
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>
Diffstat (limited to 'Vlv2TbltDevicePkg')
-rw-r--r--Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c b/Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c
index 9592b07705..99bdeb11f9 100644
--- a/Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c
+++ b/Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
@@ -222,8 +222,10 @@ SetPeiCacheMode (
MtrrSetting.MtrrDefType |= 3 <<10;
MtrrSetAllMtrrs(&MtrrSetting);
-
-
+ //
+ // Dump MTRR Setting
+ //
+ MtrrDebugPrintAllMtrrs ();
return EFI_SUCCESS;
}