X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PcAtChipsetPkg%2F8254TimerDxe%2FTimer.c;fp=PcAtChipsetPkg%2F8254TimerDxe%2FTimer.c;h=da7d6af57806ff753a7010cc31949d53dedcb57f;hb=24115e44926b33c763f81026690f20efd913daf2;hp=b57ccda72774068b28f9685c10f3d485ddde2c89;hpb=36b4e01a25a4abb68cdac3d40fd2c08c3f3722c4;p=mirror_edk2.git diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.c b/PcAtChipsetPkg/8254TimerDxe/Timer.c index b57ccda727..da7d6af578 100644 --- a/PcAtChipsetPkg/8254TimerDxe/Timer.c +++ b/PcAtChipsetPkg/8254TimerDxe/Timer.c @@ -69,7 +69,7 @@ SetPitCount ( } /** - 8254 Timer #0 Interrupt Handler + 8254 Timer #0 Interrupt Handler. @param InterruptType The type of interrupt that occured @param SystemContext A pointer to the system context when the interrupt occured @@ -87,9 +87,9 @@ TimerInterruptHandler ( mLegacy8259->EndOfInterrupt (mLegacy8259, Efi8259Irq0); - if (mTimerNotifyFunction) { + if (mTimerNotifyFunction != NULL) { // - // BUGBUG : This does not handle missed timer interrupts + // @bug : This does not handle missed timer interrupts // mTimerNotifyFunction (mTimerPeriod); } @@ -311,9 +311,9 @@ TimerDriverGenerateSoftInterrupt ( // OriginalTPL = gBS->RaiseTPL (TPL_HIGH_LEVEL); - if (mTimerNotifyFunction) { + if (mTimerNotifyFunction != NULL) { // - // BUGBUG : This does not handle missed timer interrupts + // @bug : This does not handle missed timer interrupts // mTimerNotifyFunction (mTimerPeriod); }