2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>

* include/bsp.h, startup/bspstart.c: Remove unused BSP_INIT_STACK_SIZE
	now that the linkcmds accounts for the starting stack.
This commit is contained in:
Joel Sherrill
2008-09-19 21:31:22 +00:00
parent c37210b1bf
commit bf9b8f5dfe
3 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, startup/bspstart.c: Remove unused BSP_INIT_STACK_SIZE
now that the linkcmds accounts for the starting stack.
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use * Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use

View File

@@ -88,11 +88,6 @@ extern void *end;
extern int CLOCK_SPEED; extern int CLOCK_SPEED;
extern int CPU_PPC_CLICKS_PER_MS; extern int CPU_PPC_CLICKS_PER_MS;
/*
* system init stack
*/
#define BSP_INIT_STACK_SIZE 0x1000
/* /*
* Total RAM available * Total RAM available
*/ */

View File

@@ -270,7 +270,7 @@ void bsp_start( void )
/* /*
* Initialize the interrupt related settings. * Initialize the interrupt related settings.
*/ */
intrStackStart = (uint32_t) __rtems_end + BSP_INIT_STACK_SIZE; intrStackStart = (uint32_t) __rtems_end;
intrStackSize = rtems_configuration_get_interrupt_stack_size(); intrStackSize = rtems_configuration_get_interrupt_stack_size();
BSP_heap_start = intrStackStart + intrStackSize; BSP_heap_start = intrStackStart + intrStackSize;