memory: adjust memory sizes for heaps

Adjust memory sizes for heaps to provide
enough memory for alignment in buffer heap.

Signed-off-by: Jakub Dabek <jakub.dabek@intel.com>
This commit is contained in:
Jakub Dabek 2019-09-10 17:47:21 +02:00 committed by Janusz Jankowski
parent 51a6c9cdc5
commit 823e57a1b2
2 changed files with 5 additions and 5 deletions

View File

@ -282,7 +282,7 @@
HEAP_RT_COUNT256 * 256 + HEAP_RT_COUNT512 * 512 + \
HEAP_RT_COUNT1024 * 1024)
#define HEAP_BUFFER_SIZE 0x2000
#define HEAP_BUFFER_SIZE 0x8000
#define HEAP_BUFFER_BLOCK_SIZE 0x180
#define HEAP_BUFFER_COUNT (HEAP_BUFFER_SIZE / HEAP_BUFFER_BLOCK_SIZE)

View File

@ -86,13 +86,13 @@ void platform_init_memmap(void);
/* Heap section sizes for module pool */
#define HEAP_RT_COUNT8 0
#define HEAP_RT_COUNT16 48
#define HEAP_RT_COUNT32 48
#define HEAP_RT_COUNT16 32
#define HEAP_RT_COUNT32 32
#define HEAP_RT_COUNT64 32
#define HEAP_RT_COUNT128 32
#define HEAP_RT_COUNT256 32
#define HEAP_RT_COUNT512 4
#define HEAP_RT_COUNT1024 4
#define HEAP_RT_COUNT512 2
#define HEAP_RT_COUNT1024 1
/* Heap section sizes for system runtime heap */
#define HEAP_SYS_RT_COUNT64 64