[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6550] Fix cpu_arm_handle_mmu_fault warning
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [6550] Fix cpu_arm_handle_mmu_fault warning |
Date: |
Sat, 07 Feb 2009 15:19:20 +0000 |
Revision: 6550
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6550
Author: aurel32
Date: 2009-02-07 15:19:20 +0000 (Sat, 07 Feb 2009)
Log Message:
-----------
Fix cpu_arm_handle_mmu_fault warning
This patch fixes:
/scratch/froydnj/qemu.git/target-arm/helper.c:451: warning: no previous
prototype for 'cpu_arm_handle_mmu_fault'
by moving the declaration of the function to cpu.h from exec.h. cpu.h
seems to be the place most other ports declare the corresponding
function.
Signed-off-by: Nathan Froyd <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Modified Paths:
--------------
trunk/target-arm/cpu.h
trunk/target-arm/exec.h
Modified: trunk/target-arm/cpu.h
===================================================================
--- trunk/target-arm/cpu.h 2009-02-07 15:18:47 UTC (rev 6549)
+++ trunk/target-arm/cpu.h 2009-02-07 15:19:20 UTC (rev 6550)
@@ -217,6 +217,8 @@
is returned if the signal was handled by the virtual CPU. */
int cpu_arm_signal_handler(int host_signum, void *pinfo,
void *puc);
+int cpu_arm_handle_mmu_fault (CPUARMState *env, target_ulong address, int rw,
+ int mmu_idx, int is_softmuu);
void cpu_lock(void);
void cpu_unlock(void);
Modified: trunk/target-arm/exec.h
===================================================================
--- trunk/target-arm/exec.h 2009-02-07 15:18:47 UTC (rev 6549)
+++ trunk/target-arm/exec.h 2009-02-07 15:19:20 UTC (rev 6550)
@@ -37,9 +37,6 @@
{
}
-int cpu_arm_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
- int mmu_idx, int is_softmmu);
-
static inline int cpu_halted(CPUState *env) {
if (!env->halted)
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6550] Fix cpu_arm_handle_mmu_fault warning,
Aurelien Jarno <=