summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:03 +0000
commitcafa2c5d0586ad7933e3fe543c7602a549ce692e (patch)
tree2ad15de8657874421853a56031814deb3b7b3076 /c/src/lib/libbsp/powerpc
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-cafa2c5d0586ad7933e3fe543c7602a549ce692e.tar.bz2
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: 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')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c8
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c7
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c9
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c13
8 files changed, 27 insertions, 34 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
index ef81bd16ce..2b0480008b 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: 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>
* clock/clock.c: Fix typo.
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
index 2c3e0ee63a..7a0c81d026 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
@@ -129,7 +129,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;
/*
@@ -287,13 +286,6 @@ void bsp_start(void)
/* Signal them that this BSP has fixed PR288 - eventually, this should go away */
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
- /*
- * initialize the CPU table for this BSP
- */
-
- if( Cpu_table.interrupt_stack_size < 4*1024 )
- Cpu_table.interrupt_stack_size = 4 * 1024;
-
bsp_clicks_per_usec = (IPB_CLOCK/1000000);
/*
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
index 35a77c9c94..ea785d4500 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: 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 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* spi/spi_init.c: added missing file
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
index 1c72afb5f3..81f2566b8e 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
@@ -48,7 +48,6 @@ extern rtems_configuration_table Configuration;
extern unsigned long intrStackPtr;
rtems_configuration_table BSP_Configuration;
static char *BSP_heap_start, *BSP_heap_end;
-rtems_cpu_table Cpu_table;
char *rtems_progname;
/*
@@ -206,12 +205,8 @@ void bsp_start(void)
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
/*
- * 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 = (BSP_CSB_CLK_FRQ/1000000);
/*
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
index e5ea713982..e29f971bc9 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: 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-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
index 1e767cef42..75fc84b728 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
@@ -69,9 +69,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;
/*
@@ -295,12 +292,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 = 10; /* for 40MHz extclk */
bsp_serial_per_sec = 40000000;
bsp_serial_external_clock = 0;
diff --git a/c/src/lib/libbsp/powerpc/ss555/ChangeLog b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
index a81edc7741..b863b6bf00 100644
--- a/c/src/lib/libbsp/powerpc/ss555/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: 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-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
index 6a26500bea..4fea0cf850 100644
--- a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
@@ -48,9 +48,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;
/*
@@ -88,11 +85,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/powerpc/rtems/new-exceptions/cpu.h by main()
- * below. Called from rtems_initialize_executive() defined in
- * rtems/c/src/exec/sapi/src/init.c
- *
* Input parameters: NONE
*
* Output parameters: NONE
@@ -185,11 +177,8 @@ void bsp_start(void)
BSP_Configuration.work_space_start = _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 = BSP_CRYSTAL_HZ / 4 / 1000000;
bsp_clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */