diff --git a/arch/arm/src/cxd56xx/cxd56_textheap.c b/arch/arm/src/cxd56xx/cxd56_textheap.c index b8a4ee05a8..c40afadace 100644 --- a/arch/arm/src/cxd56xx/cxd56_textheap.c +++ b/arch/arm/src/cxd56xx/cxd56_textheap.c @@ -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); +}