projects
/
mirror_edk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2192f1
)
UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod
author
Jeff Fan
<jeff.fan@intel.com>
Thu, 29 Dec 2016 01:29:23 +0000
(09:29 +0800)
committer
Jeff 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
patch
|
blob
|
blame
|
history
diff --git
a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
index 5e50b4c391df7029b52004407b7fc9f8568bc274..b393244e0582a369f884fc89176037024509b2e4 100644
(file)
--- a/
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
+++ b/
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
@@
-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