linux-mips
[Top] [All Lists]

Re: [PATCH] Improve o32 syscall handling

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: [PATCH] Improve o32 syscall handling
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 22 Nov 2004 07:18:54 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20041121164557.GQ20986@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041121164557.GQ20986@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Sun, Nov 21, 2004 at 05:45:57PM +0100, Thiemo Seufer wrote:

> For the 64bit Kernel, it
>  - checks for unaligned user stack

Why bother, the unaligned exception handler should take care of this.

>  - also allows now up to 8 arguments

Quite frankly I'd prefer to see this being handle in userspace.  For o32
it's too late to go for that but for N32 / N64 we still may have a chance.

> -     LONG_L  a2, TI_FLAGS($28)       # current->work
> +     lw      a2, TI_FLAGS($28)       # current->work

Flags is a long variable.

  Ralf

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