summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/c4x
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
commit6128a4aa5e791ed4e0a655bfd346a52d92da7883 (patch)
treeaf53ca3f67ce405b6fbc6c98399c8e0c87e01a9e /c/src/lib/libbsp/c4x
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-6128a4aa5e791ed4e0a655bfd346a52d92da7883.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/c4x')
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/clock/clock.c20
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/console/console.c14
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/console/debugio.c2
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/start/start.S4
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c6
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/startup/spurious.c2
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/timer/timer.c2
-rw-r--r--c/src/lib/libbsp/c4x/shared/bspspuriousinit.c4
-rw-r--r--c/src/lib/libbsp/c4x/shared/c3xspurious.c2
-rw-r--r--c/src/lib/libbsp/c4x/shared/c4xspurious.c2
11 files changed, 32 insertions, 32 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c b/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c
index 8cc97f0768..c17716953b 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c
@@ -41,7 +41,7 @@ volatile uint32_t Clock_driver_ticks;
/*
* These are set by clock driver during its init
*/
-
+
rtems_device_major_number rtems_clock_major = ~0;
rtems_device_minor_number rtems_clock_minor;
@@ -68,7 +68,7 @@ rtems_isr Clock_isr(
)
{
/*
- * The counter register gets reset automatically as well as the
+ * The counter register gets reset automatically as well as the
* interrupt occurred flag so we should not have to do anything
* with the hardware.
*/
@@ -127,7 +127,7 @@ void Install_clock(
Clock_counter_register_value = (unsigned int) tmp;
#if 0
- Clock_counter_register_value =
+ Clock_counter_register_value =
(uint32_t) ((float) BSP_Configuration.microseconds_per_tick /
((float)_ClockFrequency / 2.0)));
#endif
@@ -185,14 +185,14 @@ rtems_device_driver Clock_initialize(
)
{
Install_clock( Clock_isr );
-
+
/*
* make major/minor avail to others such as shared memory driver
*/
-
+
rtems_clock_major = major;
rtems_clock_minor = minor;
-
+
return RTEMS_SUCCESSFUL;
}
@@ -204,15 +204,15 @@ rtems_device_driver Clock_control(
{
uint32_t isrlevel;
rtems_libio_ioctl_args_t *args = pargp;
-
+
if (args == 0)
goto done;
-
+
/*
* This is hokey, but until we get a defined interface
* to do this, it will just be this simple...
*/
-
+
if (args->command == rtems_build_name('I', 'S', 'R', ' '))
{
Clock_isr(CLOCK_VECTOR);
@@ -223,7 +223,7 @@ rtems_device_driver Clock_control(
(void) set_vector( args->buffer, CLOCK_VECTOR, 1 );
rtems_interrupt_enable( isrlevel );
}
-
+
done:
return RTEMS_SUCCESSFUL;
}
diff --git a/c/src/lib/libbsp/c4x/c4xsim/console/console.c b/c/src/lib/libbsp/c4x/c4xsim/console/console.c
index b0f3c9daeb..00272b8576 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/console/console.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/console/console.c
@@ -31,7 +31,7 @@ void console_outbyte_polled(
);
/*
- * console_inbyte_nonblocking
+ * console_inbyte_nonblocking
*
* This routine polls for a character.
*/
@@ -67,7 +67,7 @@ int console_write_support (
* Console Device Driver Entry Points
*
*/
-
+
rtems_device_driver console_initialize(
rtems_device_major_number major,
rtems_device_minor_number minor,
@@ -111,12 +111,12 @@ rtems_device_driver console_open(
assert( minor <= 1 );
if ( minor > 2 )
return RTEMS_INVALID_NUMBER;
-
+
sc = rtems_termios_open (major, minor, arg, &pollCallbacks );
return RTEMS_SUCCESSFUL;
}
-
+
rtems_device_driver console_close(
rtems_device_major_number major,
rtems_device_minor_number minor,
@@ -125,7 +125,7 @@ rtems_device_driver console_close(
{
return rtems_termios_close (arg);
}
-
+
rtems_device_driver console_read(
rtems_device_major_number major,
rtems_device_minor_number minor,
@@ -134,7 +134,7 @@ rtems_device_driver console_read(
{
return rtems_termios_read (arg);
}
-
+
rtems_device_driver console_write(
rtems_device_major_number major,
rtems_device_minor_number minor,
@@ -143,7 +143,7 @@ rtems_device_driver console_write(
{
return rtems_termios_write (arg);
}
-
+
rtems_device_driver console_control(
rtems_device_major_number major,
rtems_device_minor_number minor,
diff --git a/c/src/lib/libbsp/c4x/c4xsim/console/debugio.c b/c/src/lib/libbsp/c4x/c4xsim/console/debugio.c
index c6d50f34d0..a8bcf206c0 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/console/debugio.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/console/debugio.c
@@ -43,7 +43,7 @@ C4X_BSP_output_char( int c )
}
/*
- * console_inbyte_nonblocking
+ * console_inbyte_nonblocking
*
* This routine polls for a character.
*/
diff --git a/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h b/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h
index 85e65cd7d9..b021d2be01 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h
+++ b/c/src/lib/libbsp/c4x/c4xsim/include/bsp.h
@@ -74,15 +74,15 @@ extern "C" {
/*
* Device Driver Table Entries
*/
-
+
/*
* NOTE: Use the standard Console driver entry
*/
-
+
/*
* NOTE: Use the standard Clock driver entry
*/
-
+
/*
* Information placed in the linkcmds file.
diff --git a/c/src/lib/libbsp/c4x/c4xsim/start/start.S b/c/src/lib/libbsp/c4x/c4xsim/start/start.S
index 2123fc24c3..710e2514f1 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/start/start.S
+++ b/c/src/lib/libbsp/c4x/c4xsim/start/start.S
@@ -22,7 +22,7 @@ _start:
ldi 0800h,st
ldp @mem_control
ldi @mem_control,ar0
- ldp @mem_data
+ ldp @mem_data
ldi @mem_data,r0
sti r0,*+ar0(0)
sti r0,*+ar0(4)
@@ -42,7 +42,7 @@ _start:
ldi 0800h,st
ldp @mem_control
ldi @mem_control,ar0
- ldp @mem_data
+ ldp @mem_data
ldi @mem_data,r0
sti r0,*+ar0(0)
sti r0,*+ar0(4)
diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c
index c38664cdce..6db1c3f47b 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c
@@ -24,7 +24,7 @@
* The original table from the application and our copy of it with
* some changes.
*/
-
+
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
@@ -33,7 +33,7 @@ rtems_cpu_table Cpu_table;
/*
* Use the shared implementations of the following routines
*/
-
+
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, uint32_t, int );
extern void bsp_spurious_initialize();
@@ -102,7 +102,7 @@ void bsp_start( void )
if ( BSP_Configuration.work_space_size > (int) &_WorkspaceMax )
rtems_fatal_error_occurred( 0x43218765 );
-
+
BSP_output_char = C4X_BSP_output_char;
BSP_poll_char = (BSP_polling_getchar_function_type) NULL;
}
diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/spurious.c b/c/src/lib/libbsp/c4x/c4xsim/startup/spurious.c
index 68094db74e..2eefe2ecf5 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/startup/spurious.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/startup/spurious.c
@@ -1,7 +1,7 @@
/*
* CXX Simulator Spurious Trap Handler Assistant
*
- * This is just enough of a trap handler to let us know what
+ * This is just enough of a trap handler to let us know what
* the likely source of the trap was.
*
* COPYRIGHT (c) 1989-1999.
diff --git a/c/src/lib/libbsp/c4x/c4xsim/timer/timer.c b/c/src/lib/libbsp/c4x/c4xsim/timer/timer.c
index fb347f31b3..d1b5925644 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/timer/timer.c
+++ b/c/src/lib/libbsp/c4x/c4xsim/timer/timer.c
@@ -35,7 +35,7 @@ void Timer_initialize( void )
* implemenations of timer but ....
*/
-
+
c4x_timer_stop(C4X_TIMER_0);
c4x_timer_set_period(C4X_TIMER_0, 0xffffffff); /* so no interupts */
c4x_timer_start(C4X_TIMER_0);
diff --git a/c/src/lib/libbsp/c4x/shared/bspspuriousinit.c b/c/src/lib/libbsp/c4x/shared/bspspuriousinit.c
index f241861cf6..6e2d92c929 100644
--- a/c/src/lib/libbsp/c4x/shared/bspspuriousinit.c
+++ b/c/src/lib/libbsp/c4x/shared/bspspuriousinit.c
@@ -1,7 +1,7 @@
/*
* CXX Spurious Trap Handler Install Routine
*
- * This is just enough of a trap handler to let us know what
+ * This is just enough of a trap handler to let us know what
* the likely source of the trap was.
*
* COPYRIGHT (c) 1989-1999.
@@ -20,7 +20,7 @@
/*
* bsp_spurious_initialize
*
- * Install the spurious handler for most vectors.
+ * Install the spurious handler for most vectors.
*/
rtems_isr bsp_spurious_handler(
diff --git a/c/src/lib/libbsp/c4x/shared/c3xspurious.c b/c/src/lib/libbsp/c4x/shared/c3xspurious.c
index 6cee9cc027..2a87e80670 100644
--- a/c/src/lib/libbsp/c4x/shared/c3xspurious.c
+++ b/c/src/lib/libbsp/c4x/shared/c3xspurious.c
@@ -1,7 +1,7 @@
/*
* C3X Spurious Trap Handler
*
- * This is just enough of a trap handler to let us know what
+ * This is just enough of a trap handler to let us know what
* the likely source of the trap was.
*
* COPYRIGHT (c) 1989-1999.
diff --git a/c/src/lib/libbsp/c4x/shared/c4xspurious.c b/c/src/lib/libbsp/c4x/shared/c4xspurious.c
index bd8905a759..2fc9396208 100644
--- a/c/src/lib/libbsp/c4x/shared/c4xspurious.c
+++ b/c/src/lib/libbsp/c4x/shared/c4xspurious.c
@@ -1,7 +1,7 @@
/*
* C4X Spurious Trap Handler
*
- * This is just enough of a trap handler to let us know what
+ * This is just enough of a trap handler to let us know what
* the likely source of the trap was.
*
* COPYRIGHT (c) 1989-1999.