kern
annotate src/intr.h @ 12:eaec918de072
- fixed the scrolling issue
- other minor crap
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 22 Feb 2011 18:51:44 +0200 |
parents | |
children | 9939a6d7a45a |
rev | line source |
---|---|
nuclear@11 | 1 #ifndef INTR_H_ |
nuclear@11 | 2 #define INTR_H_ |
nuclear@11 | 3 |
nuclear@11 | 4 #include <inttypes.h> |
nuclear@11 | 5 |
nuclear@11 | 6 typedef void (*intr_func_t)(int, uint32_t); |
nuclear@11 | 7 |
nuclear@11 | 8 |
nuclear@11 | 9 void init_intr(void); |
nuclear@11 | 10 |
nuclear@11 | 11 void interrupt(int intr_num, intr_func_t func); |
nuclear@11 | 12 |
nuclear@11 | 13 #endif /* INTR_H_ */ |