voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

dmtimer.h (256B)


      1 #ifndef __DMTIMER_H
      2 #define __DMTIMER_H
      3 
      4 #include <kernel.h>
      5 
      6 typedef void (*dmtimer_callback_func)(int timer_id, struct regs *regs);
      7 
      8 int dmtimer_register(int id, dmtimer_callback_func func, u32 ms);
      9 int dmtimer_trigger(int id);
     10 
     11 #endif	/* __DMTIMER_H */