Changeset 39d08d55 in rtems


Ignore:
Timestamp:
Sep 6, 2008, 5:36:55 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
a0d7578
Parents:
0a4c19a
Message:

Convert to "bool".

Location:
c/src/lib
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ide/ide.c

    r0a4c19a r39d08d55  
    3737| Function:                                                                 |
    3838\*-------------------------------------------------------------------------*/
    39 boolean pc386_ide_probe
     39bool pc386_ide_probe
    4040(
    4141/*-------------------------------------------------------------------------*\
     
    4949/*-------------------------------------------------------------------------*\
    5050| Return Value:                                                             |
    51 |    TRUE, when flash disk available                                        |
    52 \*=========================================================================*/
    53 {
    54   boolean ide_card_plugged = TRUE; /* assume: we have a disk here */
     51|    true, when flash disk available                                        |
     52\*=========================================================================*/
     53{
     54  bool ide_card_plugged = true; /* assume: we have a disk here */
    5555
    5656  return ide_card_plugged;
  • c/src/lib/libbsp/m68k/gen68360/spi/mc68360_spidrv.c

    r0a4c19a r39d08d55  
    8282 m360_spi_softc_t *softc_ptr,            /* handle                         */
    8383 uint32_t bits_per_char,                 /* bits per character             */
    84  boolean  lsb_first,                     /* TRUE: send LSB first           */
     84 bool     lsb_first,                     /* TRUE: send LSB first           */
    8585 uint16_t *spimode                       /* result value                   */
    8686)
  • c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c

    r0a4c19a r39d08d55  
    1919
    2020/* Forward function declaration */
    21 boolean mcf5206elite_ds1307_probe(int minor);
     21bool mcf5206elite_ds1307_probe(int minor);
    2222
    2323extern rtc_fns ds1307_fns;
     
    5656 *     TRUE, if RTC device is present
    5757 */
    58 boolean
     58bool
    5959mcf5206elite_ds1307_probe(int minor)
    6060{
     
    6666
    6767    if (minor >= NUM_RTCS)
    68         return FALSE;
     68        return false;
    6969
    7070    rtc = RTC_Table + minor;
     
    7575        status = i2c_wrbyte(bus, addr, 0);
    7676        if (status == I2C_NO_DEVICE)
    77             return FALSE;
     77            return false;
    7878        try++;
    7979    } while ((try < 15) && (status != I2C_SUCCESSFUL));
    8080    if (status == I2C_SUCCESSFUL)
    81         return TRUE;
     81        return true;
    8282    else
    83         return FALSE;
     83        return false;
    8484}
  • c/src/lib/libbsp/m68k/mrm332/misc/interr.c

    r0a4c19a r39d08d55  
    6767void volatile _Internal_error_Occurred(
    6868  Internal_errors_Source  the_source,
    69   boolean                 is_internal,
     69  bool                    is_internal,
    7070  uint32_t                the_error
    7171)
  • c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c

    r0a4c19a r39d08d55  
    151151#define BUFMAX 400
    152152
    153 static char initialized;  /* boolean flag. != 0 means we've been initialized */
     153static bool initialized = false;  /* boolean flag. != 0 means we've been initialized */
    154154
    155155int remote_debug;
     
    10671067  }
    10681068
    1069   initialized = 1;
     1069  initialized = true;
    10701070
    10711071#if defined(UPDATE_DISPLAY)
  • c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c

    r0a4c19a r39d08d55  
    144144#define BUFMAX 400
    145145
    146 static char initialized;  /* boolean flag. != 0 means we've been initialized */
     146static bool initialized = false ;  /* boolean flag. != 0 means we've been initialized */
    147147
    148148int     remote_debug;
     
    12811281  }
    12821282
    1283   initialized = 1;
     1283  initialized = true;
    12841284
    12851285}
  • c/src/lib/libbsp/powerpc/ep1a/console/config.c

    r0a4c19a r39d08d55  
    2828 * Configuration specific probe routines
    2929 */
    30 static boolean config_68360_scc_base_probe_1(int minor);
    31 static boolean config_68360_scc_base_probe_2(int minor);
    32 static boolean config_68360_scc_base_probe_3(int minor);
    33 static boolean config_68360_scc_base_probe_4(int minor);
    34 static boolean config_68360_scc_base_probe_5(int minor);
    35 static boolean config_68360_scc_base_probe_6(int minor);
    36 static boolean config_68360_scc_base_probe_7(int minor);
    37 static boolean config_68360_scc_base_probe_8(int minor);
    38 static boolean config_68360_scc_base_probe_9(int minor);
    39 static boolean config_68360_scc_base_probe_10(int minor);
    40 static boolean config_68360_scc_base_probe_11(int minor);
    41 static boolean config_68360_scc_base_probe_12(int minor);
     30static bool config_68360_scc_base_probe_1(int minor);
     31static bool config_68360_scc_base_probe_2(int minor);
     32static bool config_68360_scc_base_probe_3(int minor);
     33static bool config_68360_scc_base_probe_4(int minor);
     34static bool config_68360_scc_base_probe_5(int minor);
     35static bool config_68360_scc_base_probe_6(int minor);
     36static bool config_68360_scc_base_probe_7(int minor);
     37static bool config_68360_scc_base_probe_8(int minor);
     38static bool config_68360_scc_base_probe_9(int minor);
     39static bool config_68360_scc_base_probe_10(int minor);
     40static bool config_68360_scc_base_probe_11(int minor);
     41static bool config_68360_scc_base_probe_12(int minor);
    4242
    4343extern console_fns mc68360_scc_fns;
     
    392392}
    393393                                                                                                                 
    394 static boolean config_68360_scc_base_probe_3( int minor ) {
     394static bool config_68360_scc_base_probe_3( int minor ) {
    395395  return config_68360_scc_base_probe( minor, 0, 11, 3);
    396396}
    397397                                                                                                                 
    398 static boolean config_68360_scc_base_probe_4( int minor ) {
     398static bool config_68360_scc_base_probe_4( int minor ) {
    399399  return config_68360_scc_base_probe( minor, 0, 11, 4);
    400400}
    401401                                                                                                               
    402 static boolean config_68360_scc_base_probe_5( int minor ) {
     402static bool config_68360_scc_base_probe_5( int minor ) {
    403403  return config_68360_scc_base_probe( minor, 0, 16, 1);
    404404}
    405405                                                                                                                 
    406 static boolean config_68360_scc_base_probe_6( int minor ) {
     406static bool config_68360_scc_base_probe_6( int minor ) {
    407407  return config_68360_scc_base_probe( minor, 0, 16, 2);
    408408}
    409409                                                                                                                 
    410 static boolean config_68360_scc_base_probe_7( int minor ) {
     410static bool config_68360_scc_base_probe_7( int minor ) {
    411411  return config_68360_scc_base_probe( minor, 0, 16, 3);
    412412}
    413413                                                                                                                 
    414 static boolean config_68360_scc_base_probe_8( int minor ) {
     414static bool config_68360_scc_base_probe_8( int minor ) {
    415415  return config_68360_scc_base_probe( minor, 0, 16, 4);
    416416}
    417417                                                                                                                 
    418 static boolean config_68360_scc_base_probe_9( int minor ) {
     418static bool config_68360_scc_base_probe_9( int minor ) {
    419419  return config_68360_scc_base_probe( minor, 0, 15, 1);
    420420}
    421421                                                                                                                 
    422 static boolean config_68360_scc_base_probe_10( int minor ) {
     422static bool config_68360_scc_base_probe_10( int minor ) {
    423423  return config_68360_scc_base_probe( minor, 0, 15, 2);
    424424}
    425425                                                                                                                 
    426 static boolean config_68360_scc_base_probe_11( int minor ) {
     426static bool config_68360_scc_base_probe_11( int minor ) {
    427427  return config_68360_scc_base_probe( minor, 0, 15, 3);
    428428}
    429429                                                                                                                 
    430 static boolean config_68360_scc_base_probe_12( int minor ) {
     430static bool config_68360_scc_base_probe_12( int minor ) {
    431431  return config_68360_scc_base_probe( minor, 0, 15, 4);
    432432}
  • c/src/lib/libbsp/powerpc/ep1a/console/console.h

    r0a4c19a r39d08d55  
    3636extern unsigned long    Console_Port_Count;
    3737
    38 boolean Console_Port_Tbl_Init_ppc8245(int minor);
     38bool Console_Port_Tbl_Init_ppc8245(int minor);
  • c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c

    r0a4c19a r39d08d55  
    202202  };
    203203
    204 static boolean bestcomm_glue_is_initialized = FALSE;
     204static bool bestcomm_glue_is_initialized = false;
    205205/*=========================================================================*\
    206206| Function:                                                                 |
     
    226226{
    227227  if (!bestcomm_glue_is_initialized) {
    228     bestcomm_glue_is_initialized = TRUE;
     228    bestcomm_glue_is_initialized = true;
    229229    /*
    230230     * Set task bar to begin of sram
     
    260260  }
    261261}
    262 
  • c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c

    r0a4c19a r39d08d55  
    130130#define PCMCIA_IDE_WR_SECTOR_SIZE 512   /* FIXME: make this better... */
    131131
    132 boolean mpc5200_dma_task_started[2] = {FALSE,FALSE};
     132bool mpc5200_dma_task_started[2] = {false,false};
    133133#endif /* IDE_USE_DMA */
    134134
     
    144144
    145145void mpc5200_pcmciaide_dma_blockop(
    146   boolean, int, uint16_t, rtems_blkdev_sg_buffer *, uint32_t *, uint32_t *);
     146  bool, int, uint16_t, rtems_blkdev_sg_buffer *, uint32_t *, uint32_t *);
    147147/*
    148148 * support functions for PCMCIA IDE IF
    149149 */
    150 boolean mpc5200_pcmciaide_probe(int minor)
     150bool mpc5200_pcmciaide_probe(int minor)
    151151  {
    152   boolean ide_card_plugged = FALSE; /* assume: we don't have a card plugged in */
     152  bool ide_card_plugged = false; /* assume: we don't have a card plugged in */
    153153  struct mpc5200_gpt *gpt = (struct mpc5200_gpt *)(&mpc5200.gpt[GPT2]);
    154154
     
    159159  /* Check for card detection (-CD0) */
    160160  if((gpt->status) & GPT_STATUS_PIN)
    161     ide_card_plugged = FALSE;
     161    ide_card_plugged = false;
    162162  else
    163163#endif
    164     ide_card_plugged = TRUE;
     164    ide_card_plugged = true;
    165165
    166166  return ide_card_plugged;
     
    319319}
    320320
    321 void mpc5200_pcmciaide_dma_blockop(boolean is_write,
     321void mpc5200_pcmciaide_dma_blockop(bool is_write,
    322322                                   int minor,
    323323                                   uint16_t block_size,
     
    339339  rtems_event_set events;
    340340  BDIdx nxt_bd_idx;
    341   boolean use_irq = (_System_state_Current == SYSTEM_STATE_UP);
     341  bool use_irq = (_System_state_Current == SYSTEM_STATE_UP);
    342342  /*
    343343   * determine number of blocks
     
    455455  uint16_t *lbuf = (uint16_t*)((uint8_t*)(bufs[(*cbuf)].buffer)+(*pos));
    456456  uint32_t  llength = bufs[(*cbuf)].length;
    457   boolean use_dma;
     457  bool      use_dma;
    458458 
    459459#if IDE_USE_STATISTICS
     
    466466   * Is this needed?
    467467   */
    468   use_dma = TRUE;
    469   /* use_dma = FALSE; */
     468  use_dma = true;
     469  /* use_dma = false; */
    470470#else
    471   use_dma = FALSE;
     471  use_dma = false;
    472472#endif
    473473  if (use_dma) {
     
    548548  uint16_t *lbuf = (uint16_t *)((uint8_t *)(bufs[(*cbuf)].buffer) + (*pos));
    549549  uint32_t  llength = bufs[(*cbuf)].length;
    550   boolean use_dma;
     550  bool use_dma;
    551551
    552552#if IDE_USE_STATISTICS
     
    559559   * Is this needed?
    560560   */
    561   use_dma = TRUE;
     561  use_dma = true;
    562562#else
    563   use_dma = FALSE;
     563  use_dma = false;
    564564#endif
    565565
     
    578578     * DMA BDs may get ready as soon as possible
    579579     */
    580     mpc5200_pcmciaide_dma_blockop(TRUE, /* write opeartion */
     580    mpc5200_pcmciaide_dma_blockop(true, /* write opeartion */
    581581                                  minor,
    582582                                  block_size,bufs,cbuf,pos);
  • c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c

    r0a4c19a r39d08d55  
    4141
    4242/* Forward function declaration */
    43 boolean mpc5200_pcf8563_probe(int minor);
     43bool mpc5200_pcf8563_probe(int minor);
    4444
    4545extern rtc_fns pcf8563_fns;
     
    7878 *     TRUE, if RTC device is present
    7979 */
    80 boolean
     80bool
    8181mpc5200_pcf8563_probe(int minor)
    8282{
     
    8888
    8989    if (minor >= NUM_RTCS)
    90         return FALSE;
     90        return false;
    9191
    9292    rtc = RTC_Table + minor;
     
    9797        status = i2c_wrbyte(bus, addr, 0);
    9898        if (status == I2C_NO_DEVICE)
    99             return FALSE;
     99            return false;
    100100        try++;
    101101    } while ((try < 15) && (status != I2C_SUCCESSFUL));
    102102    if (status == I2C_SUCCESSFUL)
    103         return TRUE;
     103        return true;
    104104    else
    105         return FALSE;
     105        return false;
    106106}
  • c/src/lib/libbsp/powerpc/gen83xx/console/console.h

    r0a4c19a r39d08d55  
    3636extern unsigned long    Console_Port_Count;
    3737
    38 boolean Console_Port_Tbl_Init_ppc8245(int minor);
     38bool Console_Port_Tbl_Init_ppc8245(int minor);
  • c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c

    r0a4c19a r39d08d55  
    8282/* Expected by clock.c */
    8383uint32_t        bsp_clicks_per_usec;
    84 boolean         bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
     84bool            bsp_timer_internal_clock;   /* true, when timer runs with CPU clk */
    8585uint32_t        bsp_timer_least_valid;
    8686uint32_t        bsp_timer_average_overhead;
  • c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c

    r0a4c19a r39d08d55  
    4040| Function:                                                                 |
    4141\*-------------------------------------------------------------------------*/
    42 boolean mbx8xx_pcmciaide_probe
     42bool mbx8xx_pcmciaide_probe
    4343(
    4444/*-------------------------------------------------------------------------*\
     
    5252/*-------------------------------------------------------------------------*\
    5353| Return Value:                                                             |
    54 |    TRUE, when flash disk available                                        |
    55 \*=========================================================================*/
    56 {
    57   boolean ide_card_plugged = TRUE; /* assume: we have a card plugged in */
     54|    true, when flash disk available                                        |
     55\*=========================================================================*/
     56{
     57  bool ide_card_plugged = true; /* assume: we have a card plugged in */
    5858
    5959  /*
     
    6262  if ((m8xx.pipr
    6363       & (M8xx_PCMCIA_PIPR_CACD1 | M8xx_PCMCIA_PIPR_CACD2)) != 0x00) {
    64     ide_card_plugged = FALSE;
     64    ide_card_plugged = false;
    6565  }
    6666  /*
     
    7878#define CIS_BYTE(pos) (((uint8_t*)PCMCIA_ATTRB_ADDR)[(pos)*2])
    7979    int cis_pos = 0;
    80     boolean fixed_disk_tuple_found = FALSE;
    81     boolean ata_disk_tuple_found   = FALSE;
     80    bool fixed_disk_tuple_found = false;
     81    bool ata_disk_tuple_found   = false;
    8282
    8383    while ((cis_pos < 256) &&
     
    8989      if ((CIS_BYTE(cis_pos  ) == 0x21) &&
    9090          (CIS_BYTE(cis_pos+2) == 0x04)) {
    91         fixed_disk_tuple_found = TRUE;
     91        fixed_disk_tuple_found = true;
    9292      }
    9393      else if ((CIS_BYTE(cis_pos  ) == 0x22) &&
    9494               (CIS_BYTE(cis_pos+2) == 0x01) &&
    9595               (CIS_BYTE(cis_pos+3) == 0x01)) {
    96         ata_disk_tuple_found = TRUE;
     96        ata_disk_tuple_found = true;
    9797      }
    9898      /*
  • c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c

    r0a4c19a r39d08d55  
    516516  if ( _Thread_Do_post_task_switch_extension ||
    517517       _Thread_Executing->do_post_task_switch_extension ) {
    518     _Thread_Executing->do_post_task_switch_extension = FALSE;
     518    _Thread_Executing->do_post_task_switch_extension = false;
    519519    _API_extensions_Run_postswitch();
    520520  }
  • c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c

    r0a4c19a r39d08d55  
    4242uint32_t   bsp_clock_speed;
    4343uint32_t   bsp_serial_per_sec;         /* Serial clocks per second */
    44 boolean    bsp_serial_external_clock;
    45 boolean    bsp_serial_xon_xoff;
    46 boolean    bsp_serial_cts_rts;
     44bool       bsp_serial_external_clock;
     45bool       bsp_serial_xon_xoff;
     46bool       bsp_serial_cts_rts;
    4747uint32_t   bsp_serial_rate;
    4848uint32_t   bsp_timer_average_overhead; /* Average overhead of timer in ticks */
    4949uint32_t   bsp_timer_least_valid;      /* Least valid number from timer      */
    50 boolean    bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
     50bool       bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
    5151
    5252/*
     
    206206
    207207  bsp_serial_per_sec = 10000000;
    208   bsp_serial_external_clock = 1;
    209   bsp_serial_xon_xoff = 0;
    210   bsp_serial_cts_rts = 1;
     208  bsp_serial_external_clock = true;
     209  bsp_serial_xon_xoff = false;
     210  bsp_serial_cts_rts = true;
    211211  bsp_serial_rate = 9600;
    212212#if ( defined(mbx821_001) || defined(mbx821_001b) || defined(mbx860_001b) )
  • c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c.nocache

    r0a4c19a r39d08d55  
    3030uint32_t   bsp_clicks_per_usec;
    3131uint32_t   bsp_serial_per_sec;         /* Serial clocks per second */
    32 boolean    bsp_serial_external_clock;
    33 boolean    bsp_serial_xon_xoff;
    34 boolean    bsp_serial_cts_rts;
     32bool       bsp_serial_external_clock;
     33bool       bsp_serial_xon_xoff;
     34bool       bsp_serial_cts_rts;
    3535uint32_t   bsp_serial_rate;
    3636uint32_t   bsp_timer_average_overhead; /* Average overhead of timer in ticks */
    3737uint32_t   bsp_timer_least_valid;      /* Least valid number from timer      */
    38 boolean    bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
     38bool       bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
    3939
    4040/*
  • c/src/lib/libbsp/powerpc/score603e/irq/irq.c

    r0a4c19a r39d08d55  
    461461  if ( _Thread_Do_post_task_switch_extension ||
    462462       _Thread_Executing->do_post_task_switch_extension ) {
    463     _Thread_Executing->do_post_task_switch_extension = FALSE;
     463    _Thread_Executing->do_post_task_switch_extension = false;
    464464    _API_extensions_Run_postswitch();
    465465  }
  • c/src/lib/libbsp/powerpc/shared/irq/irq.c

    r0a4c19a r39d08d55  
    340340  if ( _Thread_Do_post_task_switch_extension ||
    341341       _Thread_Executing->do_post_task_switch_extension ) {
    342     _Thread_Executing->do_post_task_switch_extension = FALSE;
     342    _Thread_Executing->do_post_task_switch_extension = false;
    343343    _API_extensions_Run_postswitch();
    344344  }
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    r0a4c19a r39d08d55  
    8181uint32_t   bsp_clicks_per_usec;
    8282uint32_t   bsp_serial_per_sec;         /* Serial clocks per second */
    83 boolean    bsp_serial_external_clock;
    84 boolean    bsp_serial_xon_xoff;
    85 boolean    bsp_serial_cts_rts;
     83bool       bsp_serial_external_clock;
     84bool       bsp_serial_xon_xoff;
     85bool       bsp_serial_cts_rts;
    8686uint32_t   bsp_serial_rate;
    8787uint32_t   bsp_timer_average_overhead; /* Average overhead of timer in ticks */
    8888uint32_t   bsp_timer_least_valid;      /* Least valid number from timer      */
    89 boolean    bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
     89bool       bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
    9090
    9191
     
    171171  bsp_clicks_per_usec = (250000000 / 1000000);
    172172  bsp_serial_per_sec = 14625000;
    173   bsp_serial_external_clock = 0;
    174   bsp_timer_internal_clock  = 1;
    175   bsp_serial_xon_xoff = 0;
    176   bsp_serial_cts_rts = 0;
     173  bsp_serial_external_clock = false;
     174  bsp_timer_internal_clock  = true;
     175  bsp_serial_xon_xoff = false;
     176  bsp_serial_cts_rts = false;
    177177  bsp_serial_rate = 115200;
    178178  bsp_timer_average_overhead = 2;
     
    238238  BSP_ask_for_reset();
    239239}
    240  
  • c/src/lib/libcpu/bfin/interrupt/interrupt.h

    r0a4c19a r39d08d55  
    6666
    6767/* enable/disable specific ISR */
    68 void bfin_interrupt_enable(bfin_isr_t *isr, boolean enable);
     68void bfin_interrupt_enable(bfin_isr_t *isr, bool enable);
    6969
    7070/* atomically enable/disable all ISRs attached to specified source */
    71 void bfin_interrupt_enable_all(int source, boolean enable);
     71void bfin_interrupt_enable_all(int source, bool enable);
    7272
    7373/* disable a source independently of the individual ISR enables (starts
    7474   out all enabled) */
    75 void bfin_interrupt_enable_global(int source, boolean enable);
     75void bfin_interrupt_enable_global(int source, bool enable);
    7676 
    7777#ifdef __cplusplus
  • c/src/lib/libcpu/bfin/serial/spi.h

    r0a4c19a r39d08d55  
    2727  /* parameters provided by bsp */
    2828  uint32_t freq;
    29   void *base;
    30   boolean fast;
     29  void    *base;
     30  bool    fast;
    3131  /* internal use */
    3232  rtems_id irq_sema_id;
  • c/src/lib/libcpu/bfin/serial/twi.h

    r0a4c19a r39d08d55  
    2626  uint32_t sclk;
    2727  void *base;
    28   boolean fast;
     28  bool fast;
    2929  int8_t slave_address;
    3030} bfin_twi_config_t;
    3131
    3232typedef struct bfin_twi_request_s {
    33   boolean write;
     33  bool write;
    3434  int count;
    3535  void *data;
     
    4343typedef rtems_status_code (*bfin_twi_callback_t)(int channel,
    4444                                                 void *arg,
    45                                                  boolean general_call,
    46                                                  boolean write,
    47                                                  boolean done,
     45                                                 bool general_call,
     46                                                 bool write,
     47                                                 bool done,
    4848                                                 int read_count,
    4949                                                 uint8_t *data);
  • c/src/lib/libcpu/bfin/serial/uart.h

    r0a4c19a r39d08d55  
    2424  const char *name;
    2525  void *base_address;
    26   boolean use_interrupts;
     26  bool  use_interrupts;
    2727  int force_baud;
    2828  /* the following are for internal use */
  • c/src/lib/libcpu/powerpc/mpc5xx/irq/irq.c

    r0a4c19a r39d08d55  
    494494  if ( _Thread_Do_post_task_switch_extension ||
    495495       _Thread_Executing->do_post_task_switch_extension ) {
    496     _Thread_Executing->do_post_task_switch_extension = FALSE;
     496    _Thread_Executing->do_post_task_switch_extension = false;
    497497    _API_extensions_Run_postswitch();
    498498  }
  • c/src/lib/libcpu/powerpc/mpc83xx/spi/mpc83xx_spidrv.c

    r0a4c19a r39d08d55  
    8484 mpc83xx_spi_softc_t *softc_ptr,         /* handle                         */
    8585 uint32_t bits_per_char,                 /* bits per character             */
    86  boolean  lsb_first,                     /* TRUE: send LSB first           */
     86 bool     lsb_first,                     /* TRUE: send LSB first           */
    8787 uint32_t *spimode                       /* result value                   */
    8888)
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c

    r0a4c19a r39d08d55  
    106106                if ( _Thread_Do_post_task_switch_extension ||
    107107                                _Thread_Executing->do_post_task_switch_extension ) {
    108                         _Thread_Executing->do_post_task_switch_extension = FALSE;
     108                        _Thread_Executing->do_post_task_switch_extension = false;
    109109                        _API_extensions_Run_postswitch();
    110110                }
  • c/src/lib/libcpu/powerpc/new-exceptions/cpu.c

    r0a4c19a r39d08d55  
    6363  uint32_t          new_level,
    6464  void             *entry_point,
    65   boolean           is_fp
     65  bool              is_fp
    6666)
    6767{
  • c/src/lib/libcpu/powerpc/new-exceptions/raw_exception.h

    r0a4c19a r39d08d55  
    246246 * This should probably go away... (T.S. 2007/11/30)
    247247 */
    248 extern boolean bsp_exceptions_in_RAM;
     248extern bool bsp_exceptions_in_RAM;
    249249
    250250/**
  • c/src/lib/libcpu/powerpc/ppc403/clock/clock.c

    r0a4c19a r39d08d55  
    221221    register uint32_t   tcr;
    222222    extern uint32_t bsp_clicks_per_usec;
    223     extern boolean bsp_timer_internal_clock;
     223    extern bool bsp_timer_internal_clock;
    224224#ifdef ppc403
    225225    uint32_t   pvr;
  • c/src/lib/libcpu/powerpc/ppc403/clock/clock_4xx.c

    r0a4c19a r39d08d55  
    7272/* Defined in bspstart.c */
    7373extern uint32_t bsp_clicks_per_usec;
    74 extern boolean bsp_timer_internal_clock;
     74extern bool bsp_timer_internal_clock;
    7575
    7676/*
  • c/src/lib/libcpu/powerpc/ppc403/console/console.c

    r0a4c19a r39d08d55  
    341341  register unsigned tmp;
    342342  rtems_isr_entry previous_isr; /* this is a dummy */
    343   extern boolean bsp_serial_external_clock;
     343  extern bool bsp_serial_external_clock;
    344344  extern uint32_t bsp_serial_rate;
    345345
  • c/src/lib/libcpu/powerpc/ppc403/console/console.c.polled

    r0a4c19a r39d08d55  
    142142  register unsigned tmp;
    143143  extern uint32_t bsp_serial_per_sec;
    144   extern boolean bsp_serial_external_clock;
    145   extern boolean bsp_serial_cts_rts;
     144  extern bool bsp_serial_external_clock;
     145  extern bool bsp_serial_cts_rts;
    146146  extern uint32_t bsp_serial_rate;
    147147
     
    266266{
    267267  unsigned char status;
    268   extern boolean bsp_serial_xon_xoff;
     268  extern bool bsp_serial_xon_xoff;
    269269
    270270  while (port->SPHS)
  • c/src/lib/libcpu/powerpc/ppc403/console/console405.c

    r0a4c19a r39d08d55  
    358358  rtems_isr_entry previous_isr; /* this is a dummy */
    359359  unsigned char _ier;
    360   extern boolean bsp_serial_external_clock;
     360  extern bool bsp_serial_external_clock;
    361361  extern uint32_t bsp_serial_rate;
    362362
  • c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c

    r0a4c19a r39d08d55  
    2020
    2121extern uint32_t bsp_serial_per_sec;
    22 extern boolean bsp_serial_external_clock;
    23 extern boolean bsp_serial_cts_rts;
    24 extern boolean bsp_serial_xon_xoff;
     22extern bool bsp_serial_external_clock;
     23extern bool bsp_serial_cts_rts;
     24extern bool bsp_serial_xon_xoff;
    2525extern uint32_t bsp_serial_rate;
    2626
     
    352352  unsigned char _tmp;
    353353  extern uint32_t bsp_serial_rate;
    354   extern boolean bsp_serial_external_clock;
     354  extern bool bsp_serial_external_clock;
    355355
    356356  /*
Note: See TracChangeset for help on using the changeset viewer.