diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-23 08:12:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-24 08:39:22 +0100 |
commit | 4aa23c9641225476bd61b1f64e324bbd0f76eab5 (patch) | |
tree | 7cabefcd32c32c99dc17a3240366beb9e5b358ef /cpukit/score/cpu/sh/rtems/score/cpu.h | |
parent | Use <sys/endian.h> (diff) | |
download | rtems-4aa23c9641225476bd61b1f64e324bbd0f76eab5.tar.bz2 |
Remove CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN
Use de-facto standard BYTE_ORDER instead.
Close #2803.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/cpu.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h index b4e553273d..0ad38296cf 100644 --- a/cpukit/score/cpu/sh/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/rtems/score/cpu.h @@ -218,22 +218,6 @@ extern "C" { #define CPU_STRUCTURE_ALIGNMENT RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES ) /* - * Define what is required to specify how the network to host conversion - * routines are handled. - * - * NOTE: SHes can be big or little endian, the default is big endian - */ - -/* __LITTLE_ENDIAN__ is defined if -ml is given to gcc */ -#if defined(__LITTLE_ENDIAN__) -#define CPU_BIG_ENDIAN FALSE -#define CPU_LITTLE_ENDIAN TRUE -#else -#define CPU_BIG_ENDIAN TRUE -#define CPU_LITTLE_ENDIAN FALSE -#endif - -/* * The following defines the number of bits actually used in the * interrupt field of the task mode. How those bits map to the * CPU interrupt levels is defined by the routine _CPU_ISR_Set_level(). |