This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

hal tables in redboot...


Hi to all,

I'm currently designing a redboot version in RAM for testing purpose on an
ixp2400 hardware.
I've encountered troubles with the use of hal tables defined in main.c as
follows:
CYG_HAL_TABLE_BEGIN( __RedBoot_INIT_TAB__, RedBoot_inits );
CYG_HAL_TABLE_END( __RedBoot_INIT_TAB_END__, RedBoot_inits );

CYG_HAL_TABLE_BEGIN( __RedBoot_CMD_TAB__, RedBoot_commands );
CYG_HAL_TABLE_END( __RedBoot_CMD_TAB_END__, RedBoot_commands );

not to mention the netdev tables defined in net_io.c.
CYG_HAL_TABLE_BEGIN( __NETDEVTAB__, netdev );
CYG_HAL_TABLE_END( __NETDEVTAB_END__, netdev );

My questions are the following:
1. How does it work and how do the RedBoot_cmd and RedBoot_init commands add
entries in __RedBoot_CMD_TAB__ and __RedBoot_INIT_TAB__ tables respectively
?

2. In my customized version, all these tables seem to be mapped at the same
address.
   Furthermore, __RedBoot_INIT_TAB_END__ has always the same value as
__RedBoot_INIT_TAB__, 
   is it normal if entries are added ?
   Any suggestions ?


   Thanks for your attention.



Mathieu BERTRAND
MITSUBISHI ELECTRIC ITE-TCL   |
1, allée de Beaulieu          | tél: +33 (0)2 23 45 58 31
CS 10806                      | fax: +33 (0)2 23 45 58 59
35708 RENNES cedex 7          | mailto:bertrand@tcl.ite.mee.com
France


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]