incubator-nuttx/mm/mm_gran
Ville Juven 36cafbb37f mm/gran: Fix GRAN_ALIGNED() macro
GRAN_ALIGNED should check that the memory block's alignment (log2align)
is correct, not that the memory block is aligned with the granule size.

This fixes DEBUGASSERT() in mm_granfree:
_assert: Assertion failed : at file: mm_gran/mm_granfree.c:49

The assertion triggers if granule size != alignment.
2024-06-03 22:06:38 +08:00
..
CMakeLists.txt mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
Make.defs mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_gran.h mm/gran: Fix GRAN_ALIGNED() macro 2024-06-03 22:06:38 +08:00
mm_granalloc.c mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_grancritical.c
mm_granfree.c mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_graninfo.c
mm_graninit.c mm/gran: Fix GRAN_ALIGNED() macro 2024-06-03 22:06:38 +08:00
mm_granrelease.c
mm_granreserve.c mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_grantable.c mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
mm_grantable.h mm/gran: Fix GRAN_ALIGNED() macro 2024-06-03 22:06:38 +08:00
mm_pgalloc.c