#include "gm_call_trace.h"#include "gm_compiler.h"#include "gm_debug.h"#include "gm_debug_mem_register.h"#include "gm_internal.h"#include "gm_malloc_debug.h"#include "gm_register_recv_queue.h"Functions | |
| GM_ENTRY_POINT void | gm_dma_free (gm_port_t *p, void *addr) |
| GM_ENTRY_POINT void * | gm_dma_malloc (struct gm_port *p, gm_size_t length) |
|
||||||||||||
|
gm_dma_free() frees p, which was allocated by a call to gm_dma_calloc() or gm_dma_malloc(). Note that the memory is not necessarily unlocked and returned to the operating system, but may be reused in future calls to gm_dma_calloc() or gm_dma_malloc().
|
|
||||||||||||
|
gm_dma_malloc() allocates length bytes of DMAable memory aligned on a 4-byte boundary. Memory should be freed using gm_dma_free().
|
1.4.4