RTEMS CPU Kit with SuperCore  4.11.2
Macros | Functions | Variables
prioritybitmapimpl.h File Reference

Inlined Routines in the Priority Handler Bit Map Implementation. More...

#include <rtems/score/prioritybitmap.h>
#include <rtems/score/priority.h>
#include <string.h>
Include dependency graph for prioritybitmapimpl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _Bitfield_Find_first_bit(_value, _bit_number)   _CPU_Bitfield_Find_first_bit( _value, _bit_number )
 Gets the _bit_number of the first bit set in the specified value. More...
 
#define _Priority_Mask(_bit_number)   _CPU_Priority_Mask( _bit_number )
 This method returns the priority bit mask for the specified major or minor bit number. More...
 
#define _Priority_Bits_index(_priority)   _CPU_Priority_bits_index( _priority )
 This method returns the bit index position for the specified priority. More...
 

Functions

RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Major (Priority_Control the_priority)
 This function returns the major portion of the_priority.
 
RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Minor (Priority_Control the_priority)
 This function returns the minor portion of the_priority.
 
RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Mask (uint32_t bit_number)
 This function returns the mask associated with the major or minor number passed to it.
 
RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Mask_invert (uint32_t mask)
 This function returns the mask bit inverted.
 
RTEMS_INLINE_ROUTINE uint32_t _Priority_Bits_index (uint32_t bit_number)
 This function translates the bit numbers returned by the bit scan of a priority bit field into something suitable for use as a major or minor component of a priority.
 
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Initialize (Priority_bit_map_Control *bit_map)
 
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (Priority_bit_map_Control *bit_map, Priority_bit_map_Information *bit_map_info)
 Priority Queue implemented by bit map.
 
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (Priority_bit_map_Control *bit_map, Priority_bit_map_Information *bit_map_info)
 
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest (const Priority_bit_map_Control *bit_map)
 
RTEMS_INLINE_ROUTINE bool _Priority_bit_map_Is_empty (const Priority_bit_map_Control *bit_map)
 
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Initialize_information (Priority_bit_map_Control *bit_map, Priority_bit_map_Information *bit_map_info, Priority_Control new_priority)
 

Variables

const unsigned char __log2table [256]
 This table is used by the generic bitfield routines to perform a highly optimized bit scan without the use of special CPU instructions.
 

Detailed Description

Inlined Routines in the Priority Handler Bit Map Implementation.

This file contains the static inline implementation of all inlined routines in the Priority Handler bit map implementation