-
CONFIG_SYS_HEAP_ALWAYS_BIG_MODE
¶
Always use the heap big chunks mode
Type: bool
Help¶
The sys_heap allocator by default returns pointers to blocks which are guaranteed to be aligned to the pointer size. By enabling the “big chunks” mode, the returned blocks are guaranteed to be 8 byte aligned, also on 32-bit platforms. If this option is enabled, the “big chunks” mode will always be used by sys_heap.
Default¶
y
Kconfig definitions¶
At arch/sparc/Kconfig:17
Included via Kconfig:8
→ Kconfig.zephyr:29
→ arch/Kconfig:12
Menu path: (Top) → SPARC Options
config SYS_HEAP_ALWAYS_BIG_MODE
bool
default y
depends on SPARC
At lib/os/Kconfig:49
Included via Kconfig:8
→ Kconfig.zephyr:33
→ lib/Kconfig:16
Menu path: (Top) → Additional libraries → OS Support Library
config SYS_HEAP_ALWAYS_BIG_MODE
bool "Always use the heap big chunks mode"
help
The sys_heap allocator by default returns pointers to blocks
which are guaranteed to be aligned to the pointer size.
By enabling the "big chunks" mode, the returned blocks are
guaranteed to be 8 byte aligned, also on 32-bit platforms.
If this option is enabled, the "big chunks" mode will always
be used by sys_heap.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)