linux-mips
[Top] [All Lists]

Re: Freezing & Unfreezing the au11000

To: Linux MIPS <linux-mips@linux-mips.org>
Subject: Re: Freezing & Unfreezing the au11000
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Fri, 16 Dec 2005 19:31:05 +0300
Cc: Rodolfo Giometti <giometti@linux.it>
In-reply-to: <20051216153203.GK14341@gundam.enneenne.com>
Organization: MostaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20051216153203.GK14341@gundam.enneenne.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Rodolfo Giometti wrote:

in order to restore the scratch registers contents as descibed into
file "linux/arch/mips/au1000/common/sleeper.S":

If you're talking about 2.6, the code in that file seems very incorrect in regard to how it deals wiht the stack frame, since it effectively trashes regs $1 and $2 reusing their slots for saving CP0 Status and Context regs. 2.4 branch has more sane variant.

Thanks in advance,

Rodolfo

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>