mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
|
||||
(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
|
||||
|
||||
2006-01-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
|
||||
|
||||
@@ -312,8 +312,17 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
|
||||
|
||||
/* __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
|
||||
|
||||
Reference in New Issue
Block a user