forked from Imagelibrary/rtems
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds_ROM: 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, startup/linkcmds_ROM: 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: Removed.
|
* startup/bspstart.c: Removed.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ startup_SOURCES = startup/start_c.c ../../shared/bsplibc.c \
|
|||||||
../../shared/bsppost.c ../../shared/bspstart.c startup/bsppredriverhook.c \
|
../../shared/bsppost.c ../../shared/bspstart.c startup/bsppredriverhook.c \
|
||||||
startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../m68k/shared/setvec.c ../../shared/bsppretaskinghook.c \
|
../../m68k/shared/setvec.c ../../shared/bsppretaskinghook.c \
|
||||||
../../m68k/shared/m68kbspgetworkarea.c ../../shared/gnatinstallhandler.c \
|
../../shared/bspgetworkarea.c ../../shared/gnatinstallhandler.c \
|
||||||
startup/except_vect_332_ROM.S
|
startup/except_vect_332_ROM.S
|
||||||
clock_SOURCES = clock/ckinit.c
|
clock_SOURCES = clock/ckinit.c
|
||||||
console_SOURCES = console/console.c console/sci.c console/sci.h
|
console_SOURCES = console/console.c console/sci.c console/sci.h
|
||||||
|
|||||||
@@ -33,10 +33,10 @@ __DYNAMIC = 0;
|
|||||||
/*
|
/*
|
||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x10000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x10000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x70000;
|
RamSize = DEFINED(RamSize) ? RamSize : 0x70000;
|
||||||
_RamEnd = _RamBase + _RamSize;
|
_RamEnd = RamBase + RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
@@ -159,6 +159,6 @@ SECTIONS
|
|||||||
_stack_init = .;
|
_stack_init = .;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ MEMORY
|
|||||||
ram : ORIGIN = 0x03000, LENGTH = 0x7d000
|
ram : ORIGIN = 0x03000, LENGTH = 0x7d000
|
||||||
}
|
}
|
||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x003000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x003000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x7d000;
|
RamSize = DEFINED(RamSize) ? RamSize : 0x7d000;
|
||||||
_RamEnd = _RamBase + _RamSize;
|
_RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
__end_of_ram = 0x080000;
|
__end_of_ram = 0x080000;
|
||||||
_copy_data_from_rom = 1;
|
_copy_data_from_rom = 1;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -187,7 +187,7 @@ SECTIONS
|
|||||||
_end = ALIGN(0x8);
|
_end = ALIGN(0x8);
|
||||||
__end = ALIGN(0x8);
|
__end = ALIGN(0x8);
|
||||||
|
|
||||||
_WorkspaceBase = . + _StackSize;
|
WorkAreaBase = . + _StackSize;
|
||||||
} > ram
|
} > ram
|
||||||
.stab . (NOLOAD) :
|
.stab . (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user