Changeset e53fbe8d in rtems


Ignore:
Timestamp:
Sep 5, 2008, 5:03:36 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
8858097
Parents:
34bd389
Message:

Convert to "bool".

Location:
c/src/lib/libbsp/mips
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/csb350/timer/timer.c

    r34bd389 re53fbe8d  
    1717#include <bsp.h>
    1818
    19 rtems_boolean benchmark_timer_find_average_overhead;
     19bool benchmark_timer_find_average_overhead;
    2020uint32_t tstart;
    2121
     
    4242
    4343
    44   if ( benchmark_timer_find_average_overhead == 1 )
     44  if ( benchmark_timer_find_average_overhead == true )
    4545    return total;          /* in one microsecond units */
    4646
     
    5252
    5353void benchmark_timer_disable_subtracting_average_overhead(
    54   rtems_boolean find_flag
     54  bool find_flag
    5555)
    5656{
  • c/src/lib/libbsp/mips/genmongoosev/timer/timer.c

    r34bd389 re53fbe8d  
    1616#include <bsp.h>
    1717
    18 rtems_boolean benchmark_timer_find_average_overhead;
     18bool benchmark_timer_find_average_overhead;
    1919
    2020#if defined(USE_TIMER2_FOR_CLOCK)
     
    7676    printk( "MG5 timer overran\n" );
    7777
    78   if ( benchmark_timer_find_average_overhead == 1 )
     78  if ( benchmark_timer_find_average_overhead == true )
    7979    return total;          /* in cycle units */
    8080
     
    8686
    8787void benchmark_timer_disable_subtracting_average_overhead(
    88   rtems_boolean find_flag
     88  bool find_flag
    8989)
    9090{
  • c/src/lib/libbsp/mips/hurricane/console/console.c

    r34bd389 re53fbe8d  
    8080 */
    8181
    82 rtems_boolean is_character_ready(
     82bool is_character_ready(
    8383  char *ch
    8484)
    8585{
    8686  *ch = '\0';   /* return NULL for no particular reason */
    87   return(TRUE);
     87  return true;
    8888}
    8989
  • c/src/lib/libbsp/mips/jmr3904/timer/timer.c

    r34bd389 re53fbe8d  
    1818#include <bsp.h>
    1919
    20 rtems_boolean benchmark_timer_find_average_overhead;
     20bool benchmark_timer_find_average_overhead;
    2121
    2222void benchmark_timer_initialize(void)
     
    5252  total = TX3904_TIMER_READ( TX3904_TIMER1_BASE, TX3904_TIMER_TRR );
    5353
    54   if ( benchmark_timer_find_average_overhead == 1 )
     54  if ( benchmark_timer_find_average_overhead == true )
    5555    return total;          /* in one microsecond units */
    5656
     
    6262
    6363void benchmark_timer_disable_subtracting_average_overhead(
    64   rtems_boolean find_flag
     64  bool find_flag
    6565)
    6666{
  • c/src/lib/libbsp/mips/rbtx4925/console/console-io.c

    r34bd389 re53fbe8d  
    9191 */
    9292
    93 rtems_boolean is_character_ready(
     93bool is_character_ready(
    9494  char *ch
    9595)
    9696{
    9797  *ch = '\0';   /* return NULL for no particular reason */
    98   return(TRUE);
     98  return true;
    9999}
    100100
Note: See TracChangeset for help on using the changeset viewer.