summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:11:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:11:47 +0000
commit3942ccef5616448fa3aea482b41dc96db6993945 (patch)
treeee2eccedd850b45dad0b58ec72b47de78f4f46e9 /c/src/lib/libcpu/sh
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3942ccef5616448fa3aea482b41dc96db6993945.tar.bz2
Convert to "bool".
Diffstat (limited to 'c/src/lib/libcpu/sh')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/timer/timer.c6
-rw-r--r--c/src/lib/libcpu/sh/sh7045/timer/timer.c6
-rw-r--r--c/src/lib/libcpu/sh/sh7750/timer/timer.c6
3 files changed, 7 insertions, 11 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/timer/timer.c b/c/src/lib/libcpu/sh/sh7032/timer/timer.c
index 61f00d1f85..1a245d52a3 100644
--- a/c/src/lib/libcpu/sh/sh7032/timer/timer.c
+++ b/c/src/lib/libcpu/sh/sh7032/timer/timer.c
@@ -68,7 +68,7 @@ extern rtems_isr timerisr(void);
static uint32_t Timer_interrupts;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
static uint32_t Timer_HZ ;
@@ -181,9 +181,7 @@ int benchmark_timer_read( void )
}
}
-void benchmark_timer_disable_subtracting_average_overhead(
- rtems_boolean find_flag
-)
+void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
{
benchmark_timer_find_average_overhead = find_flag;
}
diff --git a/c/src/lib/libcpu/sh/sh7045/timer/timer.c b/c/src/lib/libcpu/sh/sh7045/timer/timer.c
index 5bc4c1b0da..6ba477db18 100644
--- a/c/src/lib/libcpu/sh/sh7045/timer/timer.c
+++ b/c/src/lib/libcpu/sh/sh7045/timer/timer.c
@@ -59,7 +59,7 @@ extern rtems_isr timerisr(void);
static uint32_t Timer_interrupts;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
static uint32_t Timer_MHZ ;
@@ -177,9 +177,7 @@ int benchmark_timer_read( void )
}
}
-void benchmark_timer_disable_subtracting_average_overhead(
- rtems_boolean find_flag
-)
+void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
{
benchmark_timer_find_average_overhead = find_flag;
}
diff --git a/c/src/lib/libcpu/sh/sh7750/timer/timer.c b/c/src/lib/libcpu/sh/sh7750/timer/timer.c
index 966317140c..7d73c3e21f 100644
--- a/c/src/lib/libcpu/sh/sh7750/timer/timer.c
+++ b/c/src/lib/libcpu/sh/sh7750/timer/timer.c
@@ -49,7 +49,7 @@ static uint32_t microseconds_divider;
/* Interrupt period in microseconds */
static uint32_t microseconds_per_int;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
/* benchmark_timer_initialize --
* Initialize Timer 1 to operate as a RTEMS benchmark timer:
@@ -246,13 +246,13 @@ benchmark_timer_read(void)
* timer.
*
* PARAMETERS:
- * find_flag - boolean flag, TRUE if overhead must not be subtracted.
+ * find_flag - boolean flag, true if overhead must not be subtracted.
*
* RETURNS:
* none
*/
void
-benchmark_timer_disable_subtracting_average_overhead(rtems_boolean find_flag)
+benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
{
benchmark_timer_find_average_overhead = find_flag;
}