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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [drivers/] [or1200/] [include/] [int.h] - Blame information for rev 393

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

Line No. Rev Author Line
1 349 julius
#ifndef _INT_H_
2
#define _INT_H_
3
/* Number of interrupt handlers */
4
#define MAX_INT_HANDLERS        32
5
 
6
/* Handler entry */
7
struct ihnd {
8
        void    (*handler)(void *);
9
        void    *arg;
10
};
11
 
12
/* Add interrupt handler */
13
int int_add(unsigned long vect, void (* handler)(void *), void *arg);
14
 
15
/* Add exception vector handler */
16
void add_handler(unsigned long vector, void (*handler) (void));
17
 
18
/* Initialize routine */
19
int int_init();
20
 
21
/* Actual interrup handler function */
22
void int_main();
23
#endif // _INT_H_

powered by: WebSVN 2.1.0

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