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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [int.h] - Blame information for rev 17

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 rfajardo
 
2
/* Number of interrupt handlers */
3
#define MAX_INT_HANDLERS        32
4
 
5
/* Handler entry */
6
struct ihnd {
7
        void    (*handler)(void *);
8
        void    *arg;
9
};
10
 
11
/* Add interrupt handler */
12
int int_add(unsigned long vect, void (* handler)(void *), void *arg);
13
 
14
/* Initialize routine */
15
int int_init();

powered by: WebSVN 2.1.0

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