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-a5k/] [dma.h] - Diff between revs 1633 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1633 Rev 1765
#ifndef __ASM_ARCH_DMA_H
#ifndef __ASM_ARCH_DMA_H
#define __ASM_ARCH_DMA_H
#define __ASM_ARCH_DMA_H
 
 
/*
/*
 * This is the maximum DMA address that can be DMAd to.
 * This is the maximum DMA address that can be DMAd to.
 */
 */
#define MAX_DMA_ADDRESS         0x03000000
#define MAX_DMA_ADDRESS         0x03000000
 
 
/*
/*
 * DMA modes - we have two, IN and OUT
 * DMA modes - we have two, IN and OUT
 */
 */
typedef enum {
typedef enum {
        DMA_MODE_READ,
        DMA_MODE_READ,
        DMA_MODE_WRITE
        DMA_MODE_WRITE
} dmamode_t;
} dmamode_t;
 
 
#define MAX_DMA_CHANNELS        2
#define MAX_DMA_CHANNELS        2
#define DMA_VIRTUAL_FLOPPY      0
#define DMA_VIRTUAL_FLOPPY      0
#define DMA_VIRTUAL_SOUND       1
#define DMA_VIRTUAL_SOUND       1
 
 
#define DMA_FLOPPY              DMA_VIRTUAL_FLOPPY
#define DMA_FLOPPY              DMA_VIRTUAL_FLOPPY
 
 
#endif /* _ASM_ARCH_DMA_H */
#endif /* _ASM_ARCH_DMA_H */
 
 
 
 

powered by: WebSVN 2.1.0

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