qcacmn: add function for multi-pages memory zero operation
Add function qdf_mem_multi_pages_zero() to support multi-pages memory zero operation. Change-Id: I08b5c2722c02881550d3a1da27d5137c0957fd51 CRs-Fixed: 2776365
This commit is contained in:
@@ -299,6 +299,18 @@ void qdf_mem_multi_pages_free(qdf_device_t osdev,
|
||||
|
||||
#endif /* MEMORY_DEBUG */
|
||||
|
||||
/**
|
||||
* qdf_mem_multi_pages_zero() - zero out each page memory
|
||||
* @pages: Multi page information storage
|
||||
* @cacheable: Coherent memory or cacheable memory
|
||||
*
|
||||
* This function will zero out each page memory
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void qdf_mem_multi_pages_zero(struct qdf_mem_multi_page_t *pages,
|
||||
bool cacheable);
|
||||
|
||||
/**
|
||||
* qdf_aligned_malloc() - allocates aligned QDF memory.
|
||||
* @size: Size to be allocated
|
||||
|
Reference in New Issue
Block a user