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:
parent
18718316dc
commit
1fc3de4518
@ -760,6 +760,18 @@ FAR void *up_textheap_memalign(size_t align, size_t size);
|
|||||||
void up_textheap_free(FAR void *p);
|
void up_textheap_free(FAR void *p);
|
||||||
#endif
|
#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
|
* 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);
|
void up_dataheap_free(FAR void *p);
|
||||||
#endif
|
#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
|
* Name: up_copy_section
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user