summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/rtems
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/mips/rtems
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/mips/rtems')
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index 60bec59b86..9a45d0b920 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -269,22 +269,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.
- */
-
-/* __MIPSEB__ or __MIPSEL__ is defined by GCC based on -EB or -EL command line options */
-#if defined(__MIPSEB__)
-#define CPU_BIG_ENDIAN TRUE
-#define CPU_LITTLE_ENDIAN FALSE
-#elif defined(__MIPSEL__)
-#define CPU_BIG_ENDIAN FALSE
-#define CPU_LITTLE_ENDIAN TRUE
-#else
-#error "Unknown endianness"
-#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().