alarm: Remove IRQ alarms
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 2 Nov 2018 01:40:45 +0000 (21:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 2 Nov 2018 01:51:48 +0000 (21:51 -0400)
commit363b41d58b1940bacc20ae66ff942fbb4de3c893
treeab048ae2044a8715b2e6b99dad28f4b619df0db3
parentdb02ce2efe80a13ada75a16af7d696e6657a3dc3
alarm: Remove IRQ alarms

The alarm code has some issues, and dealing with it will be easier with
only one type of alarm.

Right now, the tchain and the alarm RKMs are disconnected, but I think
we'll need to synchronize them a bit more.  It'll be simpler with just
one mechanism that runs outside of IRQ context.

We only had one user, so remove it isn't a big deal.  If we need IRQ
alarms, we can add them back in the future.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/alarm.h
kern/src/alarm.c