Mercurial > ecos-v3_0-branch
diff packages/redboot/current/include/redboot.h @ 121:6bd9d475ed4b ecos-sw-2000-09-04
Merge from eCos master repository on 2000-09-04-20:50:20-BST
| author | jlarmour |
|---|---|
| date | Mon, 04 Sep 2000 20:24:12 +0000 |
| parents | bd1a71e3e476 |
| children | 0ec04793409a |
line wrap: on
line diff
--- a/packages/redboot/current/include/redboot.h +++ b/packages/redboot/current/include/redboot.h @@ -117,7 +117,7 @@ struct cmd { char *help; char *usage; cmd_fun *fun; -}; +} CYG_HAL_TABLE_TYPE; extern struct cmd *cmd_search(struct cmd *tab, struct cmd *tabend, char *arg); extern void cmd_usage(struct cmd *tab, struct cmd *tabend, char *prefix); #define RedBoot_cmd(_s_,_h_,_u_,_f_) cmd_entry(_s_,_h_,_u_,_f_,RedBoot_commands) @@ -134,7 +134,7 @@ static _cmd_entry(_s_,_h_,_u_,_f_,_n_) #define RedBoot_INIT_PRIO(_n_) 1000+_n_ #define RedBoot_INIT_LAST 9999 typedef void void_fun(void); -typedef void_fun *void_fun_ptr; +typedef void_fun *void_fun_ptr CYG_HAL_TABLE_TYPE; #define _RedBoot_init(_f_,_p_) \ void_fun_ptr _init_tab_##_p_##_f_ CYG_HAL_TABLE_QUALIFIED_ENTRY(RedBoot_inits,_f_) = _f_; #define RedBoot_init(_f_,_p_) _RedBoot_init(_f_,_p_)
