From 0fdc09947386f72e261d0fc474e35e7bfa560dc4 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 21:51:30 +0000 Subject: Remove stray white spaces. --- c/src/lib/libbsp/sh/gensh1/startup/bspstart.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'c/src/lib/libbsp/sh/gensh1/startup/bspstart.c') diff --git a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c index 52486e2383..feb935c998 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c @@ -29,7 +29,7 @@ #include #include #include - + /* * The original table from the application and our copy of it with * some changes. @@ -46,7 +46,7 @@ char *rtems_progname; /* * Use the shared implementations of the following routines */ - + void bsp_postdriver_hook(void); void bsp_libc_init( void *, uint32_t, int ); @@ -62,11 +62,11 @@ void bsp_libc_init( void *, uint32_t, int ); * not yet initialized. * */ - + void bsp_pretasking_hook(void) { bsp_libc_init(&HeapStart, (char *)&HeapEnd - (char *)&HeapStart, 0); - + #ifdef RTEMS_DEBUG rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); #endif @@ -81,13 +81,13 @@ void bsp_pretasking_hook(void) void bsp_start(void) { /* - For real boards you need to setup the hardware + For real boards you need to setup the hardware and need to copy the vector table from rom to ram. - Depending on the board this can either be done from inside the rom + Depending on the board this can either be done from inside the rom startup code, rtems startup code or here. */ - + /* * Allocate the memory for the RTEMS Work Space. This can come from * a variety of places: hard coded address, malloc'ed from outside @@ -103,10 +103,10 @@ void bsp_start(void) */ BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ; - BSP_Configuration.work_space_size = - (uint32_t) &WorkSpaceEnd - + BSP_Configuration.work_space_size = + (uint32_t) &WorkSpaceEnd - (uint32_t) &WorkSpaceStart ; - + /* * initialize the CPU table for this BSP */ @@ -115,7 +115,7 @@ void bsp_start(void) _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ; _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ; - Cpu_table.interrupt_stack_size = + Cpu_table.interrupt_stack_size = (uint32_t) (&CPU_Interrupt_stack_high) - (uint32_t) (&CPU_Interrupt_stack_low) ; #endif @@ -123,7 +123,7 @@ void bsp_start(void) Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; - + #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE ) Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; #endif -- cgit v1.2.3