cxd56xx: Implement up_textheap_heapmember

This commit is contained in:
YAMAMOTO Takashi 2022-05-20 18:19:50 +09:00 committed by Xiang Xiao
parent 35a5cc27ac
commit a9317b1895
1 changed files with 18 additions and 0 deletions

View File

@ -95,3 +95,21 @@ void up_textheap_free(void *p)
kmm_free(p);
}
/****************************************************************************
* Name: up_textheap_heapmember()
****************************************************************************/
bool up_textheap_heapmember(void *p)
{
if (p == NULL)
{
return false;
}
#ifdef CONFIG_CXD56_USE_SYSBUS
p += SYSBUS_ADDRESS_OFFSET;
#endif
return kmm_heapmember(p);
}