From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrJph-0004xo-1y for qemu-devel@nongnu.org; Tue, 07 Apr 2009 18:31:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrJpf-0004xc-Tn for qemu-devel@nongnu.org; Tue, 07 Apr 2009 18:31:52 -0400 Received: from [199.232.76.173] (port=33808 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrJpf-0004xZ-L3 for qemu-devel@nongnu.org; Tue, 07 Apr 2009 18:31:51 -0400 Received: from hall.aurel32.net ([88.191.82.174]:48196) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrJpf-0007YY-7x for qemu-devel@nongnu.org; Tue, 07 Apr 2009 18:31:51 -0400 Date: Wed, 8 Apr 2009 00:31:47 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 07/19] Alpha bug: fix palcode mask for user pal calls Message-ID: <20090407223147.GA11877@volta.aurel32.net> References: <1238423794-25455-1-git-send-email-gingold@adacore.com> <1238423794-25455-2-git-send-email-gingold@adacore.com> <1238423794-25455-3-git-send-email-gingold@adacore.com> <1238423794-25455-4-git-send-email-gingold@adacore.com> <1238423794-25455-5-git-send-email-gingold@adacore.com> <1238423794-25455-6-git-send-email-gingold@adacore.com> <1238423794-25455-7-git-send-email-gingold@adacore.com> <1238423794-25455-8-git-send-email-gingold@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1238423794-25455-8-git-send-email-gingold@adacore.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tristan Gingold Cc: qemu-devel@nongnu.org On Mon, Mar 30, 2009 at 04:36:22PM +0200, Tristan Gingold wrote: > (Also 6 bits for unprivileged calls) > > Signed-off-by: Tristan Gingold Thanks, applied. > --- > target-alpha/translate.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/target-alpha/translate.c b/target-alpha/translate.c > index dad1686..821f0d4 100644 > --- a/target-alpha/translate.c > +++ b/target-alpha/translate.c > @@ -685,7 +685,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) > /* CALL_PAL */ > if (palcode >= 0x80 && palcode < 0xC0) { > /* Unprivileged PAL call */ > - gen_excp(ctx, EXCP_CALL_PAL + ((palcode & 0x1F) << 6), 0); > + gen_excp(ctx, EXCP_CALL_PAL + ((palcode & 0x3F) << 6), 0); > #if !defined (CONFIG_USER_ONLY) > } else if (palcode < 0x40) { > /* Privileged PAL code */ > -- > 1.6.2 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net