From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20250 invoked by alias); 9 Apr 2008 09:10:36 -0000 Received: (qmail 20236 invoked by uid 22791); 9 Apr 2008 09:10:35 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Apr 2008 09:10:12 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1JjWJi-0001At-00; Wed, 09 Apr 2008 11:10:06 +0200 Date: Wed, 09 Apr 2008 09:46:00 -0000 From: Andrew Lunn To: trollepi jj Cc: Bart Veer , ecos-discuss@ecos.sourceware.org Message-ID: <20080409091006.GE11287@lunn.ch> Mail-Followup-To: trollepi jj , Bart Veer , ecos-discuss@ecos.sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] how work synthetic for exceptions X-SW-Source: 2008-04/txt/msg00147.txt.bz2 On Wed, Apr 09, 2008 at 09:19:57AM +0100, trollepi jj wrote: > > Hi, > We have successfully implement the same mecanism (a kind of softirq) on the synthetic target. We modify and add some structures to meet the requirements of linux signal implementation. > But we have a conception question : > Why do you coding the call of the syscall in the file syscall-i386-linux-1.0.S? Is it impossible for the synthetic to call directly a syscall (confusion between gnu/linux libC and eCos lib, stack issues)? Correct. eCos does not link with the native libc, it directly calls kernel system calls. There is no way to tell the linker that a call to read() in file X.c should call the native glibc read() function, but a call to read() in Y.c should call the eCos libc read function. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss