summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 21:51:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 21:51:30 +0000
commit0fdc09947386f72e261d0fc474e35e7bfa560dc4 (patch)
tree3057e0e8a3de5f7ec37e5a58d1d562bb6fccabb5 /c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
parentRemove stray white spaces. (diff)
downloadrtems-0fdc09947386f72e261d0fc474e35e7bfa560dc4.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/sh/gensh1/startup/bspstart.c24
1 files changed, 12 insertions, 12 deletions
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 <bsp.h>
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
-
+
/*
* 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