summaryrefslogtreecommitdiff
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-12-29 09:29:23 +0800
committerJeff Fan <jeff.fan@intel.com>2016-12-30 08:39:34 +0800
commit8ad05bd26b4850b5ed89867039fa989d4f256348 (patch)
tree5bfc4a90bf0ecc6fa8c3d3524296a9e945e7add8 /UefiCpuPkg
parentd2192f12b2d0b93416ff63ac73a3276a07d26c9e (diff)
downloadedk2-8ad05bd26b4850b5ed89867039fa989d4f256348.zip
edk2-8ad05bd26b4850b5ed89867039fa989d4f256348.tar.gz
edk2-8ad05bd26b4850b5ed89867039fa989d4f256348.tar.bz2
UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod
This fix is to pass VS2010/VS2012 build. Cc: Feng Tian <feng.tian@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/Library/MpInitLib/DxeMpLib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
index 5e50b4c..b393244 100644
--- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
+++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
@@ -651,6 +651,7 @@ MpInitLibSwitchBSP (
EFI_TIMER_ARCH_PROTOCOL *Timer;
UINT64 TimerPeriod;
+ TimerPeriod = 0;
//
// Locate Timer Arch Protocol
//