diff options
author | Ralf Kirchner <ralf.kirchner@embedded-brains.de> | 2014-04-30 10:06:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-30 14:44:47 +0200 |
commit | ff13e0bd97b74d4a6139c9e747c5da61054b513b (patch) | |
tree | 59bd81527e249f4283ce1211a9eeb1a1cb3c0430 | |
parent | score: Typo (diff) | |
download | rtems-ff13e0bd97b74d4a6139c9e747c5da61054b513b.tar.bz2 |
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
-rw-r--r-- | c/src/lib/libbsp/arm/altera-cyclone-v/startup/linkcmds.altcycv_devkit | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/linkcmds.altcycv_devkit b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/linkcmds.altcycv_devkit index 60f99a04f9..17ebed86be 100644 --- a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/linkcmds.altcycv_devkit +++ b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/linkcmds.altcycv_devkit @@ -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 { diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c index 0f01989b8d..29e91763a6 100644 --- a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c +++ b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c @@ -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 |