Changeset fec4504 in rtems


Ignore:
Timestamp:
Mar 2, 2003, 6:19:42 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
fc230981
Parents:
3f5a5920
Message:

2003-03-02 Ralf Corsepius <corsepiu@…>

  • rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -DARMEL and -DARMEB. Fix minor typo in comment.
Location:
cpukit/score/cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/ChangeLog

    r3f5a5920 rfec4504  
     12003-03-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -D__ARMEL__ and
     4        -D__ARMEB__. Fix minor typo in comment.
     5
    162003-02-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r3f5a5920 rfec4504  
    279279
    280280#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES     FALSE
    281 #define CPU_BIG_ENDIAN                           FALSE
    282 #define CPU_LITTLE_ENDIAN                        TRUE
    283 
     281
     282#if defined(__ARMEL__)
     283#define CPU_BIG_ENDIAN          FALSE
     284#define CPU_LITTLE_ENDIAN       TRUE
     285#elif define(__ARMEB__)
     286#define CPU_BIG_ENDIAN          TRUE
     287#define CPU_LITTLE_ENDIAN       FALSE
     288#else
     289#error "Unknown endianness"
     290#endif
     291                       
    284292/*
    285293 *  The following defines the number of bits actually used in the
     
    775783   (_priority)
    776784
    777 #  error "Implement CLZ verson of priority bit functions for ARMv5"
     785#  error "Implement CLZ version of priority bit functions for ARMv5"
    778786#endif
    779787
Note: See TracChangeset for help on using the changeset viewer.