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/c4x/c4xsim/ChangeLog | 6 ++++++ c/src/lib/libbsp/c4x/c4xsim/include/bsp.h | 2 -- c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c | 12 ++---------- 3 files changed, 8 insertions(+), 12 deletions(-) (limited to 'c/src/lib/libbsp/c4x') diff --git a/c/src/lib/libbsp/c4x/c4xsim/ChangeLog b/c/src/lib/libbsp/c4x/c4xsim/ChangeLog index ea1587fcea..766dd1ec79 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/ChangeLog +++ b/c/src/lib/libbsp/c4x/c4xsim/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/c4x/c4xsim/include/bsp.h b/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h index 369e946528..eb27804579 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h +++ b/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h @@ -66,8 +66,6 @@ void bsp_spurious_initialize( void ); 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/c4x/c4xsim/startup/bspstart.c b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c index 75bbb036ee..d15ce74ce2 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c +++ b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c @@ -28,8 +28,6 @@ extern rtems_configuration_table Configuration; rtems_configuration_table BSP_Configuration; -rtems_cpu_table Cpu_table; - /* * Use the shared implementations of the following routines */ @@ -73,14 +71,8 @@ extern void C4X_BSP_output_char(char c); void bsp_start( void ) { - extern void *_WorkspaceBase; - extern uint32_t _WorkspaceMax; - - /* - * This should be enough interrupt stack. - */ - - Cpu_table.interrupt_stack_size = 0; + extern void *_WorkspaceBase; + extern uint32_t _WorkspaceMax; BSP_Configuration.work_space_start = (void *)&_WorkspaceBase; /* XXX check to see if satisfying small memory model */ -- cgit v1.2.3