OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [include/] [int.h] - Rev 419

Compare with Previous | Blame | View Log

 
/* Number of interrupt handlers */
#define MAX_INT_HANDLERS	32
 
/* Handler entry */
struct ihnd {
	void 	(*handler)(void);
};
 
/* Add interrupt handler */ 
int int_add(unsigned long vect, void (* handler)(void));
 
/* Initialize routine */
int int_init(void);
 
/* Disable interrupt */ 
int int_disable(unsigned long vect);
 
/* Enable interrupt */ 
int int_enable(unsigned long vect);
 
/* Error vector handler */
void int_error(int vect, unsigned long epcr);
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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