This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: struct proc
- To: andrew dot lunn at ascom dot ch
- Subject: RE: [ECOS] struct proc
- From: David dot Karlberg at combitechsystems dot com
- Date: Thu, 30 Aug 2001 17:47:05 +0200
- Cc: ecos-discuss at sources dot redhat dot com
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