From mboxrd@z Thu Jan 1 00:00:00 1970 From: David.Karlberg@combitechsystems.com To: andrew.lunn@ascom.ch Cc: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] struct proc Date: Thu, 30 Aug 2001 08:49:00 -0000 Message-id: <2253171AF143D21185A60000F8FA748B03795E2F@pluto.combitech.se> X-SW-Source: 2001-08/msg00945.html I am working on porting the openBSD PPP to eCos. And some of the functions use the struct proc. Is there somthing I could use instead of struct proc, or should I just try to remove it? PS. Thank you Andrew for answering. David -----Original Message----- From: Andrew Lunn [ mailto:andrew.lunn@ascom.ch ] Sent: den 30 augusti 2001 17:39 To: Karlberg David Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] struct proc On Thu, Aug 30, 2001 at 05:32:04PM +0200, David.Karlberg@combitechsystems.com wrote: > Hi, > > I am working with the TCP/IP stack and I see a lot of > > struct proc > > but I cant seem to find where it is defined. I don't think it is defined anywhere. We don't have processes in eCos, only threads. Any code that tries to use proc should of been removed thus: #ifndef __ECOS struct proc *p = curproc; /* XXX */ #endif Andrew