diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 20:48:25 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 20:48:25 +0000 |
commit | da260249a4109b1ac82016b27973c50f0a74311a (patch) | |
tree | 8eee1bfd192fb400174a4a9207349e57e649817b /exec-all.h | |
parent | da94d26390b292f2b9d90aee2936d8545364d5a2 (diff) |
kqemu API change - allow use of kqemu with 32 bit QEMU on a 64 bit host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4628 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h index eaf7c40613..1f5906c7c4 100644 --- a/exec-all.h +++ b/exec-all.h @@ -563,15 +563,21 @@ static inline target_ulong get_phys_addr_code(CPUState *env1, target_ulong addr) #ifdef USE_KQEMU #define KQEMU_MODIFY_PAGE_MASK (0xff & ~(VGA_DIRTY_FLAG | CODE_DIRTY_FLAG)) +#define MSR_QPI_COMMBASE 0xfabe0010 + int kqemu_init(CPUState *env); int kqemu_cpu_exec(CPUState *env); void kqemu_flush_page(CPUState *env, target_ulong addr); void kqemu_flush(CPUState *env, int global); void kqemu_set_notdirty(CPUState *env, ram_addr_t ram_addr); void kqemu_modify_page(CPUState *env, ram_addr_t ram_addr); +void kqemu_set_phys_mem(uint64_t start_addr, ram_addr_t size, + ram_addr_t phys_offset); void kqemu_cpu_interrupt(CPUState *env); void kqemu_record_dump(void); +extern uint32_t kqemu_comm_base; + static inline int kqemu_is_ok(CPUState *env) { return(env->kqemu_enabled && |