Changeset f4539aa in rtems


Ignore:
Timestamp:
Nov 18, 2012, 6:47:40 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
c1e350c
Parents:
7e32b62
git-author:
Sebastian Huber <sebastian.huber@…> (11/18/12 18:47:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/21/12 15:38:34)
Message:

arm: Add _CPU_Thread_Idle_body for ARMv7-M

Location:
cpukit/score/cpu/arm
Files:
1 added
2 edited

Legend:

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

    r7e32b62 rf4539aa  
    3434libscorecpu_a_SOURCES += armv7m-isr-vector-install.c
    3535libscorecpu_a_SOURCES += armv7m-multitasking-start-stop.c
     36libscorecpu_a_SOURCES += armv7m-thread-idle.c
    3637
    3738include $(srcdir)/preinstall.am
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r7e32b62 rf4539aa  
    148148#define CPU_USE_DEFERRED_FP_SWITCH FALSE
    149149
    150 #define CPU_PROVIDES_IDLE_THREAD_BODY FALSE
     150#if defined(ARM_MULTILIB_ARCH_V7M)
     151  #define CPU_PROVIDES_IDLE_THREAD_BODY TRUE
     152#else
     153  #define CPU_PROVIDES_IDLE_THREAD_BODY FALSE
     154#endif
    151155
    152156#define CPU_STACK_GROWS_UP FALSE
     
    462466}
    463467
     468#if CPU_PROVIDES_IDLE_THREAD_BODY == TRUE
     469  void *_CPU_Thread_Idle_body( uintptr_t ignored );
     470#endif
     471
    464472/** @} */
    465473
Note: See TracChangeset for help on using the changeset viewer.