示例#1
0
        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));
        }
示例#2
0
 public override void ClearInterrupt()
 {
     Microsoft.Singularity.Hal.Platform p = Microsoft.Singularity.Hal.Platform.ThePlatform;
     apic.AckIrq(Apic.TimerIrq);
     SetNextInterrupt(maxInterruptInterval);
 }