Changeset d9bd5cd6 in rtems


Ignore:
Timestamp:
May 22, 2013, 7:54:34 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
cab410f
Parents:
18e1e5b
git-author:
Sebastian Huber <sebastian.huber@…> (05/22/13 07:54:34)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/27/13 10:49:13)
Message:

arm: Add CPU specific idle thread for ARMv7

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

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/Makefile.am

    r18e1e5b rd9bd5cd6  
    2626libscorecpu_a_SOURCES += arm-exception-default.c
    2727libscorecpu_a_SOURCES += armv4-exception-default.S
     28libscorecpu_a_SOURCES += armv7-thread-idle.c
    2829libscorecpu_a_SOURCES += armv7m-context-initialize.c
    2930libscorecpu_a_SOURCES += armv7m-context-restore.c
     
    4243libscorecpu_a_SOURCES += armv7m-isr-vector-install.c
    4344libscorecpu_a_SOURCES += armv7m-multitasking-start-stop.c
    44 libscorecpu_a_SOURCES += armv7m-thread-idle.c
    4545
    4646include $(srcdir)/preinstall.am
  • cpukit/score/cpu/arm/armv7-thread-idle.c

    r18e1e5b rd9bd5cd6  
    2525#include <rtems/score/cpu.h>
    2626
    27 #ifdef ARM_MULTILIB_ARCH_V7M
     27#ifdef ARM_MULTILIB_HAS_WFI
    2828
    2929void *_CPU_Thread_Idle_body( uintptr_t ignored )
     
    3434}
    3535
    36 #endif /* ARM_MULTILIB_ARCH_V7M */
     36#endif /* ARM_MULTILIB_HAS_WFI */
  • cpukit/score/cpu/arm/rtems/score/arm.h

    r18e1e5b rd9bd5cd6  
    3838#endif
    3939
     40#if defined(__ARM_ARCH_7A__) \
     41  || defined(__ARM_ARCH_7R__) \
     42  || defined(__ARM_ARCH_7M__)
     43  #define ARM_MULTILIB_HAS_WFI
     44#endif
     45
    4046#if defined(__ARM_NEON__)
    4147  #define ARM_MULTILIB_VFP_D32
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r18e1e5b rd9bd5cd6  
    139139#define CPU_USE_DEFERRED_FP_SWITCH FALSE
    140140
    141 #if defined(ARM_MULTILIB_ARCH_V7M)
     141#if defined(ARM_MULTILIB_HAS_WFI)
    142142  #define CPU_PROVIDES_IDLE_THREAD_BODY TRUE
    143143#else
Note: See TracChangeset for help on using the changeset viewer.