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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [support/] [int.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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