mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-02-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Derive CPU_{BIG|LITTLE}_ENDIAN from
__BIG_ENDIAN__.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2005-02-18 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/cpu.h: Derive CPU_{BIG|LITTLE}_ENDIAN from
|
||||
__BIG_ENDIAN__.
|
||||
|
||||
2005-02-18 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/cpu.h (CPU_PROVIDES_IDLE_THREAD_BODY,
|
||||
|
||||
@@ -117,9 +117,14 @@
|
||||
*/
|
||||
|
||||
#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
|
||||
|
||||
#if defined(__BIG_ENDIAN__) || defined(_BIG_ENDIAN)
|
||||
#define CPU_BIG_ENDIAN TRUE
|
||||
#define CPU_LITTLE_ENDIAN FALSE
|
||||
|
||||
#else
|
||||
#define CPU_BIG_ENDIAN FALSE
|
||||
#define CPU_LITTLE_ENDIAN TRUE
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Processor defined structures required for cpukit/score.
|
||||
|
||||
Reference in New Issue
Block a user