Ignore:
Timestamp:
Jul 29, 2010, 5:52:10 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
23bbc43
Parents:
a44edd15
Message:

2010-07-29 Gedare Bloom <giddyup44@…>

PR 1635/cpukit

  • sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management.
  • score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadsetpriority.c

    ra44edd15 ra55e305  
    5353  the_thread->ready            = &_Thread_Ready_chain[ new_priority ];
    5454
    55   _Priority_Initialize_information( &the_thread->Priority_map, new_priority );
     55  _Priority_bit_map_Initialize_information(
     56      &the_thread->Priority_map,
     57      new_priority
     58  );
    5659}
Note: See TracChangeset for help on using the changeset viewer.