Changeset 22d66ab in rtems


Ignore:
Timestamp:
Sep 4, 2008, 4:04:00 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
91242c9b
Parents:
f8437c8
Message:

Convert to "bool".

Location:
cpukit/itron
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • cpukit/itron/include/rtems/itron/mbox.h

    rf8437c8 r22d66ab  
    1717#define _RTEMS_ITRON_MBOX_H
    1818
     19#include <rtems/itron/object.h>
     20#include <rtems/score/coremsg.h>
     21
    1922#ifdef __cplusplus
    2023extern "C" {
    2124#endif
    22 
    23 #include <rtems/itron/object.h>
    24 #include <rtems/score/coremsg.h>
    2525
    2626/*
     
    3131  ITRON_Objects_Control       Object;
    3232  uint32_t                    count;
    33   boolean                     do_message_priority;
     33  bool                        do_message_priority;
    3434  CORE_message_queue_Control  message_queue;
    3535}   ITRON_Mailbox_Control;
  • cpukit/itron/include/rtems/itron/msgbuffer.h

    rf8437c8 r22d66ab  
    1717#define _RTEMS_ITRON_MSGBUFFER_H
    1818
     19#include <rtems/itron/object.h>
     20#include <rtems/score/coremsg.h>
     21
    1922#ifdef __cplusplus
    2023extern "C" {
    2124#endif
    22 
    23 #include <rtems/itron/object.h>
    24 #include <rtems/score/coremsg.h>
    2525
    2626/*
     
    3131typedef struct {
    3232    ITRON_Objects_Control               Object;
    33     boolean                             is_priority_blocking;
     33    bool                                is_priority_blocking;
    3434    CORE_message_queue_Control          message_queue;
    3535}   ITRON_Message_buffer_Control;
  • cpukit/itron/include/rtems/itron/semaphore.h

    rf8437c8 r22d66ab  
    1717#define _RTEMS_ITRON_SEMAPHORE_H
    1818
     19#include <rtems/itron/object.h>
     20#include <rtems/score/coresem.h>
     21
    1922#ifdef __cplusplus
    2023extern "C" {
    2124#endif
    22 
    23 #include <rtems/itron/object.h>
    24 #include <rtems/score/coresem.h>
    2525
    2626/*
     
    3030typedef struct {
    3131  ITRON_Objects_Control   Object;
    32   boolean                 is_priority_blocking;
     32  bool                    is_priority_blocking;
    3333  CORE_semaphore_Control  semaphore;
    3434}   ITRON_Semaphore_Control;
  • cpukit/itron/inline/rtems/itron/eventflags.inl

    rf8437c8 r22d66ab  
    140140 */
    141141
    142 RTEMS_INLINE_ROUTINE boolean _ITRON_Eventflags_Is_null (
     142RTEMS_INLINE_ROUTINE bool _ITRON_Eventflags_Is_null (
    143143  ITRON_Eventflags_Control *the_eventflags
    144144)
  • cpukit/itron/inline/rtems/itron/fmempool.inl

    rf8437c8 r22d66ab  
    147147 */
    148148
    149 RTEMS_INLINE_ROUTINE boolean _ITRON_Fixed_memory_pool_Is_null (
     149RTEMS_INLINE_ROUTINE bool _ITRON_Fixed_memory_pool_Is_null (
    150150  ITRON_Fixed_memory_pool_Control *the_fixed_memory_pool
    151151)
  • cpukit/itron/inline/rtems/itron/mbox.inl

    rf8437c8 r22d66ab  
    140140 */
    141141
    142 RTEMS_INLINE_ROUTINE boolean _ITRON_Mailbox_Is_null (
     142RTEMS_INLINE_ROUTINE bool _ITRON_Mailbox_Is_null (
    143143  ITRON_Mailbox_Control *the_mailbox
    144144)
  • cpukit/itron/inline/rtems/itron/msgbuffer.inl

    rf8437c8 r22d66ab  
    145145 */
    146146
    147 RTEMS_INLINE_ROUTINE boolean _ITRON_Message_buffer_Is_null (
     147RTEMS_INLINE_ROUTINE bool _ITRON_Message_buffer_Is_null (
    148148  ITRON_Message_buffer_Control *the_message_buffer
    149149)
  • cpukit/itron/inline/rtems/itron/port.inl

    rf8437c8 r22d66ab  
    140140 */
    141141
    142 RTEMS_INLINE_ROUTINE boolean _ITRON_Port_Is_null (
     142RTEMS_INLINE_ROUTINE bool _ITRON_Port_Is_null (
    143143  ITRON_Port_Control *the_port
    144144)
  • cpukit/itron/inline/rtems/itron/semaphore.inl

    rf8437c8 r22d66ab  
    140140 */
    141141
    142 RTEMS_INLINE_ROUTINE boolean _ITRON_Semaphore_Is_null (
     142RTEMS_INLINE_ROUTINE bool _ITRON_Semaphore_Is_null (
    143143  ITRON_Semaphore_Control *the_semaphore
    144144)
  • cpukit/itron/inline/rtems/itron/task.inl

    rf8437c8 r22d66ab  
    146146 */
    147147
    148 RTEMS_INLINE_ROUTINE boolean _ITRON_Task_Is_null (
     148RTEMS_INLINE_ROUTINE bool _ITRON_Task_Is_null (
    149149  Thread_Control *the_task
    150150)
  • cpukit/itron/inline/rtems/itron/vmempool.inl

    rf8437c8 r22d66ab  
    150150 */
    151151
    152 RTEMS_INLINE_ROUTINE boolean _ITRON_Variable_memory_pool_Is_null (
     152RTEMS_INLINE_ROUTINE bool _ITRON_Variable_memory_pool_Is_null (
    153153  ITRON_Variable_memory_pool_Control *the_variable_memory_pool
    154154)
  • cpukit/itron/src/cre_tsk.c

    rf8437c8 r22d66ab  
    3636{
    3737  register Thread_Control     *the_thread;
    38   boolean                      status;
     38  bool                         status;
    3939  Priority_Control             core_priority;
    4040  Objects_Name                 name;
     
    118118   */
    119119
    120   the_thread->do_post_task_switch_extension = TRUE;
     120  the_thread->do_post_task_switch_extension = true;
    121121
    122122  the_thread->Start.entry_point = (Thread_Entry) pk_ctsk->task;
  • cpukit/itron/src/sta_tsk.c

    rf8437c8 r22d66ab  
    3636  register Thread_Control *the_thread;
    3737  Objects_Locations        location;
    38   boolean                  status;
     38  bool                     status;
    3939
    4040  the_thread = _ITRON_Task_Get( tskid, &location );
  • cpukit/itron/src/task.c

    rf8437c8 r22d66ab  
    3636 */
    3737
    38 boolean _ITRON_Task_Create_extension(
     38bool _ITRON_Task_Create_extension(
    3939  Thread_Control *executing,
    4040  Thread_Control *created
     
    5151
    5252  if ( !api )
    53     return FALSE;
     53    return false;
    5454
    5555  created->API_Extensions[ THREAD_API_ITRON ] = api;
     
    6262   */
    6363
    64   return TRUE;
     64  return true;
    6565}
    6666
  • cpukit/itron/src/trcv_mbf.c

    rf8437c8 r22d66ab  
    3535  Objects_Locations               location;
    3636  CORE_message_queue_Status       status;
    37   boolean                         wait;
     37  bool                            wait;
    3838  Watchdog_Interval               interval;
    3939  size_t                          msgsz;
     
    4141  interval = 0;
    4242  if (tmout == TMO_POL) {
    43     wait = FALSE;
     43    wait = false;
    4444  } else {
    45     wait = TRUE;
     45    wait = true;
    4646    if (tmout != TMO_FEVR)
    4747      interval = TOD_MILLISECONDS_TO_TICKS(tmout);
  • cpukit/itron/src/trcv_mbx.c

    rf8437c8 r22d66ab  
    3333  register ITRON_Mailbox_Control *the_mailbox;
    3434  Watchdog_Interval               interval;
    35   boolean                         wait;
     35  bool                            wait;
    3636  Objects_Locations               location;
    37   uint32_t                        size;
     37  size_t                          size;
    3838
    3939  if (!ppk_msg)
     
    4242  interval = 0;
    4343  if ( tmout == TMO_POL ) {
    44     wait = FALSE;
     44    wait = false;
    4545  } else {
    46     wait = TRUE;
     46    wait = true;
    4747    if ( tmout != TMO_FEVR )
    4848      interval = TOD_MILLISECONDS_TO_TICKS(tmout);
  • cpukit/itron/src/tsnd_mbf.c

    rf8437c8 r22d66ab  
    3737  Objects_Locations              location;
    3838  Watchdog_Interval              interval;
    39   boolean                        wait;
     39  bool                           wait;
    4040  CORE_message_queue_Status      msg_status;
    4141
     
    4545  interval = 0;
    4646  if ( tmout == TMO_POL ) {
    47     wait = FALSE;
     47    wait = false;
    4848  } else {
    49     wait = TRUE;
     49    wait = true;
    5050    if ( tmout != TMO_FEVR )
    5151      interval = TOD_MILLISECONDS_TO_TICKS(tmout);
  • cpukit/itron/src/twai_sem.c

    rf8437c8 r22d66ab  
    3434  Objects_Locations         location;
    3535  Watchdog_Interval         interval;
    36   boolean                   blocking;
     36  bool                      blocking;
    3737
    3838  interval = 0;
    3939  if ( tmout == TMO_POL ) {
    40     blocking = FALSE;
     40    blocking = false;
    4141  } else {
    42     blocking = TRUE;
     42    blocking = true;
    4343
    4444    if ( tmout != TMO_FEVR )
Note: See TracChangeset for help on using the changeset viewer.