2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.am, startup/linkcmds, startup/linkcmds_ROM: Use top level
	shared bsp_get_work_area() implementation.
This commit is contained in:
Joel Sherrill
2008-09-16 22:16:11 +00:00
parent 8cf46cbc55
commit 862058d59e
4 changed files with 16 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds_ROM: Use top level
shared bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Removed.

View File

@@ -33,7 +33,7 @@ startup_SOURCES = startup/start_c.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bspstart.c startup/bsppredriverhook.c \
startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c ../../shared/bsppretaskinghook.c \
../../m68k/shared/m68kbspgetworkarea.c ../../shared/gnatinstallhandler.c \
../../shared/bspgetworkarea.c ../../shared/gnatinstallhandler.c \
startup/except_vect_332_ROM.S
clock_SOURCES = clock/ckinit.c
console_SOURCES = console/console.c console/sci.c console/sci.h

View File

@@ -33,10 +33,10 @@ __DYNAMIC = 0;
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x10000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x70000;
_RamEnd = _RamBase + _RamSize;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x10000;
RamSize = DEFINED(RamSize) ? RamSize : 0x70000;
_RamEnd = RamBase + RamSize;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
MEMORY
@@ -159,6 +159,6 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
}

View File

@@ -43,13 +43,13 @@ MEMORY
ram : ORIGIN = 0x03000, LENGTH = 0x7d000
}
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x003000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x7d000;
_RamEnd = _RamBase + _RamSize;
RamBase = DEFINED(RamBase) ? RamBase : 0x003000;
RamSize = DEFINED(RamSize) ? RamSize : 0x7d000;
_RamEnd = RamBase + RamSize;
__end_of_ram = 0x080000;
_copy_data_from_rom = 1;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
/*
@@ -187,7 +187,7 @@ SECTIONS
_end = ALIGN(0x8);
__end = ALIGN(0x8);
_WorkspaceBase = . + _StackSize;
WorkAreaBase = . + _StackSize;
} > ram
.stab . (NOLOAD) :
{