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

* Makefile.am, startup/linkcmds: Use top level shared
	bsp_get_work_area() implementation.
This commit is contained in:
Joel Sherrill
2008-09-16 22:16:25 +00:00
parent 862058d59e
commit 07ce99e933
33 changed files with 114 additions and 59 deletions

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/linkcmds: Add use of

View File

@@ -30,7 +30,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/bsppost.c ../../m68k/shared/m68kbspgetworkarea.c \
../../shared/bsppost.c ../../shared/bspgetworkarea.c \
../../shared/bspstart.c startup/init5272.c ../../shared/bootcard.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c \
../../shared/gnatinstallhandler.c

View File

@@ -13,9 +13,9 @@
* A heap size of 0 means "Use all available memory for the heap".
* Initial stack located in on-chip SRAM and not declared there.
*/
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00100000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 31M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x00100000;
RamSize = DEFINED(RamSize) ? RamSize : 31M;
/* This is needed for _CPU_ISR_install_vector -
* WARNING: it MUST match BSP_RAMBAR !!!!!!!!!!! */
@@ -40,8 +40,8 @@ SECTIONS
*/
.text :
{
_RamBase = .;
__RamBase = .;
RamBase = .;
RamBase = .;
CREATE_OBJECT_SYMBOLS
*(.text*)
@@ -133,8 +133,8 @@ SECTIONS
clear_end = .;
_WorkspaceBase = .;
__WorkspaceBase = .;
WorkAreaBase = .;
WorkAreaBase = .;
} > ram

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use

View File

@@ -31,7 +31,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/bsppost.c ../../shared/bspstart.c ../../shared/bootcard.c \
../../m68k/shared/m68kbspgetworkarea.c ../../shared/sbrk.c \
../../shared/bspgetworkarea.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c ../../shared/gnatinstallhandler.c
clock_SOURCES = clock/ckinit.c
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c

View File

@@ -23,9 +23,9 @@ _VBR = 0x000000; /* location of the VBR table (in RAM) */
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 16M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
SECTIONS
@@ -139,7 +139,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use

View File

@@ -31,7 +31,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../m68k/shared/m68kbspgetworkarea.c \
../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
../../shared/bsppost.c ../../shared/bspstart.c startup/init68340.c \
../../shared/bootcard.c ../../shared/bsppretaskinghook.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c \

View File

@@ -20,15 +20,15 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x10000000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x10000000;
RamSize = DEFINED(RamSize) ? RamSize : 4M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
/*
* Declare on-board memory.
* It would be nice if the ram length could be given as
* LENGTH=_RamSize, but gld doesn't allow non-constant
* LENGTH=RamSize, but gld doesn't allow non-constant
* values in the LENGTH expression.
*/
MEMORY {
@@ -169,7 +169,7 @@ SECTIONS {
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/*

View File

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

View File

@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c ../../m68k/shared/m68kbspgetworkarea.c \
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c \
../../shared/gnatinstallhandler.c
clock_SOURCES = clock/ckinit.c

View File

@@ -20,9 +20,9 @@ MEMORY
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 2M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 2M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
SECTIONS
@@ -136,7 +136,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

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

View File

@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c ../../m68k/shared/m68kbspgetworkarea.c \
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c
gnatsupp_SOURCES = ../../shared/gnatinstallhandler.c
clock_SOURCES = clock/ckinit.c

View File

@@ -15,9 +15,9 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 1M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
MEMORY
@@ -136,7 +136,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

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

View File

@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c ../../shared/bsppredriverhook.c \
../../m68k/shared/m68kbspgetworkarea.c ../../shared/sbrk.c \
../../shared/bspgetworkarea.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c ../../shared/gnatinstallhandler.c
clock_SOURCES = clock/ckinit.c
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c

View File

@@ -19,10 +19,10 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 4M;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
MEMORY
{
@@ -140,7 +140,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

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

View File

@@ -30,7 +30,7 @@ startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c ../../m68k/shared/setvec.c \
../../m68k/shared/m68kbspgetworkarea.c ../../m68k/shared/setvec.c \
../../shared/bspgetworkarea.c ../../m68k/shared/setvec.c \
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
clock_SOURCES = ../mvme147/clock/ckinit.c
console_SOURCES = ../mvme147/console/console.c \

View File

@@ -19,9 +19,9 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 4M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
MEMORY
@@ -140,7 +140,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

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

View File

@@ -39,7 +39,7 @@ startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c startup/page_table.c \
../../m68k/shared/m68kbspgetworkarea.c startup/page_table.c \
../../shared/bspgetworkarea.c startup/page_table.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c \
../../shared/gnatinstallhandler.c
clock_SOURCES = clock/ckinit.c

View File

@@ -22,9 +22,9 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x20000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x20000;
RamSize = DEFINED(RamSize) ? RamSize : 1M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
MEMORY
@@ -143,7 +143,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

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

View File

@@ -32,7 +32,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../m68k/shared/m68kbspgetworkarea.c \
../../shared/bspgetworkarea.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppretaskinghook.c startup/page_table.c \
../../shared/sbrk.c ../../m68k/shared/setvec.c \

View File

@@ -24,9 +24,9 @@ ENTRY(_start)
/*
* Declare some sizes. Heap is sized at whatever ram space is left.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00800000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0;
RamBase = DEFINED(RamBase) ? RamBase : 0x00800000;
RamSize = DEFINED(RamSize) ? RamSize : 4M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
MEMORY
@@ -152,7 +152,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use

View File

@@ -43,7 +43,7 @@ startup_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
startup/gdb-hooks.c ../../shared/bootcard.c \
startup/m68302scc.c startup/m68k-stub.c \
../../shared/bsppretaskinghook.c startup/memcheck.c \
../../m68k/shared/m68kbspgetworkarea.c startup/memcheck.c \
../../shared/bspgetworkarea.c startup/memcheck.c \
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
../../shared/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \

View File

@@ -8,9 +8,9 @@
/*
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 1M;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
/*
@@ -154,7 +154,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
} >ram
/* Stabs debugging sections. */

View File

@@ -1,3 +1,8 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/linkcmds: Add use of

View File

@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bspstart.c ../../shared/bootcard.c \
startup/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../m68k/shared/m68kbspgetworkarea.c ../../shared/sbrk.c \
../../shared/bspgetworkarea.c ../../shared/sbrk.c \
../../m68k/shared/setvec.c ../../shared/gnatinstallhandler.c \
../../m68k/shared/bspspuriousinit.c ../../m68k/shared/m68000spurious.c \
startup/spurious_assistant.c

View File

@@ -10,9 +10,9 @@
*/
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
_RomSize = DEFINED(_RomSize) ? _RomSize : 512K;
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 128K;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0;
RamBase = DEFINED(RamBase) ? RamBase : 0x80000;
RamSize = DEFINED(RamSize) ? RamSize : 128K;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
/*
@@ -133,7 +133,7 @@ SECTIONS
_stack_init = .;
_clear_end = .;
_WorkspaceBase = .;
WorkAreaBase = .;
}
/* Stabs debugging sections. */