mirror of https://github.com/thesofproject/sof.git
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:
parent
51a6c9cdc5
commit
823e57a1b2
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue