diff options
author | Ric Claus <claus@slac.stanford.edu> | 2012-11-30 15:56:04 -0800 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-01 09:04:14 +0100 |
commit | 5b822ab26adf42d7ecf332adc2f89651d934ce1d (patch) | |
tree | 6a62cd722d64e8c44a3fe41ded2a30e4c845a2a8 /c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds | |
parent | Support additional shell keystrokes. (diff) | |
download | rtems-5b822ab26adf42d7ecf332adc2f89651d934ce1d.tar.bz2 |
Virtex4 BSP: Various updates and improvements.
Switched to using the PPC403 clock driver. Added support for the MMU but
didn't enable it by default. Made some functions static to avoid compiler
warnings. Added a README.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds index cff5767aef..74a10aa079 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds @@ -20,16 +20,17 @@ HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */ MEMORY { - VECTORS : ORIGIN = 0x00000000, LENGTH = 8K - RAM : ORIGIN = 0x00002000, LENGTH = 128M - 8K + VECTORS : ORIGIN = 0x00000000, LENGTH = 12K + RAM : ORIGIN = 0x00003000, LENGTH = 128M - 12K } SECTIONS { - __exeentry = download_entry; - __exestart = 0x100; - .vectors __exestart : { *(.vectors) } > VECTORS + bsp_exc_vector_base = 0x100; + __exeentry = download_entry; + __exestart = bsp_exc_vector_base; + .vectors bsp_exc_vector_base : { *(.vectors) } > VECTORS /* Read-only sections, merged into text segment: */ .interp : { *(.interp) } > RAM @@ -249,7 +250,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000; /* Message area for capturing early printk output */ /* Placed here to be easily findable with a debugger */ - MsgAreaBase = __bsp_ram_end; + MsgAreaBase = .; . += MsgAreaSize; __phy_ram_end = .; /* True end of physical memory */ |