[parisc-linux] parisc64 kernel and ret1 (gr29) setup
Richard Hirst
rhirst@linuxcare.com
Thu, 21 Dec 2000 20:55:58 +0000
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