summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/helas403
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:26 +0000
commitd34d8692b674a3366e3cef11a33941e8160c338d (patch)
tree2a9254debb288cf2f5d2c896c1c8cf9dd67317e1 /c/src/lib/libbsp/powerpc/helas403
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-d34d8692b674a3366e3cef11a33941e8160c338d.tar.bz2
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, 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/helas403')
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/include/bsp.h10
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c9
3 files changed, 7 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/powerpc/helas403/ChangeLog b/c/src/lib/libbsp/powerpc/helas403/ChangeLog
index d08fedd5a4..7b5d9c4273 100644
--- a/c/src/lib/libbsp/powerpc/helas403/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/helas403/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * include/bsp.h, 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>
* startup/bspstart.c: Moved most of the remaining CPU Table fields to
diff --git a/c/src/lib/libbsp/powerpc/helas403/include/bsp.h b/c/src/lib/libbsp/powerpc/helas403/include/bsp.h
index 0540514818..305f7d427a 100644
--- a/c/src/lib/libbsp/powerpc/helas403/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/helas403/include/bsp.h
@@ -46,15 +46,6 @@ extern "C" {
#include <bspopts.h>
-/*
- * confdefs.h overrides for this BSP:
- * - number of termios serial ports (defaults to 1)
- * - Interrupt stack space is not minimum if defined.
- */
-
-/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
-#define CONFIGURE_INTERRUPT_STACK_MEMORY (16 * 1024)
-
#ifdef ASM
/* Definition of where to store registers in alignment handler */
#define ALIGN_REGS 0x0140
@@ -74,7 +65,6 @@ extern "C" {
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration; /* owned by BSP */
-extern rtems_cpu_table Cpu_table; /* owned by BSP */
/*
* Device Driver Table Entries
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c b/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
index 4b82e295dd..ee00a0418c 100644
--- a/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
@@ -68,11 +68,7 @@
*/
extern rtems_configuration_table Configuration;
-
rtems_configuration_table BSP_Configuration;
-
-rtems_cpu_table Cpu_table;
-
char *rtems_progname;
void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */
@@ -173,11 +169,8 @@ void bsp_start( void )
((char *)(bsp_ram_end)) - BSP_Configuration.work_space_size;
/*
- * initialize the CPU table for this BSP
+ * initialize the device driver parameters
*/
-
- Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
-
bsp_clicks_per_usec = 25;
bsp_serial_per_sec = 25000000;
bsp_serial_external_clock = 0;