From d34d8692b674a3366e3cef11a33941e8160c338d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 4 Dec 2007 22:22:26 +0000 Subject: 2007-12-04 Joel Sherrill * 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. --- c/src/lib/libbsp/powerpc/score603e/ChangeLog | 6 ++++++ c/src/lib/libbsp/powerpc/score603e/include/bsp.h | 2 -- c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c | 6 +----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/score603e') diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog index 9b79d7cdc1..a6a9a4a15f 100644 --- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog +++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill + + * 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 * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU diff --git a/c/src/lib/libbsp/powerpc/score603e/include/bsp.h b/c/src/lib/libbsp/powerpc/score603e/include/bsp.h index cbae0dce19..94d677ae72 100644 --- a/c/src/lib/libbsp/powerpc/score603e/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/score603e/include/bsp.h @@ -37,7 +37,6 @@ extern "C" { #else #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4) #endif -#define CONFIGURE_INTERRUPT_STACK_MEMORY (12 * 1024) #ifdef ASM /* Definition of where to store registers in alignment handler */ @@ -222,7 +221,6 @@ unsigned int SCORE603e_FLASH_Enable_writes( ( ((_data&0x00ff)<<8) | ((_data&0xff00)>>8) ) extern rtems_configuration_table BSP_Configuration; /* owned by BSP */ -extern rtems_cpu_table Cpu_table; /* owned by BSP */ extern uint32_t bsp_isr_level; #endif /* ASM */ diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c index e17bb625f6..f042f07645 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c @@ -49,7 +49,6 @@ uint32_t bsp_clicks_per_usec; extern rtems_configuration_table Configuration; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; uint32_t bsp_isr_level; void BSP_panic(char *s) @@ -306,11 +305,8 @@ void bsp_start( void ) BSP_Configuration.work_space_start = work_space_start; /* - * 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 = 66 / 4; /* XXX get from linkcmds */ #if ( PPC_USE_DATA_CACHE ) -- cgit v1.2.3