qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 32/32] clean up kqemu code


From: Glauber Costa
Subject: [Qemu-devel] [PATCH 32/32] clean up kqemu code
Date: Thu, 23 Oct 2008 12:19:16 -0200

Remove bits from kqemu.h that are no longer used outside of
kqemu files scope. The ones which are still needed are moved to
kqemu.h

Signed-off-by: Glauber Costa <address@hidden>
---
 exec-all.h |   10 ----------
 kqemu.h    |    3 +++
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/exec-all.h b/exec-all.h
index 55972ac..fa4a4eb 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -360,14 +360,4 @@ static inline int can_do_io(CPUState *env)
 #define EXEC_EXIT_INTR 1
 #define EXEC_EXIT_SOFTMMU 2
 
-#ifdef USE_KQEMU
-#define KQEMU_MODIFY_PAGE_MASK (0xff & ~(VGA_DIRTY_FLAG | CODE_DIRTY_FLAG))
-
-#define MSR_QPI_COMMBASE 0xfabe0010
-
-void kqemu_set_phys_mem(uint64_t start_addr, ram_addr_t size, 
-                        ram_addr_t phys_offset);
-void kqemu_record_dump(void);
-
-#endif
 #endif
diff --git a/kqemu.h b/kqemu.h
index f644e41..4152fbd 100644
--- a/kqemu.h
+++ b/kqemu.h
@@ -169,4 +169,7 @@ typedef struct KQEMUCPUstate {
     KQEMUCPUState *__c = container_of(env, KQEMUCPUState, env); \
     &__c->field; }))
 
+#define KQEMU_MODIFY_PAGE_MASK (0xff & ~(VGA_DIRTY_FLAG | CODE_DIRTY_FLAG))
+
+#define MSR_QPI_COMMBASE 0xfabe0010
 #endif /* KQEMU_H */
-- 
1.5.5.1





reply via email to

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