arch/textheap: add _heapmember declare for text and data heap

It was accidentally deleted on PR:#11043

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2023-11-10 11:49:19 +08:00 committed by Alin Jerpelea
parent 18718316dc
commit 1fc3de4518

View File

@ -760,6 +760,18 @@ FAR void *up_textheap_memalign(size_t align, size_t size);
void up_textheap_free(FAR void *p);
#endif
/****************************************************************************
* Name: up_textheap_heapmember
*
* Description:
* Test if memory is from text heap.
*
****************************************************************************/
#if defined(CONFIG_ARCH_USE_TEXT_HEAP)
bool up_textheap_heapmember(FAR void *p);
#endif
/****************************************************************************
* Name: up_dataheap_memalign
*
@ -784,6 +796,18 @@ FAR void *up_dataheap_memalign(size_t align, size_t size);
void up_dataheap_free(FAR void *p);
#endif
/****************************************************************************
* Name: up_dataheap_heapmember
*
* Description:
* Test if memory is from data heap.
*
****************************************************************************/
#if defined(CONFIG_ARCH_USE_DATA_HEAP)
bool up_dataheap_heapmember(FAR void *p);
#endif
/****************************************************************************
* Name: up_copy_section
*