mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 21:47:28 +08:00
kmalloc.h: Add kmm_heapmember for !CONFIG_MM_KERNEL_HEAP case
This commit is contained in:
committed by
Xiang Xiao
parent
0b547e2384
commit
f2bc4555bb
@@ -99,6 +99,7 @@ extern "C"
|
||||
# define kmm_memalign(a,s) memalign(a,s)
|
||||
# define kmm_free(p) free(p)
|
||||
# define kmm_mallinfo() mallinfo()
|
||||
# define kmm_heapmember(p) umm_heapmember(p)
|
||||
|
||||
#else
|
||||
/* Otherwise, the kernel-space allocators are declared in
|
||||
|
||||
Reference in New Issue
Block a user