Main Page | Modules | Directories | File List | Globals | Related Pages

gm_dma_calloc.c File Reference

#include "gm_internal.h"
#include "gm_call_trace.h"

Functions

GM_ENTRY_POINT void * gm_dma_calloc (struct gm_port *p, gm_size_t count, gm_size_t length)

Detailed Description

This file contains the GM API function gm_dma_calloc().

Function Documentation

GM_ENTRY_POINT void* gm_dma_calloc struct gm_port *  p,
gm_size_t  count,
gm_size_t  length
 

gm_dma_calloc() allocates and clears count * length bytes of DMAable memory aligned on a 4-byte boundary. Memory should be freed using gm_dma_free().

Parameters:
p (IN) Handle to the GM port.
count (IN) The number of elements to be calloc'ed.
length (IN) The size of each element to be calloc'ed.
See also:
gm_dma_malloc gm_dma_free
Author:
Glenn Brown
Version:
GM_API_VERSION (as defined in gm.h)


Generated on Sat May 20 19:20:41 2006 for GM by  doxygen 1.4.4