mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
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:
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, startup/linkcmds: Add use of
|
* Makefile.am, configure.ac, startup/linkcmds: Add use of
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.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/bspstart.c startup/init5272.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
* A heap size of 0 means "Use all available memory for the heap".
|
* A heap size of 0 means "Use all available memory for the heap".
|
||||||
* Initial stack located in on-chip SRAM and not declared there.
|
* Initial stack located in on-chip SRAM and not declared there.
|
||||||
*/
|
*/
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00100000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00100000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 31M;
|
RamSize = DEFINED(RamSize) ? RamSize : 31M;
|
||||||
|
|
||||||
/* This is needed for _CPU_ISR_install_vector -
|
/* This is needed for _CPU_ISR_install_vector -
|
||||||
* WARNING: it MUST match BSP_RAMBAR !!!!!!!!!!! */
|
* WARNING: it MUST match BSP_RAMBAR !!!!!!!!!!! */
|
||||||
@@ -40,8 +40,8 @@ SECTIONS
|
|||||||
*/
|
*/
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
_RamBase = .;
|
RamBase = .;
|
||||||
__RamBase = .;
|
RamBase = .;
|
||||||
CREATE_OBJECT_SYMBOLS
|
CREATE_OBJECT_SYMBOLS
|
||||||
*(.text*)
|
*(.text*)
|
||||||
|
|
||||||
@@ -133,8 +133,8 @@ SECTIONS
|
|||||||
|
|
||||||
clear_end = .;
|
clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
__WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
|
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
|
||||||
../../shared/bsppost.c ../../shared/bspstart.c ../../shared/bootcard.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
|
../../m68k/shared/setvec.c ../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
|
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ _VBR = 0x000000; /* location of the VBR table (in RAM) */
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
@@ -139,7 +139,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ project_lib_DATA = start.$(OBJEXT)
|
|||||||
dist_project_lib_DATA += startup/linkcmds
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
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/bsppost.c ../../shared/bspstart.c startup/init68340.c \
|
||||||
../../shared/bootcard.c ../../shared/bsppretaskinghook.c \
|
../../shared/bootcard.c ../../shared/bsppretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -20,15 +20,15 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x10000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x10000000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Declare on-board memory.
|
* Declare on-board memory.
|
||||||
* It would be nice if the ram length could be given as
|
* 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.
|
* values in the LENGTH expression.
|
||||||
*/
|
*/
|
||||||
MEMORY {
|
MEMORY {
|
||||||
@@ -169,7 +169,7 @@ SECTIONS {
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c \
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.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/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ MEMORY
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 2M;
|
RamSize = DEFINED(RamSize) ? RamSize : 2M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
@@ -136,7 +136,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, clock/ckinit.c, startup/bspstart.c, startup/linkcmds:
|
* Makefile.am, clock/ckinit.c, startup/bspstart.c, startup/linkcmds:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c ../../shared/bootcard.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/sbrk.c ../../m68k/shared/setvec.c
|
||||||
gnatsupp_SOURCES = ../../shared/gnatinstallhandler.c
|
gnatsupp_SOURCES = ../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
RamSize = DEFINED(RamSize) ? RamSize : 1M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
@@ -136,7 +136,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/bsppretaskinghook.c ../../shared/bsppredriverhook.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
|
../../m68k/shared/setvec.c ../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
|
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
|
||||||
|
|||||||
@@ -19,10 +19,10 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
@@ -140,7 +140,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Add
|
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Add
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
|||||||
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c ../../shared/bootcard.c \
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/bsppretaskinghook.c ../../m68k/shared/setvec.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
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = ../mvme147/clock/ckinit.c
|
clock_SOURCES = ../mvme147/clock/ckinit.c
|
||||||
console_SOURCES = ../mvme147/console/console.c \
|
console_SOURCES = ../mvme147/console/console.c \
|
||||||
|
|||||||
@@ -19,9 +19,9 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
@@ -140,7 +140,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
|||||||
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
startup/bspstart.c ../../shared/bootcard.c \
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/bsppretaskinghook.c startup/page_table.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/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
|
|||||||
@@ -22,9 +22,9 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x20000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x20000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
RamSize = DEFINED(RamSize) ? RamSize : 1M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
@@ -143,7 +143,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c: Add
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c: Add
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c \
|
../../shared/bsppredriverhook.c \
|
||||||
../../m68k/shared/m68kbspgetworkarea.c \
|
../../shared/bspgetworkarea.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/bsppretaskinghook.c startup/page_table.c \
|
../../shared/bsppretaskinghook.c startup/page_table.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ ENTRY(_start)
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes. Heap is sized at whatever ram space is left.
|
* Declare some sizes. Heap is sized at whatever ram space is left.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00800000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00800000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
@@ -152,7 +152,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds: Add use
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ startup_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
|
|||||||
startup/gdb-hooks.c ../../shared/bootcard.c \
|
startup/gdb-hooks.c ../../shared/bootcard.c \
|
||||||
startup/m68302scc.c startup/m68k-stub.c \
|
startup/m68302scc.c startup/m68k-stub.c \
|
||||||
../../shared/bsppretaskinghook.c startup/memcheck.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 \
|
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
../../shared/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
|
../../shared/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
RamSize = DEFINED(RamSize) ? RamSize : 1M;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -154,7 +154,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
@@ -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>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, startup/linkcmds: Add use of
|
* Makefile.am, configure.ac, startup/linkcmds: Add use of
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c ../../shared/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c ../../shared/bspstart.c ../../shared/bootcard.c \
|
||||||
startup/bsppredriverhook.c ../../shared/bsppretaskinghook.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/setvec.c ../../shared/gnatinstallhandler.c \
|
||||||
../../m68k/shared/bspspuriousinit.c ../../m68k/shared/m68000spurious.c \
|
../../m68k/shared/bspspuriousinit.c ../../m68k/shared/m68000spurious.c \
|
||||||
startup/spurious_assistant.c
|
startup/spurious_assistant.c
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
|
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
|
||||||
_RomSize = DEFINED(_RomSize) ? _RomSize : 512K;
|
_RomSize = DEFINED(_RomSize) ? _RomSize : 512K;
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x80000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 128K;
|
RamSize = DEFINED(RamSize) ? RamSize : 128K;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -133,7 +133,7 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
|
|||||||
Reference in New Issue
Block a user