summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-03 20:44:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-03 20:44:22 +0000
commitc8b03dbd81468b8fa4debdd6bd590eef7f4b7d22 (patch)
treeb6ed241e3762c929ac9eeb98295a544a131074a5 /c/src/lib/libbsp/sparc/leon3
parent2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-c8b03dbd81468b8fa4debdd6bd590eef7f4b7d22.tar.bz2
2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* timer/timer.c: Convert using "bool".
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/leon3/timer/timer.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/ChangeLog b/c/src/lib/libbsp/sparc/leon3/ChangeLog
index 075d45a741..0d214f3997 100644
--- a/c/src/lib/libbsp/sparc/leon3/ChangeLog
+++ b/c/src/lib/libbsp/sparc/leon3/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * timer/timer.c: Convert using "bool".
+
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer
diff --git a/c/src/lib/libbsp/sparc/leon3/timer/timer.c b/c/src/lib/libbsp/sparc/leon3/timer/timer.c
index 28802d2c74..5f27a7d8ac 100644
--- a/c/src/lib/libbsp/sparc/leon3/timer/timer.c
+++ b/c/src/lib/libbsp/sparc/leon3/timer/timer.c
@@ -30,9 +30,9 @@
#define LEON3_TIMER_INDEX 0
#endif
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
-rtems_boolean benchmark_timer_is_initialized = FALSE;
+bool benchmark_timer_is_initialized = FALSE;
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
@@ -78,7 +78,7 @@ int benchmark_timer_read(void)
}
void benchmark_timer_disable_subtracting_average_overhead(
- rtems_boolean find_flag
+ bool find_flag
)
{
benchmark_timer_find_average_overhead = find_flag;