mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 18:45:30 +08:00
2011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c (ISS_output_char): Add return type. * timer/timer.c: Remove unused vars "old_ie".
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console/console.c (ISS_output_char): Add return type.
|
||||
* timer/timer.c: Remove unused vars "old_ie".
|
||||
|
||||
2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* startup/bspstart.c: Update due to API changes.
|
||||
|
||||
@@ -109,13 +109,13 @@ void console_outbyte_polled(
|
||||
}
|
||||
|
||||
/*
|
||||
* * To support printk
|
||||
* */
|
||||
* To support printk
|
||||
*/
|
||||
|
||||
#include <rtems/bspIo.h>
|
||||
|
||||
|
||||
ISS_output_char(char c) { console_outbyte_polled( 0, c ); }
|
||||
void ISS_output_char(char c) { console_outbyte_polled( 0, c ); }
|
||||
|
||||
BSP_output_char_function_type BSP_output_char = ISS_output_char;
|
||||
BSP_polling_getchar_function_type BSP_poll_char = NULL;
|
||||
|
||||
@@ -40,8 +40,6 @@ void timerisr( void )
|
||||
|
||||
void benchmark_timer_initialize( void )
|
||||
{
|
||||
uint32_t old_ie;
|
||||
|
||||
/* Disable timer interrupt, stop timer */
|
||||
|
||||
TIMER_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK;
|
||||
@@ -104,7 +102,6 @@ uint32_t benchmark_timer_read( void )
|
||||
uint32_t timer_snap;
|
||||
uint32_t timer_ticks;
|
||||
uint32_t total;
|
||||
uint32_t old_ie;
|
||||
|
||||
/* Hold timer */
|
||||
TIMER_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK;
|
||||
|
||||
Reference in New Issue
Block a user