Changeset 7f6a24ab in rtems for c/src/exec/score/inline


Ignore:
Timestamp:
08/28/95 15:30:29 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5072b07
Parents:
5250ff39
Message:

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

Location:
c/src/exec/score/inline
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/inline/object.inl

    r5250ff39 r7f6a24ab  
    7373{
    7474  return (id >> OBJECTS_INDEX_START_BIT) & OBJECTS_INDEX_VALID_BITS;
     75}
     76
     77/*PAGE
     78 *
     79 *  _Objects_Is_class_valid
     80 *
     81 */
     82 
     83STATIC INLINE boolean _Objects_Is_class_valid(
     84  Objects_Classes the_class
     85)
     86{
     87  return the_class <= OBJECTS_CLASSES_LAST;
    7588}
    7689
  • c/src/exec/score/inline/priority.inl

    r5250ff39 r7f6a24ab  
    4242
    4343STATIC INLINE boolean _Priority_Is_valid (
    44   rtems_task_priority the_priority
     44  Priority_Control the_priority
    4545)
    4646{
     
    5656
    5757STATIC INLINE unsigned32 _Priority_Major (
    58   rtems_task_priority the_priority
     58  Priority_Control the_priority
    5959)
    6060{
     
    6969
    7070STATIC INLINE unsigned32 _Priority_Minor (
    71   rtems_task_priority the_priority
     71  Priority_Control the_priority
    7272)
    7373{
     
    110110 */
    111111
    112 STATIC INLINE rtems_task_priority _Priority_Get_highest( void )
     112STATIC INLINE Priority_Control _Priority_Get_highest( void )
    113113{
    114114  Priority_Bit_map_control minor;
     
    130130STATIC INLINE void _Priority_Initialize_information(
    131131  Priority_Information *the_priority_map,
    132   rtems_task_priority      new_priority
     132  Priority_Control      new_priority
    133133)
    134134{
     
    159159
    160160STATIC INLINE boolean _Priority_Is_group_empty (
    161   rtems_task_priority      the_priority
     161  Priority_Control      the_priority
    162162)
    163163{
  • c/src/exec/score/inline/rtems/score/object.inl

    r5250ff39 r7f6a24ab  
    7373{
    7474  return (id >> OBJECTS_INDEX_START_BIT) & OBJECTS_INDEX_VALID_BITS;
     75}
     76
     77/*PAGE
     78 *
     79 *  _Objects_Is_class_valid
     80 *
     81 */
     82 
     83STATIC INLINE boolean _Objects_Is_class_valid(
     84  Objects_Classes the_class
     85)
     86{
     87  return the_class <= OBJECTS_CLASSES_LAST;
    7588}
    7689
  • c/src/exec/score/inline/rtems/score/priority.inl

    r5250ff39 r7f6a24ab  
    4242
    4343STATIC INLINE boolean _Priority_Is_valid (
    44   rtems_task_priority the_priority
     44  Priority_Control the_priority
    4545)
    4646{
     
    5656
    5757STATIC INLINE unsigned32 _Priority_Major (
    58   rtems_task_priority the_priority
     58  Priority_Control the_priority
    5959)
    6060{
     
    6969
    7070STATIC INLINE unsigned32 _Priority_Minor (
    71   rtems_task_priority the_priority
     71  Priority_Control the_priority
    7272)
    7373{
     
    110110 */
    111111
    112 STATIC INLINE rtems_task_priority _Priority_Get_highest( void )
     112STATIC INLINE Priority_Control _Priority_Get_highest( void )
    113113{
    114114  Priority_Bit_map_control minor;
     
    130130STATIC INLINE void _Priority_Initialize_information(
    131131  Priority_Information *the_priority_map,
    132   rtems_task_priority      new_priority
     132  Priority_Control      new_priority
    133133)
    134134{
     
    159159
    160160STATIC INLINE boolean _Priority_Is_group_empty (
    161   rtems_task_priority      the_priority
     161  Priority_Control      the_priority
    162162)
    163163{
  • c/src/exec/score/inline/rtems/score/tqdata.inl

    r5250ff39 r7f6a24ab  
    2525
    2626STATIC INLINE unsigned32 _Thread_queue_Header_number (
    27   rtems_task_priority the_priority
     27  Priority_Control the_priority
    2828)
    2929{
     
    3838
    3939STATIC INLINE boolean _Thread_queue_Is_reverse_search (
    40   rtems_task_priority the_priority
     40  Priority_Control the_priority
    4141)
    4242{
  • c/src/exec/score/inline/rtems/score/userext.inl

    r5250ff39 r7f6a24ab  
    4242
    4343STATIC INLINE void _User_extensions_Add_set (
    44   User_extensions_Control       *the_extension,
    45   rtems_extensions_table *extension_table
     44  User_extensions_Control *the_extension,
     45  rtems_extensions_table  *extension_table
    4646)
    4747{
  • c/src/exec/score/inline/tqdata.inl

    r5250ff39 r7f6a24ab  
    2525
    2626STATIC INLINE unsigned32 _Thread_queue_Header_number (
    27   rtems_task_priority the_priority
     27  Priority_Control the_priority
    2828)
    2929{
     
    3838
    3939STATIC INLINE boolean _Thread_queue_Is_reverse_search (
    40   rtems_task_priority the_priority
     40  Priority_Control the_priority
    4141)
    4242{
  • c/src/exec/score/inline/userext.inl

    r5250ff39 r7f6a24ab  
    4242
    4343STATIC INLINE void _User_extensions_Add_set (
    44   User_extensions_Control       *the_extension,
    45   rtems_extensions_table *extension_table
     44  User_extensions_Control *the_extension,
     45  rtems_extensions_table  *extension_table
    4646)
    4747{
Note: See TracChangeset for help on using the changeset viewer.