diff options
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c index 427572c2ff..e74777fbc6 100644 --- a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c +++ b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c @@ -388,10 +388,17 @@ TimerInterruptHandler ( );
//
+ // Save main counter value before calling notification function
+ // that may enable interrupts and allow interrupt nesting.
+ //
+ mPreviousMainCounter = MainCounter;
+
+ //
// Call registered notification function passing in the time since the last
// interrupt in 100 ns units.
//
mTimerNotifyFunction (TimerPeriod);
+ return;
}
//
|