add mm_uninitialize empty implementation for sim
Signed-off-by: lijianjun <lijianjun@xiaomi.com> Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
parent
17cbaadce8
commit
803489b546
@ -231,6 +231,31 @@ struct mm_heap_s *mm_initialize(const char *name,
|
|||||||
return heap;
|
return heap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Name: mm_uninitialize
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Uninitialize the selected heap data structures
|
||||||
|
*
|
||||||
|
* Input Parameters:
|
||||||
|
* heap - The selected heap
|
||||||
|
*
|
||||||
|
* Returned Value:
|
||||||
|
* None
|
||||||
|
*
|
||||||
|
* Assumptions:
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
void mm_uninitialize(struct mm_heap_s *heap)
|
||||||
|
{
|
||||||
|
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MEMINFO)
|
||||||
|
procfs_unregister_meminfo(&heap->mm_procfs);
|
||||||
|
#endif
|
||||||
|
mm_free_delaylist(heap);
|
||||||
|
host_free(heap);
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: mm_addregion
|
* Name: mm_addregion
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user