]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod
authorJeff Fan <jeff.fan@intel.com>
Thu, 29 Dec 2016 01:29:23 +0000 (09:29 +0800)
committerJeff Fan <jeff.fan@intel.com>
Fri, 30 Dec 2016 00:39:34 +0000 (08:39 +0800)
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>
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c

index 5e50b4c391df7029b52004407b7fc9f8568bc274..b393244e0582a369f884fc89176037024509b2e4 100644 (file)
@@ -651,6 +651,7 @@ MpInitLibSwitchBSP (
   EFI_TIMER_ARCH_PROTOCOL      *Timer;\r
   UINT64                       TimerPeriod;\r
 \r
+  TimerPeriod = 0;\r
   //\r
   // Locate Timer Arch Protocol\r
   //\r