public void ClearInterrupt() { byte status = ReadRtc(DS1287_C); status |= firstStatus; firstStatus = 0; const byte CMask = DS1287_C_INTF | DS1287_C_PF; DebugStub.Assert((status & CMask) == CMask); if ((status & DS1287_C_PF) != 0) { this.irqCount++; } apic.AckIrq(apic.InterruptToIrq(this.interrupt)); }
public override void ClearInterrupt() { Microsoft.Singularity.Hal.Platform p = Microsoft.Singularity.Hal.Platform.ThePlatform; apic.AckIrq(Apic.TimerIrq); SetNextInterrupt(maxInterruptInterval); }