diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 05:09:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 05:09:41 +0000 |
commit | 359e5374164ccb2a66833354b412a859c144ea2f (patch) | |
tree | 6f065d7d6247bc255f43ddb0152fc26c50bd4f87 /c/src/lib/libbsp/nios2/nios2_iss | |
parent | Whitespace removal. (diff) | |
download | rtems-359e5374164ccb2a66833354b412a859c144ea2f.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/nios2/nios2_iss')
-rw-r--r-- | c/src/lib/libbsp/nios2/nios2_iss/console/console.c | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c index d00a6a960f..bdff33c9dc 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c +++ b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c @@ -1,6 +1,6 @@ /* * This file implements simple console IO via JTAG UART. - * + * * Based on no_cpu/console.c * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). @@ -25,7 +25,7 @@ /* is_character_ready * * If a character is available, this routine reads it and stores - * it in + * it in * reads the character and stores * * Input parameters: NONE @@ -92,7 +92,7 @@ int console_inbyte_nonblocking( */ void console_outbyte_polled( - int port, + int port, char ch ) { diff --git a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c index 9ffd27d047..91fcdc6c5c 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c +++ b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c @@ -74,8 +74,8 @@ void benchmark_timer_initialize( void ) ALTERA_AVALON_TIMER_CONTROL_START_MSK; /* This is the most safe place for resetting the overflow - counter - just _after_ we reset the timer. Depending - on the SOPC configuration, the counter may not be + counter - just _after_ we reset the timer. Depending + on the SOPC configuration, the counter may not be stoppable and it doesn't make sense to assume that there is any "safe" period before resetting. */ @@ -129,7 +129,7 @@ int benchmark_timer_read( void ) if(total < LEAST_VALID) return 0; if(benchmark_timer_find_average_overhead != TRUE) total-= AVG_OVERHEAD; - + return total; } |