summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorTycho Nightingale <tycho.nightingale@pluribusnetworks.com>2014-06-20 07:18:08 +0000
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2014-06-20 07:18:08 +0000
commit97be2801745630eab090446211289a6315040a30 (patch)
treef5ac6b287e62d6c99e0732544ff5e479ac6e8d4d /PcAtChipsetPkg
parent7d84fbbb5e504002646e17746dbb79a6f33d5f14 (diff)
downloadedk2-platforms-97be2801745630eab090446211289a6315040a30.tar.xz
PcAtChipsetPkg: Enable timer interrupt through I/O APIC
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tycho Nightingale <tycho.nightingale@pluribusnetworks.com> Reviewed-by: Elvin Li <elvin.li@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15576 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r--PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
index b9bf080c74..e23a2c83e4 100644
--- a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
+++ b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
@@ -1,7 +1,7 @@
/** @file
Timer Architectural Protocol module using High Precesion Event Timer (HPET)
- Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -594,6 +594,7 @@ TimerDriverSetTimerPeriod (
// Program IOAPIC register with APIC ID of current BSP in case BSP has been switched
//
IoApicConfigureInterrupt (mTimerIrq, PcdGet8 (PcdHpetLocalApicVector), IO_APIC_DELIVERY_MODE_LOWEST_PRIORITY, TRUE, FALSE);
+ IoApicEnableInterrupt (mTimerIrq, TRUE);
}
//