include/generic/dmapool_nommu.h File Reference

DMA pool definitions for processors without an MMU. More...

#include <dma.h>
#include <mempool.h>

Go to the source code of this file.

Data Structures

struct  dma_pool
 DMA memory pool. More...

Functions

static void dma_pool_init_coherent (struct dma_pool *pool, phys_addr_t phys_start, size_t size, size_t objsize, unsigned int align_order)
 Initialize a DMA-coherent memory pool.
static dma_addr_t dma_pool_alloc (struct dma_pool *pool)
 Allocate an object from a DMA pool.
static void dma_pool_free (struct dma_pool *pool, dma_addr_t addr)
 Free an object previously allocated from pool.

Detailed Description

DMA pool definitions for processors without an MMU.

Note:
Strictly speaking, MMU-less does not mean cache-less, yet these primitives do not support processors with a cache. In practice, however, this framework does not support any MMU-less devices with a cache anyway.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file dmapool_nommu.h.

Generated on Thu Apr 29 14:10:34 2010 for xplain-bc by  doxygen 1.6.3