lib: os: move heap to own folder
consolidate all heap related files and implementation into one folder. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
64462657c9
commit
6cb588820f
|
@ -10,6 +10,7 @@ add_subdirectory(posix)
|
|||
endif()
|
||||
add_subdirectory_ifdef(CONFIG_CPP cpp)
|
||||
add_subdirectory(hash)
|
||||
add_subdirectory(heap)
|
||||
add_subdirectory(os)
|
||||
add_subdirectory_ifdef(CONFIG_SMF smf)
|
||||
add_subdirectory_ifdef(CONFIG_OPENAMP open-amp)
|
||||
|
|
|
@ -11,6 +11,8 @@ menu "Additional libraries"
|
|||
|
||||
source "lib/hash/Kconfig"
|
||||
|
||||
source "lib/heap/Kconfig"
|
||||
|
||||
source "lib/os/Kconfig"
|
||||
|
||||
source "lib/posix/Kconfig"
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources(
|
||||
heap.c
|
||||
heap-validate.c
|
||||
multi_heap.c
|
||||
)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_SHARED_MULTI_HEAP shared_multi_heap.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_HEAP_LISTENER heap_listener.c)
|
|
@ -15,10 +15,7 @@ zephyr_sources(
|
|||
sem.c
|
||||
thread_entry.c
|
||||
timeutil.c
|
||||
heap.c
|
||||
heap-validate.c
|
||||
bitarray.c
|
||||
multi_heap.c
|
||||
)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_FDTABLE fdtable.c)
|
||||
|
@ -50,10 +47,6 @@ zephyr_sources_ifdef(CONFIG_SCHED_DEADLINE p4wq.c)
|
|||
|
||||
zephyr_sources_ifdef(CONFIG_REBOOT reboot.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_SHARED_MULTI_HEAP shared_multi_heap.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_HEAP_LISTENER heap_listener.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_UTF8 utf8.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_SYS_MEM_BLOCKS mem_blocks.c)
|
||||
|
|
|
@ -119,14 +119,6 @@ config SPSC_PBUF_UTILIZATION
|
|||
|
||||
endif # SPSC_PBUF
|
||||
|
||||
config SHARED_MULTI_HEAP
|
||||
bool "Shared multi-heap manager"
|
||||
help
|
||||
Enable support for a shared multi-heap manager that uses the
|
||||
multi-heap allocator to manage a set of reserved memory regions with
|
||||
different capabilities / attributes (cacheable, non-cacheable,
|
||||
etc...) defined in the DT.
|
||||
|
||||
config WINSTREAM
|
||||
bool "Lockless shared memory window byte stream"
|
||||
help
|
||||
|
@ -177,6 +169,5 @@ config UTF8
|
|||
|
||||
rsource "Kconfig.cbprintf"
|
||||
|
||||
rsource "Kconfig.heap"
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in New Issue