Path: blob/master/arch/microblaze/include/asm/dma.h
15126 views
/*1* Copyright (C) 2006 Atmark Techno, Inc.2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*/78#ifndef _ASM_MICROBLAZE_DMA_H9#define _ASM_MICROBLAZE_DMA_H1011#ifndef CONFIG_MMU12/* we don't have dma address limit. define it as zero to be13* unlimited. */14#define MAX_DMA_ADDRESS (0)15#else16/* Virtual address corresponding to last available physical memory address. */17#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)18#endif1920#ifdef CONFIG_PCI21extern int isa_dma_bridge_buggy;22#else23#define isa_dma_bridge_buggy (0)24#endif2526#endif /* _ASM_MICROBLAZE_DMA_H */272829