Changeset 1ada616 in rtems


Ignore:
Timestamp:
Jun 18, 2010, 2:56:26 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
7429965
Parents:
099cdd5
Message:

Remove RTEMS_ITRON_API conditional blocks.

Location:
cpukit/score
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/coresem.h

    r099cdd5 r1ada616  
    3939#endif
    4040
    41 #if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API)
     41#if defined(RTEMS_POSIX_API)
    4242  #define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY
    4343#endif
  • cpukit/score/include/rtems/score/thread.h

    r099cdd5 r1ada616  
    2828/**@{*/
    2929
    30 #if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API)
     30#if defined(RTEMS_POSIX_API)
    3131  #define RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE
    3232#endif
  • cpukit/score/src/apiext.c

    r099cdd5 r1ada616  
    111111     *  provide this hook.
    112112     */
    113 #if defined(RTEMS_ITRON_API)
    114     if ( the_extension->postswitch_hook )
    115 #endif
    116113      (*the_extension->postswitch_hook)( _Thread_Executing );
    117114  }
  • cpukit/score/src/threadinitialize.c

    r099cdd5 r1ada616  
    191191  the_thread->Wait.queue              = NULL;
    192192  the_thread->resource_count          = 0;
    193   #if defined(RTEMS_ITRON_API)
    194     the_thread->suspend_count         = 0;
    195   #endif
    196193  the_thread->real_priority           = priority;
    197194  the_thread->Start.initial_priority  = priority;
  • cpukit/score/src/threadreset.c

    r099cdd5 r1ada616  
    4848{
    4949  the_thread->resource_count   = 0;
    50   #if defined(RTEMS_ITRON_API)
    51     the_thread->suspend_count  = 0;
    52   #endif
    5350  the_thread->is_preemptible   = the_thread->Start.is_preemptible;
    5451  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;
  • cpukit/score/src/threadresume.c

    r099cdd5 r1ada616  
    6363  _ISR_Disable( level );
    6464
    65   #if defined(RTEMS_ITRON_API)
    66     if ( force == true )
    67       the_thread->suspend_count = 0;
    68     else
    69       the_thread->suspend_count--;
    70 
    71     if ( the_thread->suspend_count > 0 ) {
    72       _ISR_Enable( level );
    73       return;
    74     }
    75   #endif
    76 
    7765  current_state = the_thread->current_state;
    7866  if ( current_state & STATES_SUSPENDED ) {
  • cpukit/score/src/threadsuspend.c

    r099cdd5 r1ada616  
    5757  ready = the_thread->ready;
    5858  _ISR_Disable( level );
    59   #if defined(RTEMS_ITRON_API)
    60     the_thread->suspend_count++;
    61   #endif
    6259  if ( !_States_Is_ready( the_thread->current_state ) ) {
    6360    the_thread->current_state =
Note: See TracChangeset for help on using the changeset viewer.