/* Releases any memory currently being held by a memory mapping structure.  */
int dma_term_mem_map(DMA_MemMap_t *memMap)
/* Releases any memory currently being held by a memory mapping structure.  */
int dma_term_mem_map(DMA_MemMap_t *memMap)
{
	down(&memMap->lock);
	up(&memMap->lock);
	memset(memMap, 0, sizeof(*memMap));
	return 0;
}