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]

RE: struct proc



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


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