[PATCH 08/13] [PATCH] move kqemu externs to kqemu.h

Glauber Costa
2008-05-15T14:09:28Z

---
cpu-all.h | 5 -----
kqemu.h | 6 ++++++
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/cpu-all.h b/cpu-all.h
index 7e77f76..5336a29 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -1053,14 +1053,9 @@ static inline int64_t profile_getclock(void)
return cpu_get_real_ticks();
}

-extern int64_t kqemu_time, kqemu_time_start;
extern int64_t qemu_time, qemu_time_start;
extern int64_t tlb_flush_time;
-extern int64_t kqemu_exec_count;
extern int64_t dev_time;
-extern int64_t kqemu_ret_int_count;
-extern int64_t kqemu_ret_excp_count;
-extern int64_t kqemu_ret_intr_count;

extern int64_t dyngen_tb_count1;
extern int64_t dyngen_tb_count;
diff --git a/kqemu.h b/kqemu.h
index 7b43057..88156c1 100644
--- a/kqemu.h
+++ b/kqemu.h
@@ -26,6 +26,12 @@

#define KQEMU_VERSION 0x010300

+extern int64_t kqemu_time, kqemu_time_start;
+extern int64_t kqemu_exec_count;
+extern int64_t kqemu_ret_int_count;
+extern int64_t kqemu_ret_excp_count;
+extern int64_t kqemu_ret_intr_count;
+
struct kqemu_segment_cache {
uint32_t selector;
unsigned long base;