diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-10-09 07:04:00 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-10-09 07:04:00 +0000 |
commit | f17e2f8c9e1a34c3707f93ca373a79f14927f7b1 (patch) | |
tree | 6293ed9a25c49368e55ef901bb182de5ed7da93f /BaseTools/Source | |
parent | 53fa8748fdba2e80e9266e93568d7387ee98ad9f (diff) | |
download | edk2-platforms-f17e2f8c9e1a34c3707f93ca373a79f14927f7b1.tar.xz |
UefiCpuPkg: Add ASSERT to handle local APIC not config properly
When the local APIC is not configurated properly, function
GetApicTimerInitCount() in LocalApicLib may return zero, which will lead
to a divide by zero exception in SecPeiDxeTimerLibUefiCpu.
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@18594 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source')
0 files changed, 0 insertions, 0 deletions