* [Qemu-devel] [6550] Fix cpu_arm_handle_mmu_fault warning
@ 2009-02-07 15:19 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-02-07 15:19 UTC (permalink / raw)
To: qemu-devel
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 <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-07 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 15:19 [Qemu-devel] [6550] Fix cpu_arm_handle_mmu_fault warning Aurelien Jarno
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).