qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu/target-sparc helper.c
Date: Wed, 14 Jun 2006 12:37:30 +0000	[thread overview]
Message-ID: <E1FqUck-0005ey-BM@savannah.gnu.org> (raw)

CVSROOT:	/sources/qemu
Module name:	qemu
Changes by:	Fabrice Bellard <bellard>	06/06/14 12:37:30

Modified files:
	target-sparc   : helper.c 

Log message:
	MMU no fault fix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/helper.c?cvsroot=qemu&r1=1.21&r2=1.22

Patches:
Index: helper.c
===================================================================
RCS file: /sources/qemu/qemu/target-sparc/helper.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- helper.c	5 Dec 2005 20:29:47 -0000	1.21
+++ helper.c	14 Jun 2006 12:37:30 -0000	1.22
@@ -190,7 +190,7 @@
     /* check access */
     access_perms = (pde & PTE_ACCESS_MASK) >> PTE_ACCESS_SHIFT;
     error_code = access_table[*access_index][access_perms];
-    if (error_code && !(env->mmuregs[0] & MMU_NF))
+    if (error_code && !((env->mmuregs[0] & MMU_NF) && is_user))
 	return error_code;
 
     /* the page can be put in the TLB */

             reply	other threads:[~2006-06-14 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 12:37 Fabrice Bellard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-25  7:49 [Qemu-devel] qemu/target-sparc helper.c Blue Swirl
2007-11-29 17:08 Blue Swirl
2005-12-05 20:29 Fabrice Bellard
2005-04-24 10:08 Fabrice Bellard
2005-02-15 22:55 Fabrice Bellard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1FqUck-0005ey-BM@savannah.gnu.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).