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

Last change on this file since 250 was 238, checked in by alain, 12 years ago

Major evolution to support physical addresses larger than 32 bits.
The map.xml format has been modified: the vsegs associated to schedulers
are now explicitely defined and mapped in the page tables.

File size: 847 bytes
RevLine 
[158]1#ifndef _IRQ_HANDLER_H
2#define _IRQ_HANDLER_H
3
[238]4enum isr_type_t
[189]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};
[158]13
14
[189]15///////////////////////////////////////////////////////////////////////////////
16// Prototypes of the Interrupt Service Routines (ISRs) supported by the GIET.
17///////////////////////////////////////////////////////////////////////////////
[158]18
[189]19void _irq_demux();
20
[158]21void _isr_default();
22void _isr_ioc();
[228]23void _isr_timer(unsigned int channel);
24void _isr_dma(unsigned int channel);
25void _isr_tty(unsigned int channel);
[158]26void _isr_switch();
27
28#endif
[228]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.