nuttx/mm
leisiji 7253e70659 mm/kasan: fix build fail when CONFIG_MM_KASAN_GLOBAL and CONFIG_BUILD_KERNEL on
When CONFIG_MM_KASAN_GLOBAL is enabled, hook.c is also linked into
libmm.a. However, g_global_region (defined in global.c) is only
injected into the nuttx ELF by kasan_global.py — it does not process
the app binary. This causes undefined symbol errors when linking an
app against libmm.a.

Guard the inclusion of global.c with __KERNEL__ so that only kernel
builds pull in the global KASAN region, while app builds fall back
to the no-op stub.

Signed-off-by: leisiji <2265215145@qq.com>
2026-07-03 07:51:11 +02:00
..
iob !sys/types.h: change time_t and clock_t to int64_t to align with other OSes 2026-05-19 16:21:28 +08:00
kasan mm/kasan: fix build fail when CONFIG_MM_KASAN_GLOBAL and CONFIG_BUILD_KERNEL on 2026-07-03 07:51:11 +02:00
kmap mm/kmap/kmm_map.c: Fix argument to gran_free 2025-01-15 17:10:57 +08:00
kmm_heap include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
map include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mempool mm/mempool: fix the entry condition for semaphore during mempool allocation 2026-02-28 00:24:54 +08:00
mm_gran mm/gran: reject pools with too many granules 2026-06-24 08:41:28 -03:00
mm_heap include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
shm include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
tlsf include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ubsan !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
umm_heap mm/umm: Allow customizing the implementation of umm heap 2026-01-27 21:27:53 +08:00
CMakeLists.txt mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
Kconfig mm: Fix Kconfig style 2026-03-12 09:08:18 +08:00
Makefile Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00