From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbD0F-00034n-7i for qemu-devel@nongnu.org; Sun, 22 Feb 2009 07:00:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbD0C-000349-5w for qemu-devel@nongnu.org; Sun, 22 Feb 2009 07:00:08 -0500 Received: from [199.232.76.173] (port=54432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbD0B-000341-Sn for qemu-devel@nongnu.org; Sun, 22 Feb 2009 07:00:07 -0500 Received: from savannah.gnu.org ([199.232.41.3]:42704 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 1LbD0B-0006hi-Cr for qemu-devel@nongnu.org; Sun, 22 Feb 2009 07:00:07 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LbD04-00070N-Sb for qemu-devel@nongnu.org; Sun, 22 Feb 2009 12:00:01 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LbD04-00070J-Bj for qemu-devel@nongnu.org; Sun, 22 Feb 2009 12:00:00 +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: Sun, 22 Feb 2009 12:00:00 +0000 Subject: [Qemu-devel] [6638] CRIS: Fix remaining build warnings. 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: 6638 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6638 Author: edgar_igl Date: 2009-02-22 11:59:59 +0000 (Sun, 22 Feb 2009) Log Message: ----------- CRIS: Fix remaining build warnings. Signed-off-by: Jan Kiszka Acked-by: Edgar E. Iglesias Modified Paths: -------------- trunk/hw/etraxfs_eth.c trunk/hw/etraxfs_ser.c trunk/hw/etraxfs_timer.c trunk/target-cris/cpu.h trunk/target-cris/exec.h trunk/target-cris/translate.c Modified: trunk/hw/etraxfs_eth.c =================================================================== --- trunk/hw/etraxfs_eth.c 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/hw/etraxfs_eth.c 2009-02-22 11:59:59 UTC (rev 6638) @@ -25,9 +25,8 @@ #include #include "hw.h" #include "net.h" +#include "etraxfs.h" -#include "etraxfs_dma.h" - #define D(x) /* Advertisement control register. */ Modified: trunk/hw/etraxfs_ser.c =================================================================== --- trunk/hw/etraxfs_ser.c 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/hw/etraxfs_ser.c 2009-02-22 11:59:59 UTC (rev 6638) @@ -26,6 +26,7 @@ #include #include "hw.h" #include "qemu-char.h" +#include "etraxfs.h" #define D(x) Modified: trunk/hw/etraxfs_timer.c =================================================================== --- trunk/hw/etraxfs_timer.c 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/hw/etraxfs_timer.c 2009-02-22 11:59:59 UTC (rev 6638) @@ -26,6 +26,7 @@ #include "hw.h" #include "sysemu.h" #include "qemu-timer.h" +#include "etraxfs.h" #define D(x) Modified: trunk/target-cris/cpu.h =================================================================== --- trunk/target-cris/cpu.h 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/target-cris/cpu.h 2009-02-22 11:59:59 UTC (rev 6638) @@ -216,6 +216,9 @@ return !!(env->pregs[PR_CCS] & U_FLAG); } +int cpu_cris_handle_mmu_fault(CPUState *env, target_ulong address, int rw, + int mmu_idx, int is_softmmu); + #if defined(CONFIG_USER_ONLY) static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) { Modified: trunk/target-cris/exec.h =================================================================== --- trunk/target-cris/exec.h 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/target-cris/exec.h 2009-02-22 11:59:59 UTC (rev 6638) @@ -33,9 +33,6 @@ { } -int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, - int mmu_idx, int is_softmmu); - #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" #endif Modified: trunk/target-cris/translate.c =================================================================== --- trunk/target-cris/translate.c 2009-02-21 17:29:14 UTC (rev 6637) +++ trunk/target-cris/translate.c 2009-02-22 11:59:59 UTC (rev 6638) @@ -2633,7 +2633,8 @@ tmp32 = tcg_temp_new_i32(); tcg_gen_addi_tl(addr, cpu_R[dc->op1], i * 8); gen_load(dc, tmp32, addr, 4, 0); - } + } else + TCGV_UNUSED(tmp32); tcg_temp_free(addr); for (i = 0; i < (nr >> 1); i++) {