From: David Daney <david.daney@cavium.com>
To: Songmao Tian <kingkongmao@gmail.com>
Cc: linux-mips <linux-mips@linux-mips.org>
Subject: Re: handle_sys question
Date: Tue, 22 May 2012 12:46:39 -0700 [thread overview]
Message-ID: <4FBBED1F.5010307@cavium.com> (raw)
In-Reply-To: <CADSewLWvfVsQob-y5Q9mc31JpecHFd6=5dRhKxdH3VvT0HXJZQ@mail.gmail.com>
On 05/22/2012 02:40 AM, Songmao Tian wrote:
> Hello all:
> In handle_sys there's a
> 50
> <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/mips/kernel/scall32-o32.S;h=a632bc144efa1b9ca977a582864530e33ee039cb;hb=72c04af9a2d57b7945cf3de8e71461bd80695d50#l50>
> sw a3, PT_R26(sp) # save a3 for syscall restarting
>
> I woner why it need to save a3 in R26(k0) slot in the stack?
>
It has to go somewhere. The K0 and K1 slots aren't used to save other
things.
David Daney
next prev parent reply other threads:[~2012-05-22 19:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 9:40 handle_sys question Songmao Tian
2012-05-22 19:46 ` David Daney [this message]
2012-05-23 8:17 ` Songmao Tian
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=4FBBED1F.5010307@cavium.com \
--to=david.daney@cavium.com \
--cc=kingkongmao@gmail.com \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.