Changes between Version 42 and Version 43 of Developer/Projects/SequencedInitialization
- Timestamp:
- Jun 15, 2010, 3:13:40 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developer/Projects/SequencedInitialization
v42 v43 224 224 ; The definition of rtems sysinit_core struct and its reference: 225 225 226 The field of struct sysinit_core will be extended in the futurn, now the item status is 227 just used for filling in the struct. 226 The field of struct sysinit_core will be extended in the futurn, now there is two fields filling in the struct. the field status indicates the status of rtems startup or close down sequence and the field handler is the entry function of rtems sequenced initialization or termination. 227 228 /** 229 * @brief The status of rtems startup or close down 230 */ 231 typedef enum { 232 RTEMS_SYSINIT_STARTUP, 233 RTEMS_SYSINIT_TERMINATE 234 } rtems_sysinit_state; 228 235 229 236 /** 230 237 * @brief The type of handler invoked when constructing 231 238 */ 232 typedef void ( *rtems_sysinit_handler )( void ); 233 234 /** 235 * @brief The core constructe of sysinit 239 typedef void ( *rtems_sysinit_handler )( rtems_sysinit_state state ); 240 241 /** 242 * @brief The core constructe of sysinit, in the future we will add other fields into the 243 * struct 236 244 */ 237 245 typedef struct rtems_sysinit { 238 246 /** 239 * @brief this field is not sure, in the future we will add other fields 240 */ 247 * @brief this field indicate the status of rtems startup or close down sequence*/ 241 248 uint8_t status; 242 249 /**