zephyr/tests/lib/heap
Nicolas Pitre c822e0abbd libc/minimal: fix realloc() allocated memory alignment
The definition for realloc() says that it should return a pointer
to the allocated memory which is suitably aligned for any built-in
type.

Turn sys_heap_realloc() into a sys_heap_aligned_realloc() and use it
with __alignof__(z_max_align_t) to implement realloc() with proper
memory alignment for any platform.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2021-02-02 19:08:24 -05:00
..
src libc/minimal: fix realloc() allocated memory alignment 2021-02-02 19:08:24 -05:00
CMakeLists.txt
prj.conf
testcase.yaml tests: enable and run many tests on RISC-V 2021-01-15 13:06:33 -05:00