From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Ben Elliston <bje@redhat.com>
Cc: sid@sources.redhat.com
Subject: Re: gloss patch for argc/argv retrieval
Date: Fri, 25 Jan 2002 10:06:00 -0000 [thread overview]
Message-ID: <1011982009.1278.58.camel@toggle> (raw)
In-Reply-To: <20020125113743.C23105@redhat.com>
On Fri, 2002-01-25 at 11:37, Frank Ch. Eigler wrote:
> Hi -
>
> On Fri, Jan 25, 2002 at 02:21:46PM +1100, Ben Elliston wrote:
> > It is currently possible for a SID configuration to set the gloss
> > "command-line" attribute for process emulation. However I noted that
> > the gloss component doesn't do much with it -- except store it.
> >
> > 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. [...]
> > [...]
>
> I suspect a single system call, like ARM ANGEL's "get entire command
> line as a string" would be sufficient. Are you planning to add
> support for this system call to some libgloss ports also?
>
If you are, you should look at the i386 gloss port, which has support
for a __get_program_arguments syscall, number 184. The implementation is
in devo/libstub/generic-stub.c in the __get_program_args function.
Tom
--
Thomas Fitzsimmons
Red Hat Canada Limited e-mail: fitzsim@redhat.com
2323 Yonge Street, Suite 300
Toronto, ON M4P2C9
next prev parent reply other threads:[~2002-01-25 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-24 19:21 Ben Elliston
2002-01-25 8:37 ` Frank Ch. Eigler
2002-01-25 10:06 ` Thomas Fitzsimmons [this message]
2002-01-25 14:16 ` Ben Elliston
[not found] ` <15441.55603.150572.158514.cygnus.project.sid@scooby.brisbane.redhat.com>
2002-01-25 15:14 ` Frank Ch. Eigler
2002-01-25 15:23 ` Ben Elliston
2002-01-30 22:02 ` Ben Elliston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1011982009.1278.58.camel@toggle \
--to=fitzsim@redhat.com \
--cc=bje@redhat.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).