Changeset 1a8fde6c in rtems for cpukit/sapi/inline


Ignore:
Timestamp:
Mar 6, 1996, 9:34:57 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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/sapi/inline/rtems/extension.inl

    r8e76546 r1a8fde6c  
    2222 *  _Extension_Allocate
    2323 *
     24 *  DESCRIPTION:
     25 *
     26 *  This function allocates a extension control block from
     27 *  the inactive chain of free extension control blocks.
    2428 */
    2529
     
    3337 *  _Extension_Free
    3438 *
     39 *  DESCRIPTION:
     40 *
     41 *  This routine frees a extension control block to the
     42 *  inactive chain of free extension control blocks.
    3543 */
    3644
     
    4654 *  _Extension_Get
    4755 *
     56 *  DESCRIPTION:
     57 *
     58 *  This function maps extension IDs to extension control blocks.
     59 *  If ID corresponds to a local extension, then it returns
     60 *  the extension control pointer which maps to ID and location
     61 *  is set to OBJECTS_LOCAL.  Otherwise, location is set
     62 *  to OBJECTS_ERROR and the returned value is undefined.
    4863 */
    4964
     
    6176 *  _Extension_Is_null
    6277 *
     78 *  DESCRIPTION:
     79 *
     80 *  This function returns TRUE if the_extension is NULL and FALSE otherwise.
    6381 */
    6482
Note: See TracChangeset for help on using the changeset viewer.