summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/rtems/score/cpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-23 08:12:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-24 08:39:22 +0100
commit4aa23c9641225476bd61b1f64e324bbd0f76eab5 (patch)
tree7cabefcd32c32c99dc17a3240366beb9e5b358ef /cpukit/score/cpu/sh/rtems/score/cpu.h
parentUse <sys/endian.h> (diff)
downloadrtems-4aa23c9641225476bd61b1f64e324bbd0f76eab5.tar.bz2
Remove CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN
Use de-facto standard BYTE_ORDER instead. Close #2803.
Diffstat (limited to 'cpukit/score/cpu/sh/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h16
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().