Changeset d0279f6e in rtems


Ignore:
Timestamp:
Sep 18, 2008, 3:01:49 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.9
Children:
0a37142
Parents:
10019892
Message:

Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.

Location:
cpukit/score/cpu
Files:
12 edited

Legend:

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

    r10019892 rd0279f6e  
    3434 */
    3535
    36 typedef bool             boolean;            /* Boolean value   */
    3736typedef uint16_t         Priority_Bit_map_control;
    3837
    39 typedef float              single_precision;   /* single precision float */
    40 typedef double             double_precision;   /* double precision float */
     38typedef void               arm_cpu_isr;
     39typedef void            (*arm_cpu_isr_entry)( void );
    4140
    42 typedef void               arm_cpu_isr;
    43 typedef void            ( *arm_cpu_isr_entry )( void );
     41#ifdef RTEMS_DEPRECATED_TYPES
     42typedef bool            boolean;            /* Boolean value   */
     43typedef float           single_precision;   /* single precision float */
     44typedef double          double_precision;   /* double precision float */
     45#endif
    4446
    4547#ifdef __cplusplus
  • cpukit/score/cpu/avr/rtems/score/types.h

    r10019892 rd0279f6e  
    3434
    3535typedef uint16_t     Priority_Bit_map_control;
    36 
    37 typedef bool         boolean;     /* Boolean value   */
    38 
    39 typedef float          single_precision;     /* single precision float */
    40 typedef double         double_precision;     /* double precision float */
    41 
    4236typedef void avr_isr;
    4337typedef void ( *avr_isr_entry )( void );
     38
     39#ifdef RTEMS_DEPRECATED_TYPES
     40typedef bool    boolean;                /* Boolean value   */
     41typedef float   single_precision;       /* single precision float */
     42typedef double  double_precision;       /* double precision float */
     43#endif
    4444
    4545#ifdef __cplusplus
  • cpukit/score/cpu/bfin/rtems/score/types.h

    r10019892 rd0279f6e  
    3232typedef uint16_t Priority_Bit_map_control;
    3333
    34 /** This defines the type for a Boolean value, */
    35 typedef bool boolean;     /* Boolean value   */
    36 
    37 /** This defines the type for a single precision float. */
    38 typedef float          single_precision;
    39 /** This defines the type for a double precision float. */
    40 typedef double         double_precision;
    41 
    4234/** This defines the return type for an ISR entry point. */
    4335typedef void blackfin_isr;
     
    4537/** This defines the prototype for an ISR entry point. */
    4638typedef blackfin_isr ( *blackfin_isr_entry )( void );
     39
     40#ifdef RTEMS_DEPRECATED_TYPES
     41typedef bool    boolean;                /* Boolean value   */
     42typedef float   single_precision;       /* single precision float */
     43typedef double  double_precision;       /* double precision float */
     44#endif
    4745
    4846#ifdef __cplusplus
  • cpukit/score/cpu/h8300/rtems/score/types.h

    r10019892 rd0279f6e  
    3434
    3535typedef uint16_t     Priority_Bit_map_control;
    36 
    37 typedef bool boolean;     /* Boolean value   */
    38 
    39 typedef float          single_precision;     /* single precision float */
    40 typedef double         double_precision;     /* double precision float */
    41 
    4236typedef void h8300_isr;
    4337typedef void ( *h8300_isr_entry )( void );
     38
     39#ifdef RTEMS_DEPRECATED_TYPES
     40typedef bool    boolean;                /* Boolean value   */
     41typedef float   single_precision;       /* single precision float */
     42typedef double  double_precision;       /* double precision float */
     43#endif
    4444
    4545#ifdef __cplusplus
  • cpukit/score/cpu/i386/rtems/score/types.h

    r10019892 rd0279f6e  
    3434
    3535typedef uint16_t Priority_Bit_map_control;
     36typedef void i386_isr;
     37typedef i386_isr ( *i386_isr_entry )( void );
    3638
    37 typedef bool boolean;     /* Boolean value   */
    38 
    39 typedef float          single_precision;     /* single precision float */
    40 typedef double         double_precision;     /* double precision float */
    41 
    42 typedef void i386_isr;
    43 
    44 typedef i386_isr ( *i386_isr_entry )( void );
     39#ifdef RTEMS_DEPRECATED_TYPES
     40typedef bool            boolean;              /* Boolean value   */
     41typedef float           single_precision;     /* single precision float */
     42typedef double          double_precision;     /* double precision float */
     43#endif
    4544
    4645#ifdef __cplusplus
  • cpukit/score/cpu/m68k/rtems/score/types.h

    r10019892 rd0279f6e  
    3434
    3535typedef uint16_t     Priority_Bit_map_control;
     36typedef void m68k_isr;
     37typedef void ( *m68k_isr_entry )( void );
    3638
    37 typedef bool boolean;     /* Boolean value   */
    38 
    39 typedef float          single_precision;     /* single precision float */
    40 typedef double         double_precision;     /* double precision float */
    41 
    42 typedef void m68k_isr;
    43 
    44 typedef void ( *m68k_isr_entry )( void );
     39#ifdef RTEMS_DEPRECATED_TYPES
     40typedef bool    boolean;                /* Boolean value   */
     41typedef float   single_precision;       /* single precision float */
     42typedef double  double_precision;       /* double precision float */
     43#endif
    4544
    4645#ifdef __cplusplus
  • cpukit/score/cpu/mips/rtems/score/types.h

    r10019892 rd0279f6e  
    3535
    3636typedef uint16_t     Priority_Bit_map_control;
    37 
    38 typedef bool boolean;     /* Boolean value   */
    39 
    40 typedef float          single_precision;     /* single precision float */
    41 typedef double         double_precision;     /* double precision float */
    42 
    4337typedef void mips_isr;
    4438typedef void ( *mips_isr_entry )( void );
     39
     40#ifdef RTEMS_DEPRECATED_TYPES
     41typedef bool    boolean;                /* Boolean value   */
     42typedef float   single_precision;       /* single precision float */
     43typedef double  double_precision;       /* double precision float */
     44#endif
    4545
    4646#ifdef __cplusplus
  • cpukit/score/cpu/no_cpu/rtems/score/types.h

    r10019892 rd0279f6e  
    3636typedef uint16_t Priority_Bit_map_control;
    3737
    38 /** This defines the type for a Boolean value, */
    39 typedef bool boolean;     /* Boolean value   */
    40 
    41 /** This defines the type for a single precision float. */
    42 typedef float          single_precision;
    43 /** This defines the type for a double precision float. */
    44 typedef double         double_precision;
    45 
    4638/** This defines the return type for an ISR entry point. */
    4739typedef void no_cpu_isr;
     
    4941/** This defines the prototype for an ISR entry point. */
    5042typedef no_cpu_isr ( *no_cpu_isr_entry )( void );
     43
     44#ifdef RTEMS_DEPRECATED_TYPES
     45typedef bool    boolean;                /* Boolean value   */
     46typedef float   single_precision;       /* single precision float */
     47typedef double  double_precision;       /* double precision float */
     48#endif
    5149
    5250#ifdef __cplusplus
  • cpukit/score/cpu/powerpc/rtems/score/types.h

    r10019892 rd0279f6e  
    4949 *  This section defines the basic types for this processor.
    5050 */
     51typedef uint32_t     Priority_Bit_map_control;
     52typedef void ppc_isr;
    5153
    52 typedef uint32_t     Priority_Bit_map_control;
    53 
    54 typedef bool boolean;     /* Boolean value   */
    55 
    56 typedef float          single_precision;     /* single precision float */
    57 typedef double         double_precision;     /* double precision float */
    58 
    59 typedef void ppc_isr;
     54#ifdef RTEMS_DEPRECATED_TYPES
     55typedef bool    boolean;                /* Boolean value   */
     56typedef float   single_precision;       /* single precision float */
     57typedef double  double_precision;       /* double precision float */
     58#endif
    6059
    6160#ifdef __cplusplus
  • cpukit/score/cpu/sh/rtems/score/types.h

    r10019892 rd0279f6e  
    4545typedef uint16_t     Priority_Bit_map_control;
    4646
     47typedef void sh_isr;
     48typedef void ( *sh_isr_entry )( void );
     49
     50#ifdef RTEMS_DEPRECATED_TYPES
    4751typedef bool boolean;                           /* Boolean value, external */
    48                                                 /* data bus has 16 bits  */
    49 
    5052typedef float          single_precision;        /* single precision float */
    5153typedef double         double_precision;        /* double precision float */
    52 
    53 typedef void sh_isr;
    54 typedef void ( *sh_isr_entry )( void );
     54#endif
    5555
    5656#ifdef __cplusplus
  • cpukit/score/cpu/sparc/rtems/score/types.h

    r10019892 rd0279f6e  
    3434
    3535typedef uint16_t         Priority_Bit_map_control;
    36 
    37 typedef bool         boolean;              /* Boolean value   */
    38 
    39 typedef float              single_precision;     /* single precision float */
    40 typedef double             double_precision;     /* double precision float */
    41 
    4236typedef void sparc_isr;
    4337typedef void ( *sparc_isr_entry )( void );
     38
     39#ifdef RTEMS_DEPRECATED_TYPES
     40typedef bool    boolean;              /* Boolean value   */
     41typedef float   single_precision;     /* single precision float */
     42typedef double  double_precision;     /* double precision float */
     43#endif
    4444
    4545#ifdef __cplusplus
  • cpukit/score/cpu/unix/rtems/score/types.h

    r10019892 rd0279f6e  
    4141 */
    4242
     43typedef uint16_t     Priority_Bit_map_control;
     44typedef void unix_isr;
     45typedef unix_isr ( *unix_isr_entry )( void );
    4346
    44 typedef uint16_t     Priority_Bit_map_control;
    45 
    46 typedef bool boolean;     /* Boolean value   */
    47 
    48 typedef float          single_precision;     /* single precision float */
    49 typedef double         double_precision;     /* double precision float */
    50 
    51 typedef void unix_isr;
    52 
    53 typedef unix_isr ( *unix_isr_entry )( void );
     47#ifdef RTEMS_DEPRECATED_TYPES
     48typedef bool    boolean;                /* Boolean value   */
     49typedef float   single_precision;       /* single precision float */
     50typedef double  double_precision;       /* double precision float */
     51#endif
    5452
    5553#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.