From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9kZz-0001Xq-7L for qemu-devel@nongnu.org; Mon, 08 Dec 2008 13:11:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9kZy-0001XT-Ia for qemu-devel@nongnu.org; Mon, 08 Dec 2008 13:11:34 -0500 Received: from [199.232.76.173] (port=41558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9kZy-0001XO-Dm for qemu-devel@nongnu.org; Mon, 08 Dec 2008 13:11:34 -0500 Received: from savannah.gnu.org ([199.232.41.3]:38488 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9kZy-0003Uy-6D for qemu-devel@nongnu.org; Mon, 08 Dec 2008 13:11:34 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9kZx-0001Rw-QC for qemu-devel@nongnu.org; Mon, 08 Dec 2008 18:11:33 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9kZx-0001Rs-Hi for qemu-devel@nongnu.org; Mon, 08 Dec 2008 18:11:33 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Mon, 08 Dec 2008 18:11:33 +0000 Subject: [Qemu-devel] [5950] target-ppc: enable access type in MMU Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5950 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5950 Author: aurel32 Date: 2008-12-08 18:11:33 +0000 (Mon, 08 Dec 2008) Log Message: ----------- target-ppc: enable access type in MMU Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-ppc/helper.c Modified: trunk/target-ppc/helper.c =================================================================== --- trunk/target-ppc/helper.c 2008-12-08 18:11:21 UTC (rev 5949) +++ trunk/target-ppc/helper.c 2008-12-08 18:11:33 UTC (rev 5950) @@ -1510,10 +1510,7 @@ access_type = ACCESS_CODE; } else { /* data access */ - /* XXX: put correct access by using cpu_restore_state() - correctly */ - access_type = ACCESS_INT; - // access_type = env->access_type; + access_type = env->access_type; } ret = get_physical_address(env, &ctx, address, rw, access_type); if (ret == 0) {