This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: where set bits of netint_flags?
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: =?GB2312?B?1cUgwcE=?= <johnsonest at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 09 Jan 2003 07:17:18 +0000
- Subject: Re: [ECOS] where set bits of netint_flags?
- References: <F1276Ur4BuPKkq2jNM000026949@hotmail.com>
ÕÅ ÁÁ wrote:
> 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:
[snip]
include/net/netisr.h defines:
#define schednetisr(anisr) cyg_flag_setbits(&netint_flags, 1<<(anisr));
and schednetisr is called all over the place in the stack.
grep is your friend.
Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss