Last change
on this file since 269 was
258,
checked in by alain, 11 years ago
|
This is a major release, including a deep restructuration of code.
The main evolutions are
- use of the Tsar preloader to load the GIET boot-loader from disk
- introduction of a FAT32 file system library,
- use of this fat32 library by the boot-loader to load the
map.bin data structure, and the various .elf files
- reorganisation of drivers (one file per peripheral).
- introduction of drivers for new peripherals:
vci_chbuf_dma and vci_multi_ahci.
- introduction of a new physical memory allocator in the boot code.
This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml
|
-
Property svn:executable set to
*
|
File size:
943 bytes
|
Rev | Line | |
---|
[258] | 1 | #ifndef _IRQ_HANDLER_H |
---|
| 2 | #define _IRQ_HANDLER_H |
---|
| 3 | |
---|
| 4 | enum isr_type_t |
---|
| 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 | ISR_WAKUP = 6, |
---|
| 13 | }; |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | /////////////////////////////////////////////////////////////////////////////// |
---|
| 17 | // Prototypes of the Interrupt Service Routines (ISRs) supported by the GIET. |
---|
| 18 | /////////////////////////////////////////////////////////////////////////////// |
---|
| 19 | |
---|
| 20 | extern void _irq_demux(); |
---|
| 21 | |
---|
| 22 | extern void _isr_default(); |
---|
| 23 | extern void _isr_ioc(); |
---|
| 24 | extern void _isr_timer(unsigned int channel); |
---|
| 25 | extern void _isr_dma(unsigned int channel); |
---|
| 26 | extern void _isr_tty(unsigned int channel); |
---|
| 27 | extern void _isr_switch(); |
---|
| 28 | extern void _isr_wakup(); |
---|
| 29 | |
---|
| 30 | #endif |
---|
| 31 | |
---|
| 32 | // Local Variables: |
---|
| 33 | // tab-width: 4 |
---|
| 34 | // c-basic-offset: 4 |
---|
| 35 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 36 | // indent-tabs-mode: nil |
---|
| 37 | // End: |
---|
| 38 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.