From 6162bc2a1d9ee716039978b44bd16f2a48b99250 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 11 Sep 2008 14:10:16 +0000 Subject: =?UTF-8?q?2008-09-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. --- cpukit/score/cpu/arm/ChangeLog | 5 +++++ cpukit/score/cpu/arm/rtems/score/types.h | 12 +++++++----- cpukit/score/cpu/avr/ChangeLog | 5 +++++ cpukit/score/cpu/avr/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/bfin/ChangeLog | 5 +++++ cpukit/score/cpu/bfin/rtems/score/types.h | 14 ++++++-------- cpukit/score/cpu/c4x/ChangeLog | 5 +++++ cpukit/score/cpu/c4x/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/h8300/ChangeLog | 5 +++++ cpukit/score/cpu/h8300/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/i386/ChangeLog | 5 +++++ cpukit/score/cpu/i386/rtems/score/types.h | 13 ++++++------- cpukit/score/cpu/m68k/ChangeLog | 5 +++++ cpukit/score/cpu/m68k/rtems/score/types.h | 13 ++++++------- cpukit/score/cpu/mips/ChangeLog | 5 +++++ cpukit/score/cpu/mips/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/nios2/ChangeLog | 5 +++++ cpukit/score/cpu/nios2/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/no_cpu/ChangeLog | 5 +++++ cpukit/score/cpu/no_cpu/rtems/score/types.h | 14 ++++++-------- cpukit/score/cpu/powerpc/ChangeLog | 5 +++++ cpukit/score/cpu/powerpc/rtems/score/types.h | 13 ++++++------- cpukit/score/cpu/sh/ChangeLog | 5 +++++ cpukit/score/cpu/sh/rtems/score/types.h | 10 +++++----- cpukit/score/cpu/sparc/ChangeLog | 5 +++++ cpukit/score/cpu/sparc/rtems/score/types.h | 12 ++++++------ cpukit/score/cpu/unix/ChangeLog | 5 +++++ cpukit/score/cpu/unix/rtems/score/types.h | 14 ++++++-------- 28 files changed, 154 insertions(+), 91 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index a4a514b2ce..0a264bd34f 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/arm/rtems/score/types.h b/cpukit/score/cpu/arm/rtems/score/types.h index d137153cfb..fd7964d1ab 100644 --- a/cpukit/score/cpu/arm/rtems/score/types.h +++ b/cpukit/score/cpu/arm/rtems/score/types.h @@ -33,14 +33,16 @@ extern "C" { * This section defines the basic types for this processor. */ -typedef bool boolean; /* Boolean value */ typedef uint16_t Priority_Bit_map_control; -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void arm_cpu_isr; -typedef void ( *arm_cpu_isr_entry )( void ); +typedef void (*arm_cpu_isr_entry)( void ); + +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif #ifdef __cplusplus } diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog index 3140c934b4..9b92635579 100644 --- a/cpukit/score/cpu/avr/ChangeLog +++ b/cpukit/score/cpu/avr/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-08-21 Ralf Corsépius * rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to diff --git a/cpukit/score/cpu/avr/rtems/score/types.h b/cpukit/score/cpu/avr/rtems/score/types.h index 5a242b01d6..e0dcdebf1b 100644 --- a/cpukit/score/cpu/avr/rtems/score/types.h +++ b/cpukit/score/cpu/avr/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void avr_isr; typedef void ( *avr_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog index 0d504646fe..bbd98b04aa 100644 --- a/cpukit/score/cpu/bfin/ChangeLog +++ b/cpukit/score/cpu/bfin/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/bfin/rtems/score/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h index 57f5a255ec..c438546d55 100644 --- a/cpukit/score/cpu/bfin/rtems/score/types.h +++ b/cpukit/score/cpu/bfin/rtems/score/types.h @@ -31,20 +31,18 @@ extern "C" { /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_Bit_map_control; -/** This defines the type for a Boolean value, */ -typedef bool boolean; /* Boolean value */ - -/** This defines the type for a single precision float. */ -typedef float single_precision; -/** This defines the type for a double precision float. */ -typedef double double_precision; - /** This defines the return type for an ISR entry point. */ typedef void blackfin_isr; /** This defines the prototype for an ISR entry point. */ typedef blackfin_isr ( *blackfin_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/c4x/ChangeLog b/cpukit/score/cpu/c4x/ChangeLog index 64a8b1834f..e75772c861 100644 --- a/cpukit/score/cpu/c4x/ChangeLog +++ b/cpukit/score/cpu/c4x/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-08-21 Ralf Corsépius * rtems/score/types.h: Include stdbool.h. diff --git a/cpukit/score/cpu/c4x/rtems/score/types.h b/cpukit/score/cpu/c4x/rtems/score/types.h index dbb76d6361..02a00f88ab 100644 --- a/cpukit/score/cpu/c4x/rtems/score/types.h +++ b/cpukit/score/cpu/c4x/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint_least16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void c4x_isr; typedef void ( *c4x_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog index 2329e85499..3225144b0d 100644 --- a/cpukit/score/cpu/h8300/ChangeLog +++ b/cpukit/score/cpu/h8300/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * rtems/score/cpu.h: Remove extraneous spaces. diff --git a/cpukit/score/cpu/h8300/rtems/score/types.h b/cpukit/score/cpu/h8300/rtems/score/types.h index 9299f1860d..8137edc120 100644 --- a/cpukit/score/cpu/h8300/rtems/score/types.h +++ b/cpukit/score/cpu/h8300/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void h8300_isr; typedef void ( *h8300_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index 57b96a1f60..3e10484588 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * rtems/score/cpu.h: Remove extraneous spaces. diff --git a/cpukit/score/cpu/i386/rtems/score/types.h b/cpukit/score/cpu/i386/rtems/score/types.h index 663d98f93d..9934a0c552 100644 --- a/cpukit/score/cpu/i386/rtems/score/types.h +++ b/cpukit/score/cpu/i386/rtems/score/types.h @@ -33,16 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void i386_isr; - typedef i386_isr ( *i386_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog index 38db3dcda4..a3bdfa0448 100644 --- a/cpukit/score/cpu/m68k/ChangeLog +++ b/cpukit/score/cpu/m68k/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c, rtems/score/cpu.h: Remove extraneous spaces. diff --git a/cpukit/score/cpu/m68k/rtems/score/types.h b/cpukit/score/cpu/m68k/rtems/score/types.h index 512f7e4b8c..3e7dee4161 100644 --- a/cpukit/score/cpu/m68k/rtems/score/types.h +++ b/cpukit/score/cpu/m68k/rtems/score/types.h @@ -33,16 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void m68k_isr; - typedef void ( *m68k_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index 7f0cce7339..2703b2b052 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-08-21 Ralf Corsépius * rtems/score/types.h: Include stdbool.h. diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h index cca53236ce..b328de9f65 100644 --- a/cpukit/score/cpu/mips/rtems/score/types.h +++ b/cpukit/score/cpu/mips/rtems/score/types.h @@ -34,15 +34,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void mips_isr; typedef void ( *mips_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog index 9d040aed41..344d7219ad 100644 --- a/cpukit/score/cpu/nios2/ChangeLog +++ b/cpukit/score/cpu/nios2/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * rtems/score/cpu.h: Remove extraneous spaces. diff --git a/cpukit/score/cpu/nios2/rtems/score/types.h b/cpukit/score/cpu/nios2/rtems/score/types.h index 80142588a5..ae8f3cc345 100644 --- a/cpukit/score/cpu/nios2/rtems/score/types.h +++ b/cpukit/score/cpu/nios2/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void nios2_isr; typedef void ( *nios2_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog index da0ee2139c..42903a81ff 100644 --- a/cpukit/score/cpu/no_cpu/ChangeLog +++ b/cpukit/score/cpu/no_cpu/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-08-21 Ralf Corsépius * rtems/score/types.h: Include stdbool.h. diff --git a/cpukit/score/cpu/no_cpu/rtems/score/types.h b/cpukit/score/cpu/no_cpu/rtems/score/types.h index 569962ea59..49115c440f 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/types.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/types.h @@ -35,20 +35,18 @@ extern "C" { /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_Bit_map_control; -/** This defines the type for a Boolean value, */ -typedef bool boolean; /* Boolean value */ - -/** This defines the type for a single precision float. */ -typedef float single_precision; -/** This defines the type for a double precision float. */ -typedef double double_precision; - /** This defines the return type for an ISR entry point. */ typedef void no_cpu_isr; /** This defines the prototype for an ISR entry point. */ typedef no_cpu_isr ( *no_cpu_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index 0ac14e98a3..1a81d3b819 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-05 Ralf Corsépius * rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Convert to "bool". diff --git a/cpukit/score/cpu/powerpc/rtems/score/types.h b/cpukit/score/cpu/powerpc/rtems/score/types.h index 43a007e58a..d4bb74e501 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/types.h +++ b/cpukit/score/cpu/powerpc/rtems/score/types.h @@ -48,16 +48,15 @@ extern "C" { /* * This section defines the basic types for this processor. */ - typedef uint32_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void ppc_isr; +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 20642d712f..fe5072dc32 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/sh/rtems/score/types.h b/cpukit/score/cpu/sh/rtems/score/types.h index a9ea64da39..9066fb7f72 100644 --- a/cpukit/score/cpu/sh/rtems/score/types.h +++ b/cpukit/score/cpu/sh/rtems/score/types.h @@ -44,14 +44,14 @@ extern "C" { typedef uint16_t Priority_Bit_map_control; -typedef bool boolean; /* Boolean value, external */ - /* data bus has 16 bits */ +typedef void sh_isr; +typedef void ( *sh_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value, external */ typedef float single_precision; /* single precision float */ typedef double double_precision; /* double precision float */ - -typedef void sh_isr; -typedef void ( *sh_isr_entry )( void ); +#endif #ifdef __cplusplus } diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog index aa05b31c73..09665337fa 100644 --- a/cpukit/score/cpu/sparc/ChangeLog +++ b/cpukit/score/cpu/sparc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/sparc/rtems/score/types.h b/cpukit/score/cpu/sparc/rtems/score/types.h index 3096a233a0..4fb9baebbb 100644 --- a/cpukit/score/cpu/sparc/rtems/score/types.h +++ b/cpukit/score/cpu/sparc/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void sparc_isr; typedef void ( *sparc_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index f96a6163a8..44ab6a2294 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/unix/rtems/score/types.h b/cpukit/score/cpu/unix/rtems/score/types.h index bd678c68b9..bd7fcae2d2 100644 --- a/cpukit/score/cpu/unix/rtems/score/types.h +++ b/cpukit/score/cpu/unix/rtems/score/types.h @@ -40,18 +40,16 @@ extern "C" { * This section defines the basic types for this processor. */ - typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void unix_isr; - typedef unix_isr ( *unix_isr_entry )( void ); +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.3