summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:21:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:21:51 +0000
commit56ed8f0fa9b277a0b042bb29ae4c66f34a484803 (patch)
tree724eb7a9d326d6d68d07eaf5f1b414b9fe2d2af0 /c/src/lib/libbsp/powerpc/mbx8xx
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-56ed8f0fa9b277a0b042bb29ae4c66f34a484803.tar.bz2
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.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog7
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c11
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache13
3 files changed, 9 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
index c912e63c1b..fd8ac95df6 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
@@ -1,5 +1,12 @@
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.
* irq/irq.h: Attempt to correct definition of
BSP_CPM_IRQ_LOWEST_OFFSET.
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c
index efc76c797b..691238256c 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c
@@ -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) || \
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache
index afa11dbbb4..455c01a9b2 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache
@@ -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;