kern
annotate src/intr.h @ 18:096807345aa2
fixed the stupid mistake. forgot to page-align the page directory
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 27 Mar 2011 06:28:26 +0300 |
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_ */ |