Пример #1
0
        public override void ClearInterrupt()
        {
            Microsoft.Singularity.Hal.Platform p = Microsoft.Singularity.Hal.Platform.ThePlatform;

            if (hpetClock == null)
            {
                pmClock.Update();
            }
            else
            {
                hpetClock.Update();
            }
            rtClock.ClearInterrupt();
            tscSnapshotValid = false;
        }
Пример #2
0
 public override void ClearInterrupt()
 {
     bool en = Processor.DisableInterrupts();
     this.AcquireLock();
     try {
         Microsoft.Singularity.Hal.Platform p = Microsoft.Singularity.Hal.Platform.ThePlatform;
         if (hpetClock == null) {
             pmClock.Update();
         }
         else {
             hpetClock.Update();
         }
         rtClock.ClearInterrupt();
     }
     finally {
         this.ReleaseLock();
         Processor.RestoreInterrupts(en);
     }
 }