mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
powerpc/psim: Increase the psim memory to 256M
This allows test dl09 to run and test PowePC backend trampoline support. Updates #3685
This commit is contained in:
@@ -101,8 +101,8 @@ void bsp_start( void )
|
||||
* Setup BATs and enable MMU
|
||||
*/
|
||||
/* Memory */
|
||||
setdbat(0, 0x0<<24, 0x0<<24, 2<<24, _PAGE_RW);
|
||||
setibat(0, 0x0<<24, 0x0<<24, 2<<24, 0);
|
||||
setdbat(0, 0x0<<28, 0x0<<28, 1<<28, _PAGE_RW);
|
||||
setibat(0, 0x0<<28, 0x0<<28, 1<<28, 0);
|
||||
/* PCI */
|
||||
setdbat(1, 0x8<<24, 0x8<<24, 1<<24, IO_PAGE);
|
||||
setdbat(2, 0xc<<24, 0xc<<24, 1<<24, IO_PAGE);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#/openprom/init/register/pc 0
|
||||
#/openprom/options/smp 2
|
||||
#/openprom/options/oea-memory-size 4194304
|
||||
/openprom/options/oea-memory-size 8388608
|
||||
/openprom/options/oea-memory-size 0x10000000
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
EXTERN (__vectors)
|
||||
|
||||
MEMORY {
|
||||
RAM : ORIGIN = 0, LENGTH = 16M
|
||||
RAM : ORIGIN = 0, LENGTH = 256M
|
||||
EMPTY : ORIGIN = 0x0, LENGTH = 0
|
||||
}
|
||||
|
||||
@@ -37,4 +37,9 @@ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
|
||||
|
||||
PSIM = 0x0c000000;
|
||||
|
||||
/*
|
||||
* Allocate the maximum memory to the sdata/sbss section.
|
||||
*/
|
||||
bsp_section_sdata_bss_maximum_size = 1;
|
||||
|
||||
INCLUDE linkcmds.base
|
||||
|
||||
Reference in New Issue
Block a user