OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-rpc/] [dma.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __ASM_ARCH_DMA_H
2
#define __ASM_ARCH_DMA_H
3
 
4
/*
5
 * This is the maximum DMA address that can be DMAd to.
6
 * There should not be more than (0xd0000000 - 0xc0000000)
7
 * bytes of RAM.
8
 */
9
#define MAX_DMA_ADDRESS         0xd0000000
10
 
11
/*
12
 * DMA modes - we have two, IN and OUT
13
 */
14
typedef enum {
15
        DMA_MODE_READ,
16
        DMA_MODE_WRITE
17
} dmamode_t;
18
 
19
#define MAX_DMA_CHANNELS        8
20
 
21
#define DMA_0                   0
22
#define DMA_1                   1
23
#define DMA_2                   2
24
#define DMA_3                   3
25
#define DMA_S0                  4
26
#define DMA_S1                  5
27
#define DMA_VIRTUAL_FLOPPY      6
28
#define DMA_VIRTUAL_SOUND       7
29
 
30
#define DMA_FLOPPY              DMA_VIRTUAL_FLOPPY
31
 
32
#endif /* _ASM_ARCH_DMA_H */
33
 

powered by: WebSVN 2.1.0

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