kern

annotate src/intr.h @ 11:cccaa40f5432

forgot to add a load of stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 19 Feb 2011 04:41:51 +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_ */