#ifndef DAGMEM_H
#define DAGMEM_H

/*
 * Copyright (c) 1999,2000 The University of Waikato DAG Project, Hamilton, New Zealand.
 * Please see the file LICENSE for details on use and redistribution.
 *
 * $Id: dagmem.h 12287 2009-12-16 04:05:36Z sfd $
 *
 * Header file for the dagmem contigous memory allocator module.
 */

#ifndef DAGMEM_SIZE
# define DAGMEM_SIZE (32*1024*1024)
#endif

#define DAGMEM_ORDER 10

dma_addr_t dagmem_malloc(dma_addr_t *phys_addr, size_t *size, uint32_t flags,uint32_t card_index);
void	dagmem_free(dma_addr_t reservation);


#endif /* DAGMEM_H */
