qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [4785] Fix Sparc mmu bug seen with NetBSD, based on patch b


From: Blue Swirl
Subject: [Qemu-devel] [4785] Fix Sparc mmu bug seen with NetBSD, based on patch by Cliff Wright
Date: Tue, 24 Jun 2008 19:08:29 +0000

Revision: 4785
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4785
Author:   blueswir1
Date:     2008-06-24 19:08:28 +0000 (Tue, 24 Jun 2008)

Log Message:
-----------
Fix Sparc mmu bug seen with NetBSD, based on patch by Cliff Wright

Modified Paths:
--------------
    trunk/target-sparc/helper.c

Modified: trunk/target-sparc/helper.c
===================================================================
--- trunk/target-sparc/helper.c 2008-06-24 15:12:27 UTC (rev 4784)
+++ trunk/target-sparc/helper.c 2008-06-24 19:08:28 UTC (rev 4785)
@@ -87,14 +87,14 @@
  * Sparc V8 Reference MMU (SRMMU)
  */
 static const int access_table[8][8] = {
-    { 0, 0, 0, 0, 2, 0, 3, 3 },
-    { 0, 0, 0, 0, 2, 0, 0, 0 },
-    { 2, 2, 0, 0, 0, 2, 3, 3 },
-    { 2, 2, 0, 0, 0, 2, 0, 0 },
-    { 2, 0, 2, 0, 2, 2, 3, 3 },
-    { 2, 0, 2, 0, 2, 0, 2, 0 },
-    { 2, 2, 2, 0, 2, 2, 3, 3 },
-    { 2, 2, 2, 0, 2, 2, 2, 0 }
+    { 0, 0, 0, 0, 8, 0, 12, 12 },
+    { 0, 0, 0, 0, 8, 0, 0, 0 },
+    { 8, 8, 0, 0, 0, 8, 12, 12 },
+    { 8, 8, 0, 0, 0, 8, 0, 0 },
+    { 8, 0, 8, 0, 8, 8, 12, 12 },
+    { 8, 0, 8, 0, 8, 0, 8, 0 },
+    { 8, 8, 8, 0, 8, 8, 12, 12 },
+    { 8, 8, 8, 0, 8, 8, 8, 0 }
 };
 
 static const int perm_table[2][8] = {






reply via email to

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