|
|
Subject:
schednetisr(NETISR_IP) equivalent replacement
Category: Computers > Programming Asked by: sgny-ga List Price: $30.00 |
Posted:
22 Apr 2005 06:18 PDT
Expires: 22 Jun 2005 05:52 PDT Question ID: 512650 |
Hello I am working on windriver Tornado version 2.2,i have a small project which is already having few c files. and one of c file in this is calling a function schednetisr(NETISR_IP);and which is declared in C:\Tornado2.2\target\h\netlib.h header file. But the point is windriver has changed the declaration of schednetisr() funcition in netlib.h file.so my project c files gives a following error while i build the project. C:\Tornado2.2\target\h\tool\diab\ldscripts\link.RAM -o vxWorks dld: warning: Undefined symbol 'schednetisr' in file 'partialImage.o' dld: Undefined symbols found - no output written make: *** [vxWorks] Error 0x1 Done. Even though i have included netlib.h file and all path paramters are good My question is i want to modify the function call in my project--> schednetisr(NETISR_IP); so that it can run with out any problem and will do the exactly same thing what it is doing now. Clarification: ### To schedule a software interrupt =in vxworks, we have a routine namely "schednetisr()" in "h/netlib.h" ### portion of code which is calling schednetisr in my project c files else { IF_ENQUEUE(inq,p_fcb->mb); schednetisr(NETISR_IP); } ### netlib.h file have the following declaration of schednetisr 01g,26aug96,vin added new declaration for schednetisr(). #define NETISR_IP 1 /* for IP packets */ #define NETISR_ARP 2 /* for arp packets */ #if defined(__STDC__) || defined(__cplusplus) extern void netTask (void); extern void schednetisr (int isrType); #else /* __STDC__ */ extern void netTask (); extern void schednetisr (); ### on google there is official group for vxworks comp.os.vxworks which have few links for this also http://groups-beta.google.com/group/comp.os.vxworks/browse_frm/thread/5f9d1add9619604a/99d612da3a0d1887?q=schednetisr&rnum=6&hl=en#99d612da3a0d1887 http://groups-beta.google.com/group/comp.os.vxworks/browse_frm/thread/655e859bc081748d/f0d524b2e575a4fc?q=schednetisr&rnum=5&hl=en#f0d524b2e575a4fc ###online definition of schednetisr Wind river also have a developer network where i already put same question http://developer.windriver.com/ http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/ktechrf1/schednetisr.htm in tornado declaration for shcednetisr is in netlib.h but on other OS like BSD its in netisr.h and few guys modified before also for their program , function call to schednetisr(NETISR_IP) to suit the new modified decleration for schednetisr. ### Try small project with just call to schednetisr(NETISR_IP) gives this error C:\Tornado2.2\target\proj\test1\default\..\end_cbk.c:22: undefined reference to `schednetisr' |
|
There is no answer at this time. |
|
Subject:
Re: schednetisr(NETISR_IP) equivalent replacement
From: houcheng-ga on 21 Jun 2005 22:39 PDT |
Dear Sir: Maybe you can use the netJobAdd(f) to instead of using software isr request. The netJobAdd(f) function would request the netTask to execute the function "f()" in task level, rather than ISR level. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |