Alarm infrastructure
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 May 2011 22:28:50 +0000 (15:28 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:01 +0000 (17:36 -0700)
commitb55b36a440e267242f4ba315b498844b63028af0
tree5d55e358a9a0ed3fcb0d1a5cc26efdbc7dde509c
parent4b577735201d0a542a395f927858b8d48eaa84a3
Alarm infrastructure

Allows you to block a kthread for a while or to run a handler after a
while.  These alarms are grouped in sorted chains, which are attached to
an interrupt source.  Currently, there are chains for the per-core timer
interrupts.

Check out k/i/alarm.h for a quick howto.
kern/arch/i686/smp_boot.c
kern/arch/sparc/smp.c
kern/include/alarm.h [new file with mode: 0644]
kern/include/smp.h
kern/src/Makefrag
kern/src/alarm.c [new file with mode: 0644]
kern/src/timer.c