qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 01/34] cpu-all: Prototype cpu_exec and cpu_signa


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC PATCH 01/34] cpu-all: Prototype cpu_exec and cpu_signal_handler
Date: Sun, 10 May 2015 23:29:04 -0700

Rather than rely on the arch specific ones. If an arch specific one
is defined nothing happens as we ifdef guard the generic prototypes.

This does then allow for removal of the arch specific dummy
prototypes for those archs that dont need to provide an override.

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 include/exec/cpu-all.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index ac06c67..5133684 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -322,4 +322,13 @@ void qemu_mutex_unlock_ramlist(void);
 int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr,
                         uint8_t *buf, int len, int is_write);
 
+#ifndef cpu_exec
+int cpu_exec(CPUArchState *s);
+#endif
+
+#ifndef cpu_signal_handler
+int cpu_signal_handler(int host_signum, void *pinfo,
+                       void *puc);
+#endif
+
 #endif /* CPU_ALL_H */
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]