Changeset 30e2df6 in rtems


Ignore:
Timestamp:
Aug 21, 2008, 4:10:35 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
b7b6100
Parents:
aa4a3f1
Message:

Include stdbool.h. Use bool as base-type for boolean.

Location:
cpukit/score/cpu
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2323#ifndef ASM
    2424
     25#include <stdbool.h>
    2526#include <rtems/stdint.h>
    2627
     
    3334 */
    3435
    35 typedef uint32_t         boolean;            /* Boolean value   */
     36typedef bool             boolean;            /* Boolean value   */
    3637typedef uint16_t         Priority_Bit_map_control;
    3738
  • cpukit/score/cpu/avr/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t     Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool        boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/bfin/rtems/score/types.h

    raa4a3f1 r30e2df6  
    1818#ifndef ASM
    1919
     20#include <stdbool.h>
    2021#include <rtems/stdint.h>
    2122
     
    3233
    3334/** This defines the type for a Boolean value, */
    34 typedef uint32_t boolean;     /* Boolean value   */
     35typedef bool boolean;     /* Boolean value   */
    3536
    3637/** This defines the type for a single precision float. */
  • cpukit/score/cpu/c4x/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint_least16_t     Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/h8300/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t     Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/i386/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/m68k/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t     Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/mips/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2323#ifndef ASM
    2424
     25#include <stdbool.h>
    2526#include <rtems/stdint.h>
    2627
     
    3536typedef uint16_t     Priority_Bit_map_control;
    3637
    37 typedef uint32_t boolean;     /* Boolean value   */
     38typedef bool boolean;     /* Boolean value   */
    3839
    3940typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/nios2/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t Priority_Bit_map_control;
    3536
    36 typedef uint32_t boolean;     /* Boolean value   */
     37typedef bool boolean;     /* Boolean value   */
    3738
    3839typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/no_cpu/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3637
    3738/** This defines the type for a Boolean value, */
    38 typedef uint32_t boolean;     /* Boolean value   */
     39typedef bool boolean;     /* Boolean value   */
    3940
    4041/** This defines the type for a single precision float. */
  • cpukit/score/cpu/powerpc/rtems/score/types.h

    raa4a3f1 r30e2df6  
    3939#ifndef ASM
    4040
     41#include <stdbool.h>
    4142#include <rtems/stdint.h>
    4243
     
    5152typedef uint32_t     Priority_Bit_map_control;
    5253
    53 typedef uint32_t boolean;     /* Boolean value   */
     54typedef bool boolean;     /* Boolean value   */
    5455
    5556typedef float          single_precision;     /* single precision float */
  • cpukit/score/cpu/sh/rtems/score/types.h

    raa4a3f1 r30e2df6  
    3232#ifndef ASM
    3333
     34#include <stdbool.h>
    3435#include <rtems/stdint.h>
    3536
     
    4445typedef uint16_t     Priority_Bit_map_control;
    4546
    46 typedef uint16_t boolean;                       /* Boolean value, external */
     47typedef bool boolean;                           /* Boolean value, external */
    4748                                                /* data bus has 16 bits  */
    4849
  • cpukit/score/cpu/sparc/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    3435typedef uint16_t         Priority_Bit_map_control;
    3536
    36 typedef uint32_t         boolean;              /* Boolean value   */
     37typedef bool         boolean;              /* Boolean value   */
    3738
    3839typedef float              single_precision;     /* single precision float */
  • cpukit/score/cpu/unix/rtems/score/types.h

    raa4a3f1 r30e2df6  
    2222#ifndef ASM
    2323
     24#include <stdbool.h>
    2425#include <rtems/stdint.h>
    2526
     
    4344typedef uint16_t     Priority_Bit_map_control;
    4445
    45 typedef uint32_t boolean;     /* Boolean value   */
     46typedef bool boolean;     /* Boolean value   */
    4647
    4748typedef float          single_precision;     /* single precision float */
Note: See TracChangeset for help on using the changeset viewer.