mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
mm: support custom the mm alignment and default to be 8
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
This commit is contained in:
@@ -61,6 +61,15 @@ config MM_KERNEL_HEAPSIZE
|
||||
user-mode heap. This value may need to be aligned to units of the
|
||||
size of the smallest memory protection region.
|
||||
|
||||
config MM_DFAULT_ALIGNMENT
|
||||
int "Memory default alignment in bytes"
|
||||
default 8
|
||||
range 0 64
|
||||
---help---
|
||||
The memory default alignment in bytes, if this value is 0, the real
|
||||
memory default alignment is equal to sizoef(uintptr), if this value
|
||||
is not 0, this value must be 2^n and at least sizeof(uintptr).
|
||||
|
||||
config MM_SMALL
|
||||
bool "Small memory model"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user