URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [drivers/] [or1200/] [include/] [int.h] - Rev 636
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef _INT_H_ #define _INT_H_ /* Number of interrupt handlers - really depends on PIC width in OR1200*/ #define MAX_INT_HANDLERS 32 /* Handler entry */ struct ihnd { void (*handler)(void *); void *arg; }; /* Add interrupt handler */ int int_add(unsigned long vect, void (* handler)(void *), void *arg); /* Add exception vector handler */ void add_handler(unsigned long vector, void (* handler) (void)); /* Initialize routine */ int int_init(); /* Actual interrup handler function */ void int_main(); #endif // _INT_H_
Go to most recent revision | Compare with Previous | Blame | View Log