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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [OpenRISC_SIM_GCC/] [arch/] [interrupts.h] - Blame information for rev 623

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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