cxd56xx: Implement up_textheap_heapmember
This commit is contained in:
parent
35a5cc27ac
commit
a9317b1895
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue