From 6128a4aa5e791ed4e0a655bfd346a52d92da7883 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 21 Apr 2004 10:43:04 +0000 Subject: Remove stray white spaces. --- c/src/lib/libbsp/unix/posix/clock/clock.c | 2 +- c/src/lib/libbsp/unix/posix/console/console.c | 4 ++-- c/src/lib/libbsp/unix/posix/include/bsp.h | 4 ++-- c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c | 2 +- c/src/lib/libbsp/unix/posix/startup/bspstart.c | 26 ++++++++++++------------ c/src/lib/libbsp/unix/posix/startup/setvec.c | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) (limited to 'c/src/lib/libbsp/unix/posix') diff --git a/c/src/lib/libbsp/unix/posix/clock/clock.c b/c/src/lib/libbsp/unix/posix/clock/clock.c index ddd7487bc8..ac4e6fb211 100644 --- a/c/src/lib/libbsp/unix/posix/clock/clock.c +++ b/c/src/lib/libbsp/unix/posix/clock/clock.c @@ -105,7 +105,7 @@ rtems_device_driver Clock_control( (void) set_vector( args->buffer, Clock_driver_vector, 1 ); rtems_interrupt_enable( isrlevel ); } - + done: return RTEMS_SUCCESSFUL; } diff --git a/c/src/lib/libbsp/unix/posix/console/console.c b/c/src/lib/libbsp/unix/posix/console/console.c index 3638de0029..92a3b90e63 100644 --- a/c/src/lib/libbsp/unix/posix/console/console.c +++ b/c/src/lib/libbsp/unix/posix/console/console.c @@ -41,7 +41,7 @@ rtems_device_driver console_open( { return RTEMS_SUCCESSFUL; } - + /* * Close entry point */ @@ -69,7 +69,7 @@ rtems_device_driver console_read( } /* - * write bytes to the serial port. Stdout and stderr are the same. + * write bytes to the serial port. Stdout and stderr are the same. */ rtems_device_driver console_write( diff --git a/c/src/lib/libbsp/unix/posix/include/bsp.h b/c/src/lib/libbsp/unix/posix/include/bsp.h index c9e80d56ba..3b0b127ab0 100644 --- a/c/src/lib/libbsp/unix/posix/include/bsp.h +++ b/c/src/lib/libbsp/unix/posix/include/bsp.h @@ -77,11 +77,11 @@ extern rtems_configuration_table BSP_Configuration; /* * NOTE: Use the standard Console driver entry */ - + /* * NOTE: Use the standard Clock driver entry */ - + /* functions */ rtems_isr_entry set_vector(rtems_isr_entry, rtems_vector_number, int); diff --git a/c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c b/c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c index 09558e1c0a..b1ecec4559 100644 --- a/c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c +++ b/c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c @@ -28,6 +28,6 @@ void Shm_Cause_interrupt_unix( { Shm_Interrupt_information *intr; intr = &Shm_Interrupt_table[node]; - + _CPU_SHM_Send_interrupt( (pid_t) intr->address, intr->value ); } diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c index f288ecc22d..9c573aff80 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c @@ -58,7 +58,7 @@ uint32_t CPU_CLICKS_PER_TICK; /* * Use the shared implementations of the following routines */ - + void bsp_postdriver_hook(void); void bsp_libc_init( void *, uint32_t, int ); @@ -83,7 +83,7 @@ void bsp_pretasking_hook(void) Heap_size = strtol(getenv("RTEMS_HEAPSPACE_SIZE"), 0, 0); else Heap_size = DEFAULT_HEAPSPACE_SIZE; - + heap_start = 0; bsp_libc_init((void *)heap_start, Heap_size, 1024 * 1024); @@ -102,9 +102,9 @@ void bsp_pretasking_hook(void) } /* - * DO NOT Use the shared bsp_postdriver_hook() implementation + * DO NOT Use the shared bsp_postdriver_hook() implementation */ - + void bsp_postdriver_hook(void) { return; @@ -125,7 +125,7 @@ void bsp_start(void) */ BSP_Configuration = Configuration; - + /* * If the node number is -1 then the application better provide * it through environment variables RTEMS_NODE. @@ -134,17 +134,17 @@ void bsp_start(void) if (BSP_Configuration.User_multiprocessing_table) { char *p; - + /* make a copy for possible editing */ BSP_Multiprocessing = *BSP_Configuration.User_multiprocessing_table; BSP_Configuration.User_multiprocessing_table = &BSP_Multiprocessing; - + if (BSP_Multiprocessing.node == -1) { p = getenv("RTEMS_NODE"); BSP_Multiprocessing.node = p ? atoi(p) : 1; } - + /* If needed provide maximum_nodes also */ if (BSP_Multiprocessing.maximum_nodes == -1) { @@ -163,22 +163,22 @@ void bsp_start(void) cpu_number = 0; if (getenv("RTEMS_WORKSPACE_SIZE")) - BSP_Configuration.work_space_size = + BSP_Configuration.work_space_size = strtol(getenv("RTEMS_WORKSPACE_SIZE"), 0, 0); else BSP_Configuration.work_space_size = DEFAULT_WORKSPACE_SIZE; - + /* * Allocate workspace memory, ensuring it is properly aligned */ - - workspace_ptr = + + workspace_ptr = (uint32_t) sbrk(BSP_Configuration.work_space_size + CPU_ALIGNMENT); workspace_ptr += CPU_ALIGNMENT - 1; workspace_ptr &= ~(CPU_ALIGNMENT - 1); BSP_Configuration.work_space_start = (void *) workspace_ptr; - + /* * Set up our hooks * Make sure libc_init is done before drivers init'd so that diff --git a/c/src/lib/libbsp/unix/posix/startup/setvec.c b/c/src/lib/libbsp/unix/posix/startup/setvec.c index 7e83ce1667..2b5b081615 100644 --- a/c/src/lib/libbsp/unix/posix/startup/setvec.c +++ b/c/src/lib/libbsp/unix/posix/startup/setvec.c @@ -40,5 +40,5 @@ set_vector( /* returns old vector */ _CPU_ISR_install_vector( vector, (proc_ptr) handler, &raw_isr_ptr ); return raw_isr_ptr; } - + } -- cgit v1.2.3