/shark/trunk/drivers/linuxc26/include/linuxcomp.h |
---|
52,11 → 52,13 |
extern TIME sys_gettime(struct timespec *t); |
#define MAX_INT_TABLE 64 /* Shark_glue table for interrupt and timers */ |
#define jiffies26 (sys_gettime(NULL)*HZ/1000000) /* Has to be controlled... */ |
//#define jiffies26 (TIME)0 |
/* Timer Manager */ |
int shark_timer_set(struct timespec *time, void *handler, void *arg); |
int shark_timer_set(const struct timespec *time, void *handler, void *arg); |
int shark_timer_delete(int index); |
/* Interrupt handler installation and removal */ |