Changeset 39d08d55 in rtems for c/src/lib/libcpu/bfin


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

Convert to "bool".

Location:
c/src/lib/libcpu/bfin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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 */
Note: See TracChangeset for help on using the changeset viewer.