mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-10 09:33:46 +00:00
2003-03-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -D__ARMEL__ and -D__ARMEB__. Fix minor typo in comment.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-03-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -D__ARMEL__ and
|
||||||
|
-D__ARMEB__. Fix minor typo in comment.
|
||||||
|
|
||||||
2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* rtems/score/arm.h: Set up ARM_HAS_FPU based on -D__SOFTFP__.
|
* rtems/score/arm.h: Set up ARM_HAS_FPU based on -D__SOFTFP__.
|
||||||
|
|||||||
@@ -278,8 +278,16 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
|
#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
|
||||||
|
|
||||||
|
#if defined(__ARMEL__)
|
||||||
#define CPU_BIG_ENDIAN FALSE
|
#define CPU_BIG_ENDIAN FALSE
|
||||||
#define CPU_LITTLE_ENDIAN TRUE
|
#define CPU_LITTLE_ENDIAN TRUE
|
||||||
|
#elif define(__ARMEB__)
|
||||||
|
#define CPU_BIG_ENDIAN TRUE
|
||||||
|
#define CPU_LITTLE_ENDIAN FALSE
|
||||||
|
#else
|
||||||
|
#error "Unknown endianness"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following defines the number of bits actually used in the
|
* The following defines the number of bits actually used in the
|
||||||
@@ -774,7 +782,7 @@ void _CPU_Context_Initialize(
|
|||||||
# define _CPU_Priority_bits_index( _priority ) \
|
# define _CPU_Priority_bits_index( _priority ) \
|
||||||
(_priority)
|
(_priority)
|
||||||
|
|
||||||
# error "Implement CLZ verson of priority bit functions for ARMv5"
|
# error "Implement CLZ version of priority bit functions for ARMv5"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* end of Priority handler macros */
|
/* end of Priority handler macros */
|
||||||
|
|||||||
Reference in New Issue
Block a user