nios2-qemu: use all available RAM

Use all available ram, cut in half for simulated RAM/ROM
regions. Some larger test cases did not fit in 64K for
non-XIP case.

Change-Id: I12296286ca7efa5bcc1ceef30486c3fe8976811c
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-06-30 11:41:19 -07:00 committed by Inaky Perez-Gonzalez
parent 0a8a101e6e
commit c613715322

View file

@ -20,11 +20,13 @@
* higher-addressed chunk considered "ROM"
*/
#define _RESET_VECTOR ONCHIP_MEMORY2_0_BASE + 0x10000
#define HALF_RAM (ONCHIP_MEMORY2_0_SPAN / 2)
#define _RESET_VECTOR (ONCHIP_MEMORY2_0_BASE + HALF_RAM)
#define _EXC_VECTOR ALT_CPU_EXCEPTION_ADDR
#define _ROM_ADDR ONCHIP_MEMORY2_0_BASE + 0x10000
#define _ROM_SIZE 0x10000
#define _ROM_ADDR (ONCHIP_MEMORY2_0_BASE + HALF_RAM)
#define _ROM_SIZE HALF_RAM
#define _RAM_ADDR ONCHIP_MEMORY2_0_BASE
#define _RAM_SIZE 0x10000
#define _RAM_SIZE HALF_RAM