zephyr/lib
Keith Packard 32a437cbc8 libc/common: Handle MMU/MPU/USERSPACE and alignment requirements in malloc
When CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE is set to -1, make the malloc
arena use all remaining RAM. When an MMU exists, allocate the arena at
startup using k_mem_map. Otherwise, compute the available memory
automatically and use that.

When an MPU is being used to manage the malloc arena, make sure the heap
respects any MPU alignment requirements. Otherwise, align the heap to
sizeof(double).

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-05-09 01:29:16 +09:00
..
cpp lib: cpp: Introduce FULL_LIBCPP_SUPPORTED similar to C version 2023-05-03 10:01:05 +02:00
hash lib: hashmap: Move hash table files lib/hashmap 2023-03-02 12:03:07 -05:00
libc libc/common: Handle MMU/MPU/USERSPACE and alignment requirements in malloc 2023-05-09 01:29:16 +09:00
open-amp open-amp: Fix compilation with cache enabled 2023-04-18 12:12:56 +02:00
os lib: bitarray: Remove redundant code 2023-04-21 09:39:49 +02:00
posix posix: sched: add support for SCHED_OTHER 2023-04-29 13:14:40 -07:00
smf lib: smf: fix include 2022-05-25 11:14:18 +09:00
CMakeLists.txt lib: posix: move fnmatch from lib/util to lib/posix 2023-03-03 17:40:14 +09:00
Kconfig lib: posix: move fnmatch from lib/util to lib/posix 2023-03-03 17:40:14 +09:00