From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailserv2.iuinc.com (IDENT:qmailr@mailserv2.iuinc.com [206.245.164.55]) by puffin.external.hp.com (8.9.3/8.9.3) with SMTP id NAA12740 for ; Thu, 21 Dec 2000 13:59:14 -0700 Received: from pc188-bre9.cable.ntl.com (HELO rhirst.linuxcare.com) (213.105.88.188) by mailserv2.iuinc.com with SMTP; 21 Dec 2000 21:02:15 -0000 Received: by rhirst.linuxcare.com (Postfix, from userid 501) id 86860B005; Thu, 21 Dec 2000 20:55:58 +0000 (GMT) Date: Thu, 21 Dec 2000 20:55:58 +0000 From: Richard Hirst To: Matthew Wilcox Cc: parisc-linux@thepuffingroup.com Subject: Re: [parisc-linux] parisc64 kernel and ret1 (gr29) setup Message-ID: <20001221205558.X2554@linuxcare.com> References: <20001221160006.W2554@linuxcare.com> <20001221205723.A21472@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20001221205723.A21472@parcelfarce.linux.theplanet.co.uk>; from matthew@wil.cx on Thu, Dec 21, 2000 at 08:57:23PM +0000 List-ID: On Thu, Dec 21, 2000 at 08:57:23PM +0000, Matthew Wilcox wrote: > On Thu, Dec 21, 2000 at 04:00:06PM +0000, Richard Hirst wrote: > > At the moment we set up sp with "ldo TASK_SZ_ALGN+64(%r1),%r30" on syscall > > entry. For 64 bit presumably we should do something like: > > > > ldo TASK_SZ_ALGN+80(%r1),%r30 > > ldo -16(%r30),%r29 > > > > Which gives 64 bytes for parameter saves, plus 16 bytes for rp+sp, and > > initialises ret1. > > > > Does that sound right? > > does the 64-bit ABI relax the requirement for the stack to be 64-byte aligned? > if not, it should be ldo TASK_SZ_ALIGN+128(%r1), %r30 Says "16 byte aligned", not 64. Richard