This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: where is __NET_INIT_TAB__ table populated ??
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: mohanlal jangir <mohanlaljangir at hotmail dot com>
- Cc: mailing-list ecos <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 24 Jul 2003 09:13:54 +0200
- Subject: Re: [ECOS] where is __NET_INIT_TAB__ table populated ??
- References: <Law11-OE64hkcxv4jrG0000250a@hotmail.com>
On Thu, Jul 24, 2003 at 11:21:42AM +0530, mohanlal jangir wrote:
> Can somebody tell me where the table __NET_INIT_TAB__ is populated ? I see
> function "mbinit" and "cyg_net_init_devs" as member of this table but could
> not find exact place where this table is getting populated.
Take a look at the macro
#define SYSINIT(label, group, order, fun, ident) \
_Net_init(_cat(group,order), label, fun, ident)
in bsd_tcpip/current/include/sys/param.h
Also read about HAL tables in the eCos documentation.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss