mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +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
|
* Setup BATs and enable MMU
|
||||||
*/
|
*/
|
||||||
/* Memory */
|
/* Memory */
|
||||||
setdbat(0, 0x0<<24, 0x0<<24, 2<<24, _PAGE_RW);
|
setdbat(0, 0x0<<28, 0x0<<28, 1<<28, _PAGE_RW);
|
||||||
setibat(0, 0x0<<24, 0x0<<24, 2<<24, 0);
|
setibat(0, 0x0<<28, 0x0<<28, 1<<28, 0);
|
||||||
/* PCI */
|
/* PCI */
|
||||||
setdbat(1, 0x8<<24, 0x8<<24, 1<<24, IO_PAGE);
|
setdbat(1, 0x8<<24, 0x8<<24, 1<<24, IO_PAGE);
|
||||||
setdbat(2, 0xc<<24, 0xc<<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/init/register/pc 0
|
||||||
#/openprom/options/smp 2
|
#/openprom/options/smp 2
|
||||||
#/openprom/options/oea-memory-size 4194304
|
#/openprom/options/oea-memory-size 4194304
|
||||||
/openprom/options/oea-memory-size 8388608
|
/openprom/options/oea-memory-size 0x10000000
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
EXTERN (__vectors)
|
EXTERN (__vectors)
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
RAM : ORIGIN = 0, LENGTH = 16M
|
RAM : ORIGIN = 0, LENGTH = 256M
|
||||||
EMPTY : ORIGIN = 0x0, LENGTH = 0
|
EMPTY : ORIGIN = 0x0, LENGTH = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,4 +37,9 @@ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
|
|||||||
|
|
||||||
PSIM = 0x0c000000;
|
PSIM = 0x0c000000;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Allocate the maximum memory to the sdata/sbss section.
|
||||||
|
*/
|
||||||
|
bsp_section_sdata_bss_maximum_size = 1;
|
||||||
|
|
||||||
INCLUDE linkcmds.base
|
INCLUDE linkcmds.base
|
||||||
|
|||||||
Reference in New Issue
Block a user