This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Interprocess communication
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Alfredo Carrillo <alcarrillo at tec dot com dot mx>
- Cc: eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 5 Mar 2002 09:51:49 +0100
- Subject: [ECOS] Re: Interprocess communication
- References: <PCEGJHPCAJMDNMMCFOJACEBECAAA.alcarrillo@tec.com.mx> <3C83BB83.1000200@tec.com.mx>
On Mon, Mar 04, 2002 at 12:22:59PM -0600, Alfredo Carrillo wrote:
> I added to syscall-i386-linux-1.0.S file (found at
> /opt/ecos/ecos-1.3.1/packages/hal/i386/linux/v1_3_1/src) the entries for
> shm* functions. After that, the compiler sends the same output as
> before. I also tried to use another functions from the list, and the
> result was the same.
>
> To call the function, I tried as follows: cyg_hal_sys_shmget(...)
What exactly did you add? In the Linux sources there is this comment
near the shmget system call code...
linux/arch/i386/kernel/sys_i386.c
/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
*
* This is really horribly ugly.
*/
Have you correctly dealt with this ugliness.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss