[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/7] clean build: Fix remaining cris warnings
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH 5/7] clean build: Fix remaining cris warnings |
Date: |
Sat, 21 Feb 2009 20:00:55 +0100 |
User-agent: |
StGIT/0.14.2 |
Signed-off-by: Jan Kiszka <address@hidden>
---
hw/etraxfs_eth.c | 3 +--
hw/etraxfs_ser.c | 1 +
hw/etraxfs_timer.c | 1 +
target-cris/cpu.h | 3 +++
target-cris/exec.h | 3 ---
target-cris/translate.c | 2 +-
6 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c
index 13d1900..c87e55f 100644
--- a/hw/etraxfs_eth.c
+++ b/hw/etraxfs_eth.c
@@ -25,8 +25,7 @@
#include <stdio.h>
#include "hw.h"
#include "net.h"
-
-#include "etraxfs_dma.h"
+#include "etraxfs.h"
#define D(x)
diff --git a/hw/etraxfs_ser.c b/hw/etraxfs_ser.c
index e32e2eb..8367386 100644
--- a/hw/etraxfs_ser.c
+++ b/hw/etraxfs_ser.c
@@ -26,6 +26,7 @@
#include <ctype.h>
#include "hw.h"
#include "qemu-char.h"
+#include "etraxfs.h"
#define D(x)
diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c
index ebb06e1..1144369 100644
--- a/hw/etraxfs_timer.c
+++ b/hw/etraxfs_timer.c
@@ -26,6 +26,7 @@
#include "hw.h"
#include "sysemu.h"
#include "qemu-timer.h"
+#include "etraxfs.h"
#define D(x)
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index dea4cc4..754953c 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -216,6 +216,9 @@ static inline int cpu_mmu_index (CPUState *env)
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)
{
diff --git a/target-cris/exec.h b/target-cris/exec.h
index cce87f6..77e4240 100644
--- a/target-cris/exec.h
+++ b/target-cris/exec.h
@@ -33,9 +33,6 @@ static inline void regs_to_env(void)
{
}
-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
diff --git a/target-cris/translate.c b/target-cris/translate.c
index f575e63..954b038 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -2613,7 +2613,7 @@ static unsigned int dec_move_pm(DisasContext *dc)
static unsigned int dec_movem_mr(DisasContext *dc)
{
TCGv_i64 tmp[16];
- TCGv tmp32;
+ TCGv tmp32 = 0;
TCGv addr;
int i;
int nr = dc->op2 + 1;
- [Qemu-devel] [PATCH 0/7] clean build - eliminate warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 1/7] clean build: Add bt_host_hci prototype, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 6/7] clean build: Fix remaining m68k warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 2/7] clean build: Fix irq_info and pic_info related warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 7/7] clean build: Fix remaining sh4 warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 3/7] arm: Fix gic_irq_state.level bitfield type, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 4/7] clean build: Fix arm build warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 5/7] clean build: Fix remaining cris warnings,
Jan Kiszka <=
- Re: [Qemu-devel] [PATCH 5/7] clean build: Fix remaining cris warnings, Paul Brook, 2009/02/21
Re: [Qemu-devel] [PATCH 0/7] clean build - eliminate warnings, Laurent Desnogues, 2009/02/21