diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-29 17:52:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-29 17:52:10 +0000 |
commit | a55e305ed3406b935a24ceb9becdff58a1a87948 (patch) | |
tree | b4745978fb84fecc82b1b3d0d0cb7aa0eec8d4a7 /cpukit/score/include/rtems/score/bitfield.h | |
parent | 2010-07-29 Gedare Bloom <giddyup44@yahoo.com> (diff) | |
download | rtems-a55e305ed3406b935a24ceb9becdff58a1a87948.tar.bz2 |
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
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.
Diffstat (limited to 'cpukit/score/include/rtems/score/bitfield.h')
-rw-r--r-- | cpukit/score/include/rtems/score/bitfield.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/bitfield.h b/cpukit/score/include/rtems/score/bitfield.h index c0fa9b6b56..43f8fd09c4 100644 --- a/cpukit/score/include/rtems/score/bitfield.h +++ b/cpukit/score/include/rtems/score/bitfield.h @@ -90,9 +90,9 @@ const unsigned char __log2table[256] = { register const unsigned char *__p = __log2table; \ \ if ( __value < 0x100 ) \ - (_bit_number) = (Priority_Bit_map_control)( __p[ __value ] + 8 ); \ + (_bit_number) = (Priority_bit_map_Control)( __p[ __value ] + 8 ); \ else \ - (_bit_number) = (Priority_Bit_map_control)( __p[ __value >> 8 ] ); \ + (_bit_number) = (Priority_bit_map_Control)( __p[ __value >> 8 ] ); \ } #endif |