2008-09-19 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-19 21:14:03 +00:00
parent 1a3db54805
commit 127e726af6
18 changed files with 61 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2008-09-19 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>
* startup/bspstart.c: Remove unnecessary includes of * startup/bspstart.c: Remove unnecessary includes of

View File

@@ -26,7 +26,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \ ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
../../shared/bsppredriverhook.c startup/bspstart.c startup/bspclean.c \ ../../shared/bsppredriverhook.c startup/bspstart.c startup/bspclean.c \
startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \ startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c

View File

@@ -30,6 +30,9 @@ MEMORY {
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x08200000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x08200000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 30M; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 30M;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000; _irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000;
_fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400; _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400;
@@ -198,6 +201,7 @@ SECTIONS
. = ALIGN (1024); . = ALIGN (1024);
_bss_free_start = .; _bss_free_start = .;
WorkAreaBase = .;
} > sdram } > sdram

View File

@@ -1,3 +1,8 @@
2008-09-19 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>
* startup/bspstart.c: Remove unnecessary includes of * startup/bspstart.c: Remove unnecessary includes of

View File

@@ -26,7 +26,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bsppredriverhook.c ../shared/bspgetworkarea.c \ ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
../../shared/bsppretaskinghook.c startup/bspstart.c startup/bspclean.c \ ../../shared/bsppretaskinghook.c startup/bspstart.c startup/bspclean.c \
startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \ startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c

View File

@@ -29,6 +29,9 @@ MEMORY
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x20100000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x20100000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 15M; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 15M;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_sram_base = DEFINED(_sram_base) ? _sram_base : 0x00000000; _sram_base = DEFINED(_sram_base) ? _sram_base : 0x00000000;
_sram_size = DEFINED(_sram_size) ? _sram_size : 16K; _sram_size = DEFINED(_sram_size) ? _sram_size : 16K;
@@ -183,6 +186,7 @@ SECTIONS
. = ALIGN (1024); . = ALIGN (1024);
_bss_free_start = .; _bss_free_start = .;
WorkAreaBase = .;
} > sdram } > sdram

View File

@@ -1,3 +1,8 @@
2008-09-19 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>
* startup/bspstart.c: Remove unnecessary includes of * startup/bspstart.c: Remove unnecessary includes of

View File

@@ -28,7 +28,7 @@ dist_project_lib_DATA += startup/linkcmds
include_HEADERS += ../../arm/shared/comm/uart.h include_HEADERS += ../../arm/shared/comm/uart.h
startup_SOURCES = ../../shared/bsppost.c ../../shared/bsplibc.c \ startup_SOURCES = ../../shared/bsppost.c ../../shared/bsplibc.c \
../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \ ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
../../shared/bsppredriverhook.c startup/bspstart.c \ ../../shared/bsppredriverhook.c startup/bspstart.c \
startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \ startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c

View File

@@ -30,6 +30,9 @@ MEMORY {
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x00000000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x00000000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 16M; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 16M;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000; _irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000;
_fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400; _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400;
@@ -185,6 +188,7 @@ SECTIONS
. = ALIGN (1024); . = ALIGN (1024);
_bss_free_start = .; _bss_free_start = .;
WorkAreaBase = .;
} > sdram } > sdram

View File

@@ -1,3 +1,8 @@
2008-09-19 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>
* startup/bspstart.c: Remove unnecessary includes of * startup/bspstart.c: Remove unnecessary includes of

View File

@@ -27,7 +27,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bsppredriverhook.c ../shared/bspgetworkarea.c \ ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
../../shared/bsppretaskinghook.c startup/bspstart.c startup/bspclean.c \ ../../shared/bsppretaskinghook.c startup/bspstart.c startup/bspclean.c \
startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \ startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c

View File

@@ -28,6 +28,9 @@ MEMORY {
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0xc000000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0xc000000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 7M; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 7M;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000; _irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000;
_fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400; _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400;
@@ -225,6 +228,7 @@ SECTIONS
. = ALIGN (1024); . = ALIGN (1024);
_bss_free_start = .; _bss_free_start = .;
WorkAreaBase = .;
} > sdram } > sdram
_axf_bss_end = . ; _axf_bss_end = . ;

View File

@@ -1,3 +1,8 @@
2008-09-19 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>
* startup/bspstart.c: Remove unnecessary includes of * startup/bspstart.c: Remove unnecessary includes of

View File

@@ -29,7 +29,7 @@ dist_project_lib_DATA += startup/linkcmds
include_HEADERS += ../../arm/shared/comm/uart.h include_HEADERS += ../../arm/shared/comm/uart.h
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \ ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../shared/bspgetworkarea.c startup/bspstart.c startup/bspclean.c \ ../../shared/bspgetworkarea.c startup/bspstart.c startup/bspclean.c \
../../shared/bootcard.c ../../shared/sbrk.c \ ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c
console_SOURCES = ../../shared/console.c console_SOURCES = ../../shared/console.c

View File

@@ -34,6 +34,9 @@ MEMORY {
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x81000000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x81000000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 512K; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 512K;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x100; _irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x100;
_fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x50; _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x50;
@@ -190,8 +193,9 @@ SECTIONS
_end = .; _end = .;
__end = .; __end = .;
_bss_free_start = .;
. = ALIGN (0x10); . = ALIGN (0x10);
_bss_free_start = .;
WorkAreaBase = .;
} > sdram } > sdram
/* /*

View File

@@ -1,3 +1,8 @@
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bspopts.h.in: Split out * Makefile.am, configure.ac, include/bspopts.h.in: Split out

View File

@@ -29,7 +29,7 @@ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../gp32/startup/bspstart.c ../gp32/startup/bspclean.c startup/memmap.c \ ../gp32/startup/bspstart.c ../gp32/startup/bspclean.c startup/memmap.c \
../../shared/bootcard.c ../../shared/sbrk.c \ ../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/bsppretaskinghook.c \ ../../shared/bsppretaskinghook.c \
../../shared/bsppredriverhook.c ../shared/bspgetworkarea.c \ ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
../../shared/gnatinstallhandler.c ../../shared/gnatinstallhandler.c
console_SOURCES = ../gp32/console/uart.c ../../shared/console.c console_SOURCES = ../gp32/console/uart.c ../../shared/console.c
abort_SOURCES = ../shared/abort/abort.c abort_SOURCES = ../shared/abort/abort.c

View File

@@ -28,6 +28,9 @@ MEMORY {
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x30000000; _sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x30000000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 64M; _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 64M;
RamBase = _sdram_base;
RamSize = _sdram_size;
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
_irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000; _irq_stack_size = DEFINED(_irq_stack_size) ? _irq_stack_size : 0x1000;
_fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400; _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x400;
@@ -225,6 +228,7 @@ SECTIONS
. = ALIGN (1024); . = ALIGN (1024);
_bss_free_start = .; _bss_free_start = .;
_bss_free_start = .;
} > sdram } > sdram
_axf_bss_end = . ; _axf_bss_end = . ;