qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6922] target-alpha: Fix bug: palcode is at least 6 bits.


From: Aurelien Jarno
Subject: [Qemu-devel] [6922] target-alpha: Fix bug: palcode is at least 6 bits.
Date: Sun, 29 Mar 2009 00:13:39 +0000

Revision: 6922
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6922
Author:   aurel32
Date:     2009-03-29 00:13:38 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-alpha: Fix bug: palcode is at least 6 bits.

Signed-off-by: Tristan Gingold <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/target-alpha/translate.c

Modified: trunk/target-alpha/translate.c
===================================================================
--- trunk/target-alpha/translate.c      2009-03-28 23:46:00 UTC (rev 6921)
+++ trunk/target-alpha/translate.c      2009-03-29 00:13:38 UTC (rev 6922)
@@ -692,7 +692,7 @@
             if (ctx->mem_idx & 1)
                 goto invalid_opc;
             else
-                gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x1F) << 6), 0);
+                gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x3F) << 6), 0);
 #endif
         } else {
             /* Invalid PAL call */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]