diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-10-12 12:56:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-10-12 12:56:07 +0000 |
commit | 50bb7627337aa780c4e8e6f3cbded85d2c80381b (patch) | |
tree | 0f6b313ab0e87a1471f42b4ee243130e5bf1b334 /c/src/lib/libbsp/m68k/efi332/startup/linkcmds | |
parent | 2000-10-12 John S Gwynne <jgwynne@mrcday.com> (diff) | |
download | rtems-50bb7627337aa780c4e8e6f3cbded85d2c80381b.tar.bz2 |
2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* start/start.c: Modified to support generation of ram_init.
* start/ram_init.ld, BSP/start/ram_init.sed: New files.
These changes enable RTEMS to automatically generate
the ram_init file used by gdb with the BDM patches. The 332 has
on-board chip select lines (for RAM and FLASH) that must be
configured before use of these peripherals. These patches parse
data from start.c where the chip select lines are configured in
the runtime executable and automatically generates the gdb
initialization file using the same settings. A great time saver.
A similar file, ram_init_FW (flash writable), is also generated
that the flash programming tool uses.
* start/Makefile.am: Modified to support above.
* CPU/sim.h: Modified to support above.
* startup/except_vect_332_ROM.S: Moved to start so it would not
be included in libbsp.a. Moving it to start ensures it is
available as a single object file.
* start/except_vect_332_ROM.S: Moved from startup.
* startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
shown in the comments.
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/startup/linkcmds | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds index 2750cdaef8..921073d180 100644 --- a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds @@ -9,6 +9,7 @@ __DYNAMIC = 0; /* * The memory map looks like this: * +--------------------+ <- low memory + * | _RamBase | * | .text | * | etext | * | ctor list | the ctor and dtor lists are for @@ -23,10 +24,11 @@ __DYNAMIC = 0; * | _clear_start| start of bss, cleared by crt0 * | _end | start of heap, used by sbrk() * +--------------------+ + * | _WorkspaceBase + * | work space | + * | heapStart | * | heap space | - * | _ENDHEAP | - * | stack space | - * | __stack | top of stack + * | _RamEnd | top of stack * +--------------------+ <- high memory */ |