diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-10-09 07:03:24 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-10-09 07:03:24 +0000 |
commit | 53fa8748fdba2e80e9266e93568d7387ee98ad9f (patch) | |
tree | 57496d66f9aa2468f8362dcf92f69d63aa40ffdd /UefiCpuPkg | |
parent | 9ad48dd148e167261161a606e120a3132048e1e9 (diff) | |
download | edk2-53fa8748fdba2e80e9266e93568d7387ee98ad9f.tar.gz edk2-53fa8748fdba2e80e9266e93568d7387ee98ad9f.tar.bz2 edk2-53fa8748fdba2e80e9266e93568d7387ee98ad9f.zip |
MdePkg: Add ASSERT to handle local APIC not config properly
When the local APIC is not configurated properly, function
InternalX86GetInitTimerCount() may return zero, which will lead to a
divide by zero exception in SecPeiDxeTimerLibCpu.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18593 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg')
0 files changed, 0 insertions, 0 deletions