[Top][All Lists]
[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
- [Qemu-devel] Re: [PATCH 20/32] accel_trace_io, (continued)
- [Qemu-devel] [PATCH 31/32] remove kqemu_is_ok tests., Glauber Costa, 2008/10/23
- [Qemu-devel] [PATCH 30/32] lcall/lret arch specific accel hooks, Glauber Costa, 2008/10/23
- [Qemu-devel] [PATCH 25/32] provide accel hook for cpu_exec, Glauber Costa, 2008/10/23
- [Qemu-devel] [PATCH 32/32] clean up kqemu code,
Glauber Costa <=
- [Qemu-devel] [PATCH 29/32] sysret/sysexit arch specific accelerator, Glauber Costa, 2008/10/23
- [Qemu-devel] [PATCH 28/32] iret arch specific accelerator, Glauber Costa, 2008/10/23
- [Qemu-devel] [PATCH 19/32] add hook to cpu_register_physical_memory, Glauber Costa, 2008/10/23
- [Qemu-devel] Re: [PATCH 0/32] New shot at accelerators, Jan Kiszka, 2008/10/23
- [Qemu-devel] Re: [PATCH 0/32] New shot at accelerators, Anthony Liguori, 2008/10/23