OpenCores
URL https://opencores.org/ocsvn/minsoc/minsoc/trunk

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [int.h] - Rev 53

Compare with Previous | Blame | View Log

/* Number of interrupt handlers */
#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);
 
/* Initialize routine */
int int_init();
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.