forked from Imagelibrary/rtems
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds.rom, startup/linkcmds.rom2ram: Use top level shared bsp_get_work_area() implementation.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am, startup/linkcmds, startup/linkcmds.rom,
|
||||
startup/linkcmds.rom2ram: Use top level shared bsp_get_work_area()
|
||||
implementation.
|
||||
|
||||
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use
|
||||
|
||||
@@ -30,7 +30,7 @@ dist_project_lib_DATA += startup/linkcmds startup/linkcmds.rom \
|
||||
|
||||
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||
../../shared/bsppredriverhook.c ../shared/bspstart.c \
|
||||
../../shared/bsppretaskinghook.c ../shared/bspgetworkarea.c \
|
||||
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
|
||||
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
|
||||
../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
|
||||
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
|
||||
|
||||
@@ -24,7 +24,7 @@ ENTRY(_start)
|
||||
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
||||
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||
|
||||
/*
|
||||
* Area assignments:
|
||||
@@ -165,10 +165,9 @@ SECTIONS
|
||||
.stack . : {
|
||||
. = . + 4096;
|
||||
}
|
||||
. = ALIGN(16);
|
||||
|
||||
. = ALIGN(16);
|
||||
_WorkSpaceStart = . ;
|
||||
_WorkAreaBase = . ;
|
||||
|
||||
. = ALIGN(16);
|
||||
_CPU_Interrupt_stack_low = . ;
|
||||
|
||||
@@ -24,8 +24,9 @@ ENTRY(_start)
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
||||
_WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
|
||||
|
||||
/*
|
||||
* Area assignments:
|
||||
@@ -169,14 +170,7 @@ SECTIONS
|
||||
} > ram
|
||||
|
||||
. = ALIGN(16);
|
||||
_HeapStart = . ;
|
||||
. = . + _HeapSize ;
|
||||
PROVIDE( _HeapEnd = . );
|
||||
|
||||
. = ALIGN(16);
|
||||
_WorkSpaceStart = . ;
|
||||
. = . + _WorkspaceSize ;
|
||||
PROVIDE(_WorkSpaceEnd = .);
|
||||
_WorkAreaBase = . ;
|
||||
|
||||
. = ALIGN(16);
|
||||
.stack . : {
|
||||
|
||||
@@ -24,8 +24,9 @@ ENTRY(_start)
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
||||
_WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
|
||||
|
||||
/*
|
||||
* Area assignments:
|
||||
@@ -172,14 +173,8 @@ SECTIONS
|
||||
*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
|
||||
} >ram
|
||||
. = ALIGN(16);
|
||||
_HeapStart = . ;
|
||||
. = . + _HeapSize ;
|
||||
PROVIDE( _HeapEnd = . );
|
||||
|
||||
. = ALIGN(16);
|
||||
_WorkSpaceStart = . ;
|
||||
. = . + _WorkspaceSize ;
|
||||
PROVIDE(_WorkSpaceEnd = .);
|
||||
_WorkAreaBase = . ;
|
||||
|
||||
. = ALIGN(16);
|
||||
.stack . : {
|
||||
|
||||
Reference in New Issue
Block a user