Changes between Version 48 and Version 49 of Developer/Projects/SequencedInitialization


Ignore:
Timestamp:
Jun 15, 2010, 4:19:05 PM (9 years ago)
Author:
Wenjie1984
Comment:

/* Components Of Rtems Sequenced Initialization API */

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Projects/SequencedInitialization

    v48 v49  
    182182# The rule of sort order
    183183
    184 # The definition of rtems sysinit_core struct and its reference
    185 
    186 # The method of referencing the sysinit_core struct
     184# The definition of rtems Sysinit_Entry struct and its reference
     185
     186# The method of referencing the Sysinit_Entry struct
    187187
    188188; Rule of sort order
     
    217217 #define SYSINIT_INDEX_ELEVENTH  0010   /* eleventh*/
    218218 #define SYSINIT_INDEX_TWELFTH   0011   /* twelfth */
    219  /**
    220   * @brief the defination of combination of domains
    221   */
    222  #define SYSINIT_MAKE_ORDER(a, b, c) #a#b#c
    223219
    224220; The definition of rtems sysinit_core struct and its reference:
    225221
    226 The field of struct sysinit_core will be extended in the futurn, now there is only one field filling in the struct. the field handler is the entry function of rtems sequenced initialization or termination.
     222The field of struct Sysinit_Entry will be extended in the futurn, now there is only one field filling in the struct. the field handler is the entry function of rtems sequenced initialization or termination.
    227223
    228224 /**
     
    270266   = &SYSINIT_ENTRY_NAME(handler)
    271267
    272 ; The method of referencing the sysinit_core struct
     268; The method of referencing the Sysinit_Entry struct
    273269
    274270The implement of referencing the sequenced initialization struct. In the every C source code file include initialization function we define a sequenced initialization struct which contain the init function entry. And then a reference function point will be defined in the another file include a function which will be called if this object is used by application. For example