2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>

* startup/bspstart.c, startup/bspstart.c.nocache: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
This commit is contained in:
Joel Sherrill
2007-12-04 22:21:51 +00:00
parent afce764d4c
commit 56ed8f0fa9
3 changed files with 9 additions and 22 deletions

View File

@@ -1,3 +1,10 @@
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Move
interrupt_stack_size field from CPU Table to Configuration Table.
Eliminate CPU Table from all ports. Delete references to CPU Table in
all forms.
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add bsppredriverhook.c.

View File

@@ -41,9 +41,6 @@ SPR_RW(SPRG1)
extern rtems_configuration_table Configuration;
extern unsigned long intrStackPtr;
rtems_configuration_table BSP_Configuration;
rtems_cpu_table Cpu_table;
char *rtems_progname;
/*
@@ -89,10 +86,6 @@ void _BSP_Fatal_error(unsigned int v)
* Must not use libc (to do io) from here, since drivers are not yet
* initialized.
*
* Installed in the rtems_cpu_table defined in
* rtems/c/src/exec/score/cpu/m68k/cpu.h in main() below. Called from
* rtems_initialize_executive() defined in rtems/c/src/exec/sapi/src/init.c
*
* Input parameters: NONE
*
* Output parameters: NONE
@@ -205,10 +198,8 @@ void bsp_start(void)
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
/*
* initialize the CPU table for this BSP
* initialize the device driver parameters
*/
if( Cpu_table.interrupt_stack_size < 4 * 1024 )
Cpu_table.interrupt_stack_size = 4 * 1024;
#if ( defined(mbx860_001b) || \
defined(mbx860_002b) || \

View File

@@ -32,9 +32,6 @@
*/
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
rtems_cpu_table Cpu_table;
char *rtems_progname;
/*
@@ -67,10 +64,6 @@ void bsp_libc_init( void *, uint32_t, int );
* Must not use libc (to do io) from here, since drivers are not yet
* initialized.
*
* Installed in the rtems_cpu_table defined in
* rtems/c/src/exec/score/cpu/m68k/cpu.h in main() below. Called from
* rtems_initialize_executive() defined in rtems/c/src/exec/sapi/src/init.c
*
* Input parameters: NONE
*
* Output parameters: NONE
@@ -163,12 +156,8 @@ void bsp_start(void)
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
/*
* initialize the CPU table for this BSP
* initialize the device driver parameters
*/
if( Cpu_table.interrupt_stack_size < 4 * 1024 )
Cpu_table.interrupt_stack_size = 4 * 1024;
bsp_clicks_per_usec = 1; /* for 4MHz extclk */
bsp_serial_per_sec = 10000000;
bsp_serial_external_clock = 1;