qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Vince Weaver <vince@csl.cornell.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] alpha - syscalls can return two values
Date: Wed, 12 Nov 2008 16:34:38 -0500 (EST)	[thread overview]
Message-ID: <20081112163231.G70715@stanley.csl.cornell.edu> (raw)
In-Reply-To: <20081111152045.C64870@stanley.csl.cornell.edu>


and to keep correcting myself, it seems like the Alpha multi-value
return syscalls do not in fact use the stack at all.

I'm just posting this to clear up what I posted earlier.

What happens is:
   normal return value goes into $v0 (as always)
   errno is put into $a3 (as always)
   secondary return value is placed into $a4.

I have a patch that implements this that I'll send in a separate e-mail.

Vince

      reply	other threads:[~2008-11-12 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 20:14 [Qemu-devel] alpha - syscalls can return two values Vince Weaver
2008-11-11 20:23 ` Vince Weaver
2008-11-12 21:34   ` Vince Weaver [this message]

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=20081112163231.G70715@stanley.csl.cornell.edu \
    --to=vince@csl.cornell.edu \
    --cc=qemu-devel@nongnu.org \
    /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 NNTP newsgroup(s).