summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2014-06-23 13:32:11 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2014-06-23 13:32:11 +0000
commit9afa7499df3139379b5b6553fd89d797a7ba3ded (patch)
tree6d4ee869e07082781584e69a9591cdaf0c0cfc84
parent0089d5312d98bf3edb336b428c50a7729886c8e6 (diff)
downloadedk2-9afa7499df3139379b5b6553fd89d797a7ba3ded.tar.gz
edk2-9afa7499df3139379b5b6553fd89d797a7ba3ded.tar.bz2
edk2-9afa7499df3139379b5b6553fd89d797a7ba3ded.zip
Sync patch r15576 from main trunk.
PcAtChipsetPkg: Enable timer interrupt through I/O APIC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15579 6f19259b-4bc3-4df7-8a09-765794883524
-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);
}
//