Changeset 5372f16 in rtems


Ignore:
Timestamp:
Mar 4, 2003, 6:55:35 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
89b51f4
Parents:
68d4f9e
Message:

Merger from rtems-4-6-branch.

Location:
cpukit/score/cpu/arm
Files:
3 edited

Legend:

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

    r68d4f9e r5372f16  
     12003-03-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * rtems/score/arm.h: Remove ARM_HAS_THUMB (Unused).
     4
     52003-03-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     6
     7        * rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -D__ARMEL__ and
     8        -D__ARMEB__. Fix minor typo in comment.
     9
    1102003-02-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • cpukit/score/cpu/arm/rtems/score/arm.h

    r68d4f9e r5372f16  
    3333#  define CPU_MODEL_NAME  "ARMv4"
    3434#  define ARM_HAS_CLZ     0
    35 #  define ARM_HAS_THUMB   0
    3635
    3736#elif defined(__ARM_ARCH_4T__)
    3837#  define CPU_MODEL_NAME  "ARMv4T"
    3938#  define ARM_HAS_CLZ     0
    40 #  define ARM_HAS_THUMB   1
    4139
    4240#elif defined(__ARM_ARCH_5__)
    4341#  define CPU_MODEL_NAME  "ARMv5"
    4442#  define ARM_HAS_CLZ     1
    45 #  define ARM_HAS_THUMB   0
    4643
    4744#elif defined(__ARM_ARCH_5T__)
    4845#  define CPU_MODEL_NAME  "ARMv5T"
    4946#  define ARM_HAS_CLZ     1
    50 #  define ARM_HAS_THUMB   1
    5147
    5248#elif defined(__ARM_ARCH_5E__)
    5349#  define CPU_MODEL_NAME  "ARMv5E"
    5450#  define ARM_HAS_CLZ     1
    55 #  define ARM_HAS_THUMB   0
    5651
    5752#elif defined(__ARM_ARCH_5TE__)
    5853#  define CPU_MODEL_NAME  "ARMv5TE"
    5954#  define ARM_HAS_CLZ     1
    60 #  define ARM_HAS_THUMB   1
    6155
    6256#else
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r68d4f9e r5372f16  
    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.