set_core_timer() now takes a periodic flag
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 May 2011 23:03:32 +0000 (16:03 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:02 +0000 (17:36 -0700)
commitee1a13b837b02c591919a2412db8aaccbb5ed70d
tree860097f601cd3a75aec8fc47989c8b381ced902f
parent5379489b025483ef5b40b6333d6f614916cf60b1
set_core_timer() now takes a periodic flag

So far the only use of set_core_timer() uses a one-shot timer.  The old
periodic style was resulting in a lot of confusing interrupts and
anomalous events, especially in KVM.  Regardless, I want a one-shot
timer.

Note that most people should never call set_core_timer().  If you do,
you'll conflict with the alarm code.  Just use the alarm stuff.
kern/arch/i686/apic.c
kern/arch/sparc/timer.c
kern/include/trap.h
kern/src/alarm.c
kern/src/blockdev.c
kern/src/syscall.c