summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/prioritybitmapimpl.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Silence integer conversion warningsSebastian Huber2016-06-241-1/+2
|
* score: Use builtin for _Bitfield_Find_first_bit()Sebastian Huber2016-06-081-0/+2
| | | | | | In case the CPU architecture provides no specialized _CPU_Bitfield_Find_first_bit() macro, then use the __builtin_clz() builtin in case __GNUC__ is defined.
* score: Inline _Bitfield_Find_first_bit()Sebastian Huber2016-06-081-32/+23
| | | | Turn _Bitfield_Find_first_bit() macro into an inline function.
* score: Define _Priority_Bits_index() onceSebastian Huber2016-06-081-25/+13
|
* score: Define _Priority_Mask() onceSebastian Huber2016-06-081-21/+13
|
* score: Simplify priority bit map implementationSebastian Huber2016-06-081-36/+18
| | | | | | | | | | The priority bit map can deal with a maximum of 256 priority values ranging from 0 to 255. Consistently use an unsigned int for computation, due to the usual integer promotion rules. Make Priority_bit_map_Word definition architecture-independent and define it to uint16_t. This was already the case for all architectures except PowerPC. Adjust the PowerPC bitmap support accordingly.
* score: Delete CPU_USE_GENERIC_BITFIELD_DATASebastian Huber2016-06-081-6/+2
| | | | | | Rename __log2table into _Bitfield_Leading_zeros since it acually returns the count of leading zeros of an 8-bit integer. The value for zero is a bit odd. Provide it unconditionally.
* score: Move priority bit map to scheduler instanceSebastian Huber2014-04-031-67/+41
| | | | | | Delete global variables _Priority_Major_bit_map and _Priority_Bit_map. This makes it possible to use multiple priority scheduler instances for example with clustered/partitioned scheduling on SMP.
* score: Rename Priority_bit_map_ControlSebastian Huber2014-04-031-21/+21
| | | | Rename Priority_bit_map_Control in Priority_bit_map_Word.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add _Priority_bit_map_Is_empty()Sebastian Huber2013-08-201-0/+5
|
* score: _Priority_bit_map_Handler_initialization()Sebastian Huber2013-08-201-34/+1
| | | | | | | Delete _Priority_bit_map_Handler_initialization() and rely on BSS initialization. Move definition of _Priority_Major_bit_map and _Priority_Bit_map to separate file. Move definition of __log2table also to this file.
* score: Create prioritybitmap implementation headerSebastian Huber2013-07-261-0/+317
Move implementation specific parts of prioritybitmap.h and prioritybitmap.inl into new header file prioritybitmapimpl.h. The prioritybitmap.h contains now only the application visible API. Move content of bitfield.h into prioritybitmapimpl.h.