Changeset f570b071 in rtems


Ignore:
Timestamp:
Apr 1, 2014, 8:20:01 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
494c2e3
Parents:
3f5f2ce
git-author:
Sebastian Huber <sebastian.huber@…> (04/01/14 08:20:01)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/03/14 09:13:26)
Message:

score: Rename Priority_bit_map_Control

Rename Priority_bit_map_Control in Priority_bit_map_Word.

Location:
cpukit/score
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/rtems/score/types.h

    r3f5f2ce rf570b071  
    3838 */
    3939
    40 typedef uint16_t         Priority_bit_map_Control;
     40typedef uint16_t         Priority_bit_map_Word;
    4141
    4242/** @} */
  • cpukit/score/cpu/avr/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    825825/*
    826826 *  This routine sets _output to the bit number of the first bit
    827  *  set in _value.  _value is of CPU dependent type Priority_bit_map_Control.
     827 *  set in _value.  _value is of CPU dependent type Priority_bit_map_Word.
    828828 *  This type may be either 16 or 32 bits wide although only the 16
    829829 *  least significant bits will be used.
  • cpukit/score/cpu/avr/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t     Priority_bit_map_Control;
     34typedef uint16_t     Priority_bit_map_Word;
    3535typedef void avr_isr;
    3636typedef void ( *avr_isr_entry )( void );
  • cpukit/score/cpu/bfin/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    954954 * This routine sets @a _output to the bit number of the first bit
    955955 * set in @a _value.  @a _value is of CPU dependent type
    956  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     956 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    957957 * wide although only the 16 least significant bits will be used.
    958958 *
  • cpukit/score/cpu/bfin/rtems/score/types.h

    r3f5f2ce rf570b071  
    3333
    3434/** This defines the type for a priority bit map entry. */
    35 typedef uint16_t Priority_bit_map_Control;
     35typedef uint16_t Priority_bit_map_Word;
    3636
    3737/** This defines the return type for an ISR entry point. */
  • cpukit/score/cpu/h8300/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    859859/*
    860860 *  This routine sets _output to the bit number of the first bit
    861  *  set in _value.  _value is of CPU dependent type Priority_bit_map_Control.
     861 *  set in _value.  _value is of CPU dependent type Priority_bit_map_Word.
    862862 *  This type may be either 16 or 32 bits wide although only the 16
    863863 *  least significant bits will be used.
  • cpukit/score/cpu/h8300/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t     Priority_bit_map_Control;
     34typedef uint16_t     Priority_bit_map_Word;
    3535typedef void h8300_isr;
    3636typedef void ( *h8300_isr_entry )( void );
  • cpukit/score/cpu/i386/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t Priority_bit_map_Control;
     34typedef uint16_t Priority_bit_map_Word;
    3535typedef void i386_isr;
    3636typedef i386_isr ( *i386_isr_entry )( void );
  • cpukit/score/cpu/lm32/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    951951 * This routine sets @a _output to the bit number of the first bit
    952952 * set in @a _value.  @a _value is of CPU dependent type
    953  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     953 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    954954 * wide although only the 16 least significant bits will be used.
    955955 *
  • cpukit/score/cpu/lm32/rtems/score/types.h

    r3f5f2ce rf570b071  
    3636
    3737/** This defines the type for a priority bit map entry. */
    38 typedef uint16_t Priority_bit_map_Control;
     38typedef uint16_t Priority_bit_map_Word;
    3939
    4040#ifdef __cplusplus
  • cpukit/score/cpu/m32c/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    942942 * This routine sets @a _output to the bit number of the first bit
    943943 * set in @a _value.  @a _value is of CPU dependent type
    944  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     944 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    945945 * wide although only the 16 least significant bits will be used.
    946946 *
  • cpukit/score/cpu/m32c/rtems/score/types.h

    r3f5f2ce rf570b071  
    3333
    3434/** This defines the type for a priority bit map entry. */
    35 typedef uint16_t Priority_bit_map_Control;
     35typedef uint16_t Priority_bit_map_Word;
    3636
    3737/** This defines the return type for an ISR entry point. */
  • cpukit/score/cpu/m32r/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    960960 * This routine sets @a _output to the bit number of the first bit
    961961 * set in @a _value.  @a _value is of CPU dependent type
    962  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     962 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    963963 * wide although only the 16 least significant bits will be used.
    964964 *
  • cpukit/score/cpu/m32r/rtems/score/types.h

    r3f5f2ce rf570b071  
    3333
    3434/** This defines the type for a priority bit map entry. */
    35 typedef uint16_t Priority_bit_map_Control;
     35typedef uint16_t Priority_bit_map_Word;
    3636
    3737/** This defines the return type for an ISR entry point. */
  • cpukit/score/cpu/m68k/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t     Priority_bit_map_Control;
     34typedef uint16_t     Priority_bit_map_Word;
    3535
    3636#ifdef __cplusplus
  • cpukit/score/cpu/mips/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    938938/*
    939939 *  This routine sets _output to the bit number of the first bit
    940  *  set in _value.  _value is of CPU dependent type Priority_bit_map_Control.
     940 *  set in _value.  _value is of CPU dependent type Priority_bit_map_Word.
    941941 *  This type may be either 16 or 32 bits wide although only the 16
    942942 *  least significant bits will be used.
  • cpukit/score/cpu/mips/rtems/score/types.h

    r3f5f2ce rf570b071  
    4141 */
    4242
    43 typedef uint16_t     Priority_bit_map_Control;
     43typedef uint16_t     Priority_bit_map_Word;
    4444typedef void mips_isr;
    4545typedef void ( *mips_isr_entry )( void );
  • cpukit/score/cpu/moxie/rtems/score/types.h

    r3f5f2ce rf570b071  
    3535 *  This section defines the basic types for this processor.
    3636 */
    37 typedef uint16_t     Priority_bit_map_Control;
     37typedef uint16_t     Priority_bit_map_Word;
    3838typedef void moxie_isr;
    3939typedef void ( *moxie_isr_entry )( void );
  • cpukit/score/cpu/nios2/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t Priority_bit_map_Control;
     34typedef uint16_t Priority_bit_map_Word;
    3535typedef void nios2_isr;
    3636typedef void ( *nios2_isr_entry )( void );
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    10601060 * This routine sets @a _output to the bit number of the first bit
    10611061 * set in @a _value.  @a _value is of CPU dependent type
    1062  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     1062 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    10631063 * wide although only the 16 least significant bits will be used.
    10641064 *
  • cpukit/score/cpu/no_cpu/rtems/score/types.h

    r3f5f2ce rf570b071  
    3333
    3434/** This defines the type for a priority bit map entry. */
    35 typedef uint16_t Priority_bit_map_Control;
     35typedef uint16_t Priority_bit_map_Word;
    3636
    3737#ifdef __cplusplus
  • cpukit/score/cpu/powerpc/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    879879/*
    880880 *  This routine sets _output to the bit number of the first bit
    881  *  set in _value.  _value is of CPU dependent type Priority_bit_map_Control.
     881 *  set in _value.  _value is of CPU dependent type Priority_bit_map_Word.
    882882 *  This type may be either 16 or 32 bits wide although only the 16
    883883 *  least significant bits will be used.
  • cpukit/score/cpu/powerpc/rtems/score/types.h

    r3f5f2ce rf570b071  
    4848 *  This section defines the basic types for this processor.
    4949 */
    50 typedef uint32_t     Priority_bit_map_Control;
     50typedef uint32_t     Priority_bit_map_Word;
    5151typedef void ppc_isr;
    5252
  • cpukit/score/cpu/sh/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    692692/*
    693693 *  This routine sets _output to the bit number of the first bit
    694  *  set in _value.  _value is of CPU dependent type Priority_bit_map_Control.
     694 *  set in _value.  _value is of CPU dependent type Priority_bit_map_Word.
    695695 *  This type may be either 16 or 32 bits wide although only the 16
    696696 *  least significant bits will be used.
  • cpukit/score/cpu/sh/rtems/score/types.h

    r3f5f2ce rf570b071  
    4242 */
    4343
    44 typedef uint16_t     Priority_bit_map_Control;
     44typedef uint16_t     Priority_bit_map_Word;
    4545
    4646typedef void sh_isr;
  • cpukit/score/cpu/sparc/rtems/score/types.h

    r3f5f2ce rf570b071  
    3535 * just using a uint16_t.
    3636 */
    37 typedef uint16_t Priority_bit_map_Control;
     37typedef uint16_t Priority_bit_map_Word;
    3838
    3939/**
  • cpukit/score/cpu/sparc64/rtems/score/types.h

    r3f5f2ce rf570b071  
    3232 */
    3333
    34 typedef uint16_t         Priority_bit_map_Control;
     34typedef uint16_t         Priority_bit_map_Word;
    3535typedef void sparc_isr;
    3636typedef void ( *sparc_isr_entry )( void );
  • cpukit/score/cpu/v850/rtems/score/cpu.h

    r3f5f2ce rf570b071  
    936936 * This routine sets @a _output to the bit number of the first bit
    937937 * set in @a _value.  @a _value is of CPU dependent type
    938  * @a Priority_bit_map_Control.  This type may be either 16 or 32 bits
     938 * @a Priority_bit_map_Word.  This type may be either 16 or 32 bits
    939939 * wide although only the 16 least significant bits will be used.
    940940 *
  • cpukit/score/cpu/v850/rtems/score/types.h

    r3f5f2ce rf570b071  
    3333
    3434/** This defines the type for a priority bit map entry. */
    35 typedef uint16_t Priority_bit_map_Control;
     35typedef uint16_t Priority_bit_map_Word;
    3636
    3737#ifdef __cplusplus
  • cpukit/score/include/rtems/score/prioritybitmap.h

    r3f5f2ce rf570b071  
    3434
    3535/*
    36  *  The definition of the Priority_bit_map_Control type is CPU dependent.
     36 *  The definition of the Priority_bit_map_Word type is CPU dependent.
    3737 *
    3838 */
     
    4444typedef struct {
    4545  /** This is the address of minor bit map slot. */
    46   Priority_bit_map_Control *minor;
     46  Priority_bit_map_Word *minor;
    4747  /** This is the priority bit map ready mask. */
    48   Priority_bit_map_Control  ready_major;
     48  Priority_bit_map_Word  ready_major;
    4949  /** This is the priority bit map ready mask. */
    50   Priority_bit_map_Control  ready_minor;
     50  Priority_bit_map_Word  ready_minor;
    5151  /** This is the priority bit map block mask. */
    52   Priority_bit_map_Control  block_major;
     52  Priority_bit_map_Word  block_major;
    5353  /** This is the priority bit map block mask. */
    54   Priority_bit_map_Control  block_minor;
     54  Priority_bit_map_Word  block_minor;
    5555} Priority_bit_map_Information;
    5656
  • cpukit/score/include/rtems/score/prioritybitmapimpl.h

    r3f5f2ce rf570b071  
    3333
    3434/*
    35  * The Priority_bit_map_Control variables are instantiated only
     35 * The Priority_bit_map_Word variables are instantiated only
    3636 * if using the bit map handler.
    3737 */
     
    4141 *  the sixteen entries in the Priority Bit map.
    4242 */
    43 extern volatile Priority_bit_map_Control _Priority_Major_bit_map;
     43extern volatile Priority_bit_map_Word _Priority_Major_bit_map;
    4444
    4545/** Each bit in the Priority Bitmap indicates whether or not there are
     
    4949 *  threads are ready at that priority.
    5050 */
    51 extern Priority_bit_map_Control
     51extern Priority_bit_map_Word
    5252               _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
    5353
     
    9292    \
    9393    if ( __value < 0x100 ) \
    94       (_bit_number) = (Priority_bit_map_Control)( __p[ __value ] + 8 );  \
     94      (_bit_number) = (Priority_bit_map_Word)( __p[ __value ] + 8 );  \
    9595    else \
    96       (_bit_number) = (Priority_bit_map_Control)( __p[ __value >> 8 ] ); \
     96      (_bit_number) = (Priority_bit_map_Word)( __p[ __value >> 8 ] ); \
    9797  }
    9898#endif
     
    131131 */
    132132
    133 RTEMS_INLINE_ROUTINE Priority_bit_map_Control   _Priority_Major (
     133RTEMS_INLINE_ROUTINE Priority_bit_map_Word   _Priority_Major (
    134134  Priority_Control the_priority
    135135)
    136136{
    137   return (Priority_bit_map_Control)( the_priority / 16 );
     137  return (Priority_bit_map_Word)( the_priority / 16 );
    138138}
    139139
     
    142142 */
    143143
    144 RTEMS_INLINE_ROUTINE Priority_bit_map_Control   _Priority_Minor (
     144RTEMS_INLINE_ROUTINE Priority_bit_map_Word   _Priority_Minor (
    145145  Priority_Control the_priority
    146146)
    147147{
    148   return (Priority_bit_map_Control)( the_priority % 16 );
     148  return (Priority_bit_map_Word)( the_priority % 16 );
    149149}
    150150
     
    156156 */
    157157
    158 RTEMS_INLINE_ROUTINE Priority_bit_map_Control   _Priority_Mask (
     158RTEMS_INLINE_ROUTINE Priority_bit_map_Word   _Priority_Mask (
    159159  uint32_t   bit_number
    160160)
    161161{
    162   return (Priority_bit_map_Control)(0x8000u >> bit_number);
     162  return (Priority_bit_map_Word)(0x8000u >> bit_number);
    163163}
    164164
     
    167167 */
    168168
    169 RTEMS_INLINE_ROUTINE Priority_bit_map_Control   _Priority_Mask_invert (
     169RTEMS_INLINE_ROUTINE Priority_bit_map_Word   _Priority_Mask_invert (
    170170  uint32_t   mask
    171171)
    172172{
    173   return (Priority_bit_map_Control)(~mask);
     173  return (Priority_bit_map_Word)(~mask);
    174174}
    175175
     
    196196 *  This is the minor bit map.
    197197 */
    198 extern Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
     198extern Priority_bit_map_Word _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
    199199
    200200/**
     
    233233RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
    234234{
    235   Priority_bit_map_Control minor;
    236   Priority_bit_map_Control major;
     235  Priority_bit_map_Word minor;
     236  Priority_bit_map_Word major;
    237237
    238238  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );
     
    259259)
    260260{
    261   Priority_bit_map_Control major;
    262   Priority_bit_map_Control minor;
    263   Priority_bit_map_Control mask;
     261  Priority_bit_map_Word major;
     262  Priority_bit_map_Word minor;
     263  Priority_bit_map_Word mask;
    264264
    265265  major = _Priority_Major( new_priority );
     
    272272  the_priority_map->ready_major = mask;
    273273  /* Add _Priority_Mask_invert to non-generic bitfield then change this code. */
    274   the_priority_map->block_major = (Priority_bit_map_Control)(~((uint32_t)mask));
     274  the_priority_map->block_major = (Priority_bit_map_Word)(~((uint32_t)mask));
    275275
    276276  mask = _Priority_Mask( minor );
    277277  the_priority_map->ready_minor = mask;
    278278  /* Add _Priority_Mask_invert to non-generic bitfield then change this code. */
    279   the_priority_map->block_minor = (Priority_bit_map_Control)(~((uint32_t)mask));
     279  the_priority_map->block_minor = (Priority_bit_map_Word)(~((uint32_t)mask));
    280280}
    281281
  • cpukit/score/src/prioritybitmap.c

    r3f5f2ce rf570b071  
    2222#include <rtems/score/prioritybitmapimpl.h>
    2323
    24 Priority_bit_map_Control          _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
     24Priority_bit_map_Word          _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
    2525
    2626/* Instantiate any global variables needed by the priority scheduler */
    27 volatile Priority_bit_map_Control _Priority_Major_bit_map;
     27volatile Priority_bit_map_Word _Priority_Major_bit_map;
Note: See TracChangeset for help on using the changeset viewer.