linux-mips
[Top] [All Lists]

Re: Why does MIPS/Linux always reserve 32 bytes in the top of each proce

To: David Daney <ddaney@avtrex.com>
Subject: Re: Why does MIPS/Linux always reserve 32 bytes in the top of each process's kernel stack space
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 29 Jan 2005 01:02:35 +0100
Cc: zhan rongkai <zhanrk@gmail.com>, linux-mips@linux-mips.org
In-reply-to: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF53B@avtrex-server.hq.avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF53B@avtrex-server.hq.avtrex.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Thu, Jan 27, 2005 at 08:54:48PM -0800, David Daney wrote:

> >Why does MIPS/Linux always reserve 32 bytes in the top of each
> >process's kernel stack space.
> 
> Perhaps because the  kernel's ABI requires it?   I beleive that o64 requires 
> stack space for a0 - a3 to be stored there.

Except we don't use o64.

  Ralf

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