9
0
Fork 0
barebox/arch/x86/include/asm
Marc Kleine-Budde ed2180d658 blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines
Some drivers call dma_inv_range() on buffers, on arm these buffers must
be cache line aligned. This patch introduces a generic dma_alloc,
dma_free. Archs can implement in their own functions in "asm/dma.h" and add a:

	#define dma_alloc dma_alloc
	#define dma_free dma_free

On all other archs the generic versions, which translate into xmalloc
and free are used.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-30 12:46:25 +02:00
..
barebox.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
bitops.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
byteorder.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
common.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
dma.h blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
elf.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
io.h x86: Define byteorder 2011-10-04 09:46:37 +02:00
modes.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
module.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
posix_types.h x86: fix typo in include/asm/posix_types.h 2011-07-05 09:32:44 +02:00
sections.h add sections.h header file 2011-01-17 11:04:24 +01:00
segment.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
string.h Adding required architecture header files 2010-01-14 10:06:15 +01:00
swab.h import swab.h arch implementation form linux v2.3.37 2011-01-17 09:39:16 +01:00
syslib.h Add a special command to load and start a bzImage on x86 2010-01-14 10:06:16 +01:00
types.h x86: fix build error because of missing header 2011-11-11 12:28:35 +01:00
unaligned.h x86: fix build error because of missing header 2011-11-11 12:28:35 +01:00