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