From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHJHp-0006N4-Up for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHJHn-0006MG-B6 for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:03 -0500 Received: from [199.232.76.173] (port=38615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHJHn-0006M8-5I for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:03 -0500 Received: from savannah.gnu.org ([199.232.41.3]:39154 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 1LHJHm-0003cY-Gs for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:02 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LHJHi-0002tF-9c for qemu-devel@nongnu.org; Mon, 29 Dec 2008 14:39:58 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LHJHh-0002tB-V5 for qemu-devel@nongnu.org; Mon, 29 Dec 2008 14:39:58 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Mon, 29 Dec 2008 14:39:58 +0000 Subject: [Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access. 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: 6140 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6140 Author: edgar_igl Date: 2008-12-29 14:39:57 +0000 (Mon, 29 Dec 2008) Log Message: ----------- CRIS: Remove CRIS specific do_unassigned_access. Signed-off-by: Edgar E. Iglesias Modified Paths: -------------- trunk/exec.c trunk/target-cris/cpu.h trunk/target-cris/op_helper.c Modified: trunk/exec.c =================================================================== --- trunk/exec.c 2008-12-29 09:47:11 UTC (rev 6139) +++ trunk/exec.c 2008-12-29 14:39:57 UTC (rev 6140) @@ -2379,7 +2379,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem read " TARGET_FMT_plx "\n", addr); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 0, 0, 0, 1); #endif return 0; @@ -2390,7 +2390,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem read " TARGET_FMT_plx "\n", addr); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 0, 0, 0, 2); #endif return 0; @@ -2401,7 +2401,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem read " TARGET_FMT_plx "\n", addr); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 0, 0, 0, 4); #endif return 0; @@ -2412,7 +2412,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem write " TARGET_FMT_plx " = 0x%x\n", addr, val); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 1, 0, 0, 1); #endif } @@ -2422,7 +2422,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem write " TARGET_FMT_plx " = 0x%x\n", addr, val); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 1, 0, 0, 2); #endif } @@ -2432,7 +2432,7 @@ #ifdef DEBUG_UNASSIGNED printf("Unassigned mem write " TARGET_FMT_plx " = 0x%x\n", addr, val); #endif -#if defined(TARGET_SPARC) || defined(TARGET_CRIS) +#if defined(TARGET_SPARC) do_unassigned_access(addr, 1, 0, 0, 4); #endif } Modified: trunk/target-cris/cpu.h =================================================================== --- trunk/target-cris/cpu.h 2008-12-29 09:47:11 UTC (rev 6139) +++ trunk/target-cris/cpu.h 2008-12-29 14:39:57 UTC (rev 6140) @@ -167,8 +167,6 @@ is returned if the signal was handled by the virtual CPU. */ int cpu_cris_signal_handler(int host_signum, void *pinfo, void *puc); -void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, - int is_asi, int size); enum { CC_OP_DYNAMIC, /* Use env->cc_op */ Modified: trunk/target-cris/op_helper.c =================================================================== --- trunk/target-cris/op_helper.c 2008-12-29 09:47:11 UTC (rev 6139) +++ trunk/target-cris/op_helper.c 2008-12-29 14:39:57 UTC (rev 6140) @@ -243,13 +243,6 @@ env->pregs[PR_CCS] |= M_FLAG; } -void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, - int is_asi, int size) -{ - D(printf("%s addr=%x w=%d ex=%d asi=%d, size=%d\n", - __func__, addr, is_write, is_exec, is_asi, size)); -} - static void evaluate_flags_writeback(uint32_t flags) { int x;