|
Last change
on this file since 314 was
248,
checked in by meunier, 13 years ago
|
|
Updates in the soft_filter application (bug corrections, formatting, and adaptation to the architecture generic_mmu)
|
|
File size:
589 bytes
|
| Line | |
|---|
| 1 | #ifndef DMA_REGS_H |
|---|
| 2 | #define DMA_REGS_H |
|---|
| 3 | |
|---|
| 4 | enum SoCLibDmaRegisters { |
|---|
| 5 | DMA_SRC = 0, |
|---|
| 6 | DMA_DST = 1, |
|---|
| 7 | DMA_LEN = 2, |
|---|
| 8 | DMA_RESET = 3, |
|---|
| 9 | DMA_IRQ_DISABLE = 4, |
|---|
| 10 | /***/ |
|---|
| 11 | DMA_SPAN = 0x400, |
|---|
| 12 | }; |
|---|
| 13 | |
|---|
| 14 | enum DmaStatusValues { |
|---|
| 15 | DMA_SUCCESS = 0, |
|---|
| 16 | DMA_READ_ERROR = 1, |
|---|
| 17 | DMA_IDLE = 2, |
|---|
| 18 | DMA_WRITE_ERROR = 3, |
|---|
| 19 | }; |
|---|
| 20 | |
|---|
| 21 | #endif |
|---|
| 22 | |
|---|
| 23 | // Local Variables: |
|---|
| 24 | // tab-width: 4; |
|---|
| 25 | // c-basic-offset: 4; |
|---|
| 26 | // c-file-offsets:((innamespace . 0)(inline-open . 0)); |
|---|
| 27 | // indent-tabs-mode: nil; |
|---|
| 28 | // End: |
|---|
| 29 | // |
|---|
| 30 | // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
|---|
| 31 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.