Changeset 1a8fde6c in rtems for cpukit/score/macros


Ignore:
Timestamp:
Mar 6, 1996, 9:34:57 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e642446
Parents:
8e76546
Message:

Removed prototyes for static inline routines and moved the comments into
the inline implementation. The impetus for this was twofold. First,
it is incorrect to have static inline prototypes when using the macro
implementation. Second, this reduced the number of lines in the include
files seen by rtems.h by about 2000 lines.

Next we restricted visibility for the inline routines to inside the
executive itself EXCEPT for a handful of objects. This reduced the
number of include files included by rtems.h by 40 files and reduced
the lines in the include files seen by rtems.h by about 6000 lines.

In total, these reduced the compile time of the entire RTEMS tree by 20%.
This results in about 8 minutes savings on the SparcStation? 10 morgana.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/macros/rtems/score/tqdata.inl

    r8e76546 r1a8fde6c  
    2525
    2626#define _Thread_queue_Header_number( _the_priority ) \
    27      ( (_the_priority) >> 6 )
     27    ((_the_priority) / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER)
    2828
    2929/*PAGE
     
    3434
    3535#define _Thread_queue_Is_reverse_search( _the_priority ) \
    36      ( (_the_priority) & 0x20 )
     36     ( (_the_priority) & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK )
    3737
    3838/*PAGE
Note: See TracChangeset for help on using the changeset viewer.