bsp/altera-cyclone-v: Increase size of nocache region and nocache heap

Increase size of nocache heap in order to be able to move mbufs and clusters of the network driver to uncached RAM
This commit is contained in:
Ralf Kirchner
2014-04-30 10:06:10 +02:00
committed by Sebastian Huber
parent dabf42349e
commit ff13e0bd97
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
MEMORY {
RAM_MMU : ORIGIN = 0x00100000, LENGTH = 16k
NOCACHE : ORIGIN = 0x00200000, LENGTH = 1M
RAM : ORIGIN = 0x00300000, LENGTH = 1024M - 1M - 1M - 1M
NOCACHE : ORIGIN = 0x00200000, LENGTH = 3M
RAM : ORIGIN = 0x00500000, LENGTH = 1024M - 1M - 1M - 3M
}
SECTIONS {

View File

@@ -27,7 +27,7 @@
/** @brief Uncached RAM pool
*
* Allocate the whole bsp_nocache for the nocache heap */
static char nocache_pool[1024
static char nocache_pool[3 * 1024
* 1024] __attribute__( ( section( ".bsp_nocache" ) ) );
/** @brief Nocache heap