kern

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/intr.h	Sat Feb 19 04:41:51 2011 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +#ifndef INTR_H_
     1.5 +#define INTR_H_
     1.6 +
     1.7 +#include <inttypes.h>
     1.8 +
     1.9 +typedef void (*intr_func_t)(int, uint32_t);
    1.10 +
    1.11 +
    1.12 +void init_intr(void);
    1.13 +
    1.14 +void interrupt(int intr_num, intr_func_t func);
    1.15 +
    1.16 +#endif	/* INTR_H_ */