summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/bspstart.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
index e78e23ae4a..89d9d6292b 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
@@ -35,11 +35,7 @@ uint32_t bsp_clicks_per_second;
*/
extern rtems_configuration_table Configuration;
-
rtems_configuration_table BSP_Configuration;
-
-rtems_cpu_table Cpu_table;
-
char *rtems_progname;
/*
@@ -113,14 +109,10 @@ void bsp_start( void )
#if ( CPU_ALLOCATE_INTERRUPT_STACK == FALSE )
_CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
_CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
-
- Cpu_table.interrupt_stack_size =
- (uint32_t) (&CPU_Interrupt_stack_high) -
- (uint32_t) (&CPU_Interrupt_stack_low) ;
#endif
-#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
- Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
-#endif
+ /*
+ * initialize the device driver parameters
+ */
bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
}