From: Vince Weaver <vince@csl.cornell.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] alpha - syscalls can return two values
Date: Tue, 11 Nov 2008 15:23:56 -0500 (EST) [thread overview]
Message-ID: <20081111152045.C64870@stanley.csl.cornell.edu> (raw)
In-Reply-To: <20081111151233.C64870@stanley.csl.cornell.edu>
and as soon as I sent this, I realized I was reading the code wrong.
It doesn't return the second result in $1, but rather it returns the
second result on the stack at offset 80.
This remains a problem though, as I don't think there's an easy way to get
the stack pointer from the syscall code.
The relevant linux-kernel syscall code can be found in
./arch/alpha/kernel/entry.S
specifically the getxuid, getxgid, getxpid, syscalls.
Vince
next prev parent reply other threads:[~2008-11-11 20:24 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 [this message]
2008-11-12 21:34 ` Vince Weaver
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=20081111152045.C64870@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).