This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
where set bits of netint_flags?
- From: =?gb2312?B?1cUgwcE=?= <johnsonest at hotmail dot com>
- To: gary at mlbassoc dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 03 Jan 2003 12:19:02 +0800
- Subject: [ECOS] where set bits of netint_flags?
- Bcc:
Dear Gary,
I know the thread "cyg_netint" is used to process network events.
this thread wait the flag netint_flags,but who set this flag?
I search all files,especially driver,I found this procedure:
net_isr()
|
eth_drv_dsr()
|
ecos_synch_eth_drv_dsr()
|
cyg_flag_setbits( &alarm_flag, 2 );//strange,why set alarm_flag? this will
wake alarm_thread and call //till here in DSR level
"eth_drv_run_deliveries"//in thread level
|
(*sc->funs->deliver)(sc)//thread level
|
quicc_eth_deliver()//thread level
|
receive/transmit
Brs/johnsonest
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss