Mercurial > ecos
comparison packages/redboot/current/include/redboot.h @ 126:518f42066aba ecos-sw-2000-09-19
Merge from eCos master repository on 2000-09-19-06:25:26-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Sep 2000 05:53:51 +0000 |
| parents | 0ec04793409a |
| children | 0c2b7be0d798 |
comparison
equal
deleted
inserted
replaced
| 125:b4407dc7f59d | 126:518f42066aba |
|---|---|
| 132 // Initialization functions | 132 // Initialization functions |
| 133 #define RedBoot_INIT_FIRST 0000 | 133 #define RedBoot_INIT_FIRST 0000 |
| 134 #define RedBoot_INIT_PRIO(_n_) 1000+_n_ | 134 #define RedBoot_INIT_PRIO(_n_) 1000+_n_ |
| 135 #define RedBoot_INIT_LAST 9999 | 135 #define RedBoot_INIT_LAST 9999 |
| 136 typedef void void_fun(void); | 136 typedef void void_fun(void); |
| 137 typedef void_fun *void_fun_ptr CYG_HAL_TABLE_TYPE; | 137 typedef void_fun *void_fun_ptr; |
| 138 struct init_tab_entry { | |
| 139 void_fun_ptr fun; | |
| 140 } CYG_HAL_TABLE_TYPE; | |
| 138 #define _RedBoot_init(_f_,_p_) \ | 141 #define _RedBoot_init(_f_,_p_) \ |
| 139 void_fun_ptr _init_tab_##_p_##_f_ CYG_HAL_TABLE_QUALIFIED_ENTRY(RedBoot_inits,_f_) = _f_; | 142 struct init_tab_entry _init_tab_##_p_##_f_ CYG_HAL_TABLE_QUALIFIED_ENTRY(RedBoot_inits,_f_) = { _f_ }; |
| 140 #define RedBoot_init(_f_,_p_) _RedBoot_init(_f_,_p_) | 143 #define RedBoot_init(_f_,_p_) _RedBoot_init(_f_,_p_) |
| 141 | 144 |
| 142 | 145 |
| 143 // Option processing support | 146 // Option processing support |
| 144 | 147 |
