/* * Default memory pool we donnot need to involve in DMA. * * With DMA abstraction, we use functions (methods), to * distinguish between non DMAable memory and DMAable memory. */ static void *___mp0_get_mem_cluster(m_pool_p mp) { void *m = sym_get_mem_cluster(); if (m) ++mp->nump; return m; }
/* * Default memory pool we donnot need to involve in DMA. * * With DMA abstraction, we use functions (methods), to * distinguish between non DMAable memory and DMAable memory. */ static m_addr_t ___mp0_get_mem_cluster(m_pool_p mp) { m_addr_t m = (m_addr_t) sym_get_mem_cluster(); if (m) ++mp->nump; return m; }