Changeset 86c847c1 in rtems


Ignore:
Timestamp:
Sep 24, 2011, 12:45:55 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
c5ed148
Parents:
f40139b
Message:

2011-09-24 Sebastian Huber <sebastian.huber@…>

PR 1921/cpukit

  • score/inline/rtems/score/thread.inl, score/src/threadstartmultitasking.c: Allow CPU port to provide optional multitasking start and stop.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rf40139b r86c847c1  
     12011-09-24      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        PR 1921/cpukit
     4        * score/inline/rtems/score/thread.inl,
     5        score/src/threadstartmultitasking.c: Allow CPU port to provide
     6        optional multitasking start and stop.
     7
    182011-09-20      Petr Benes <benesp16@fel.cvut.cz>
    29
  • cpukit/score/inline/rtems/score/thread.inl

    rf40139b r86c847c1  
    112112RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void )
    113113{
     114#if defined(_CPU_Stop_multitasking)
     115  _CPU_Stop_multitasking( &_Thread_BSP_context );
     116#else
    114117  /*
    115118   *  This may look a bit of an odd but _Context_Restart_self is just
     
    121124   */
    122125  _Context_Restart_self( &_Thread_BSP_context );
     126#endif
    123127
    124128  /***************************************************************
  • cpukit/score/src/threadstartmultitasking.c

    rf40139b r86c847c1  
    8787#endif
    8888
     89#if defined(_CPU_Start_multitasking)
     90  _CPU_Start_multitasking( &_Thread_BSP_context, &_Thread_Heir->Registers );
     91#else
    8992  _Context_Switch( &_Thread_BSP_context, &_Thread_Heir->Registers );
     93#endif
    9094}
Note: See TracChangeset for help on using the changeset viewer.