qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6638] CRIS: Fix remaining build warnings.
Date: Sun, 22 Feb 2009 12:00:00 +0000	[thread overview]
Message-ID: <E1LbD04-00070J-Bj@cvs.savannah.gnu.org> (raw)

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 <jan.kiszka@siemens.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

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 <stdio.h>
 #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 <ctype.h>
 #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++) {

                 reply	other threads:[~2009-02-22 12:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1LbD04-00070J-Bj@cvs.savannah.gnu.org \
    --to=edgar.iglesias@gmail.com \
    --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).