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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [int.h] - Diff between revs 2 and 53

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 2 Rev 53
 
 
/* Number of interrupt handlers */
/* Number of interrupt handlers */
#define MAX_INT_HANDLERS        32
#define MAX_INT_HANDLERS        32
 
 
/* Handler entry */
/* Handler entry */
struct ihnd {
struct ihnd {
        void    (*handler)(void *);
        void    (*handler)(void *);
        void    *arg;
        void    *arg;
};
};
 
 
/* Add interrupt handler */
/* Add interrupt handler */
int int_add(unsigned long vect, void (* handler)(void *), void *arg);
int int_add(unsigned long vect, void (* handler)(void *), void *arg);
 
 
/* Initialize routine */
/* Initialize routine */
int int_init();
int int_init();
 
 

powered by: WebSVN 2.1.0

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