forked from Imagelibrary/rtems
bsp/altera-cyclone-v: Reduce size of nocache heap
Network mbufs and clusters now are cached. Thus the nocache heap can get reduced to 1 MByte.
This commit is contained in:
committed by
Sebastian Huber
parent
bb70bea198
commit
12a4d08553
@@ -1,7 +1,7 @@
|
||||
MEMORY {
|
||||
RAM_MMU : ORIGIN = 0x00100000, LENGTH = 16k
|
||||
NOCACHE : ORIGIN = 0x00200000, LENGTH = 3M
|
||||
RAM : ORIGIN = 0x00500000, LENGTH = 1024M - 1M - 1M - 3M
|
||||
NOCACHE : ORIGIN = 0x00200000, LENGTH = 1M
|
||||
RAM : ORIGIN = 0x00300000, LENGTH = 1024M - 1M - 1M - 1M
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
/** @brief Uncached RAM pool
|
||||
*
|
||||
* Allocate the whole bsp_nocache for the nocache heap */
|
||||
static char nocache_pool[3 * 1024
|
||||
* 1024] __attribute__( ( section( ".bsp_nocache" ) ) );
|
||||
static char nocache_pool[1024 * 1024]
|
||||
__attribute__( ( section( ".bsp_nocache" ) ) );
|
||||
|
||||
/** @brief Nocache heap
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user