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] |
Hi All, In PacketRxReady(struct i82559* p_i82559) of i82559.c the code says that the unless some thing appears on the Network card and the rxstatus bit get changed the control/execution will be in while(1). But to my surprise when i am debugging the code inside while(1) , i saw it is jumping out of it for some reasons even when the network connection was unpluged .Is it something that the timeout was set anywhere or else any seperate thread running for input packets processing and output packet processing. thanks in advance . Sorry for the trivial doubt but being new to RTOS concepts, i am eager to know the operation. ..for easy reference, below given is part of the code inside PacketRxReady(struct i82559* p_i82559) while ( 1 ) { cyg_uint32 rxstatus; cyg_uint16 rxstatus_hi; READMEM32(p_rfd + RFD_STATUS, rxstatus); if (0 == (rxstatus & RFD_STATUS_C)) break; .......... } regards srinivas
Attachment:
InterScan_Disclaimer.txt
Description: InterScan_Disclaimer.txt
Attachment:
ATT796850.txt
Description: ATT796850.txt
-- 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] |