]> Zhao Yanbai Git Server - minix.git/commit
single shot timer interrupts fix
authorTomas Hruby <tom@minix3.org>
Thu, 21 Oct 2010 17:07:01 +0000 (17:07 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 21 Oct 2010 17:07:01 +0000 (17:07 +0000)
commita1eefc013e0f7c2c6b8e8934aece8eefe608abec
tree142a2d6c5ae5a9139a8414361a4c241587aef4ac
parentebbc730fc30899221ec7fc0eabb551d2dac3f785
single shot timer interrupts fix

- accidentaly this wasn't part of the SMP merge and the implementation
  remained uncomplete with the timer keeping ticking periodically

- APIC timer is set for a signel shot and restarted everytime it
  expires. This way we can keep the AP's trully idle

- the timer is restarted a little later before leaving to userspace

- LAPIC_TIMER_ICR is written before LAPIC_LVTTR so the newest value is
  used
kernel/arch/i386/apic.c
kernel/arch/i386/arch_clock.c
kernel/proc.c