From 5443e7fee21d09dac22935428e3e26b41503091f Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Tue, 19 Jul 2016 08:50:08 +0800 Subject: 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 Cc: Feng Tian Cc: Michael Kinney Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: David Wei --- Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c | 8 +++++--- 1 file 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.
+ Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
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; } -- cgit v1.2.3