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]

where set bits of netint_flags?


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


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