blob: 974a60b645ce82235356acbdc9e3fe0996375158 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ASM_I386_DMA_MAPPING_H
13#define _ASM_I386_DMA_MAPPING_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015#include <linux/mm.h>
16#include <linux/scatterlist.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080017
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080018#include <asm/cache.h>
19#include <asm/io.h>
20#include <asm/bug.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080021
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
23#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
Ben Cheng4b29af02012-03-07 16:14:53 -080024
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080025#define dma_is_consistent(d, h) (1)
26#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
Ben Cheng4b29af02012-03-07 16:14:53 -080027
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080028#endif