source: soft/giet_vm/sys/irq_handler.h @ 228

Last change on this file since 228 was 228, checked in by meunier, 11 years ago

Added support for memspaces and const.
Added an interrupt masking to the "giet_context_switch" syscall
Corrected two bugs in boot/boot_init.c (one minor and one regarding barriers initialization)
Reformatted the code in all files.

File size: 837 bytes
Line 
1#ifndef _IRQ_HANDLER_H
2#define _IRQ_HANDLER_H
3
4enum 
5{
6    ISR_DEFAULT = 0,
7    ISR_SWITCH  = 1,
8    ISR_TTY     = 2,
9    ISR_DMA     = 3,
10    ISR_IOC     = 4,
11    ISR_TIMER   = 5,
12};
13
14
15///////////////////////////////////////////////////////////////////////////////
16// Prototypes of the Interrupt Service Routines (ISRs) supported by the GIET.
17///////////////////////////////////////////////////////////////////////////////
18
19void _irq_demux();
20
21void _isr_default();
22void _isr_ioc();
23void _isr_timer(unsigned int channel);
24void _isr_dma(unsigned int channel);
25void _isr_tty(unsigned int channel);
26void _isr_switch();
27
28#endif
29
30// Local Variables:
31// tab-width: 4
32// c-basic-offset: 4
33// c-file-offsets:((innamespace . 0)(inline-open . 0))
34// indent-tabs-mode: nil
35// End:
36// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
37
Note: See TracBrowser for help on using the repository browser.