From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1359 invoked by alias); 25 Jan 2002 22:16:33 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 1302 invoked from network); 25 Jan 2002 22:16:25 -0000 Received: from unknown (HELO hypatia.brisbane.redhat.com) (202.83.74.3) by sources.redhat.com with SMTP; 25 Jan 2002 22:16:25 -0000 Received: from scooby.brisbane.redhat.com (scooby.brisbane.redhat.com [172.16.5.228]) by hypatia.brisbane.redhat.com (8.11.6/8.11.6) with ESMTP id g0PMGJY20533; Sat, 26 Jan 2002 08:16:19 +1000 Received: by scooby.brisbane.redhat.com (Postfix, from userid 500) id 7521910932; Sat, 26 Jan 2002 09:16:19 +1100 (EST) From: Ben Elliston MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15441.55603.150572.158514@scooby.brisbane.redhat.com> Date: Fri, 25 Jan 2002 14:16:00 -0000 To: "Frank Ch. Eigler" Cc: sid@sources.redhat.com Subject: Re: gloss patch for argc/argv retrieval In-Reply-To: <20020125113743.C23105@redhat.com> References: <15440.53066.47081.565065@scooby.brisbane.redhat.com> <20020125113743.C23105@redhat.com> X-Mailer: VM 6.75 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-SW-Source: 2002-q1/txt/msg00012.txt.bz2 >>>>> "FChE" == Frank Ch Eigler writes: >> The following patch adds a number of new syscalls to enable software >> running on target CPUs to request the argc and argv variables passed >> in from the outside world. [...] >> [...] FChE> I suspect a single system call, like ARM ANGEL's "get entire command FChE> line as a string" would be sufficient. Are you planning to add FChE> support for this system call to some libgloss ports also? For some targets like the SH, it is not sufficient. If you inspect the newlib source, you'll see SYS_argn, SYS_argnlen, etc. I suppose each port could translation between a single syscall, but as soon as more than one target requires these services, the gloss component might as well provide them. Ben