/shark/trunk/modules/intdrive/inttask.c |
---|
149,6 → 149,22 |
} |
} |
/* |
* When an handler is removed pending activations have to be removed. |
* This may cause interrupt losses, drivers should be aware of that. |
*/ |
void invalidate_pending_jobs(int no) |
{ |
int i; |
i = next_execute_int; |
while (i != next_free_int) { |
if (int_list[i] == no) |
int_list[i] = -1; |
i = (i + 1) % MAX_INT_LIST; |
} |
} |
TASK Interrupt_Server(void *arg) |
{ |
while(1) { |