This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: TCP/IP For Synthetic Target?
- To: Colin Ford <colin dot ford at pipinghotnetworks dot com>
- Subject: Re: [ECOS] TCP/IP For Synthetic Target?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 06 Jul 2001 20:44:59 +0100
- Cc: eCos <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <200107061033.LAA27149@cartman.pipinghotnetworks.com>
Colin Ford wrote:
>
> Hi,
>
> anyone know if this is being worked on? If not does
> anyone have any ideas on where to start.
Look at hal/synth/i386linux/current/src/syscall-i386-linux-1.0.S and add
entries for accept, socket, bind, etc. Then don't use the eCos stack or
fileio stuff, but provide your own stubs that call cyg_hal_sys_accept, etc.
If you want to do this better, look at io/fileio/current/src/socket.cxx and
work out how to plug in to the nstab table which would allow you to provide
an integrated approach that did work with the existing fileio approach.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/