From 810260a8f334d6faa2749a3729f180dff8bae76b Mon Sep 17 00:00:00 2001 From: malc Date: Wed, 23 Jul 2008 19:17:46 +0000 Subject: Preliminary PPC64/Linux host support ppc64.ld from Heikki Lindholm's patch http://marc.info/?l=qemu-devel&m=114086179024634&w=2 Issues: x86_64 tripple faults shortly after decompressing the kernel No immediate versions of most 64 bit operations More... git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4932 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec-all.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'exec-all.h') diff --git a/exec-all.h b/exec-all.h index 5241abe5b3..9d011ce5be 100644 --- a/exec-all.h +++ b/exec-all.h @@ -191,6 +191,10 @@ extern int code_gen_max_blocks; #if defined(USE_DIRECT_JUMP) #if defined(__powerpc__) +#if defined(__powerpc64__) +extern void ppc_tb_set_jmp_target(unsigned long jmp_addr, unsigned long addr); +#define tb_set_jmp_target1 ppc_tb_set_jmp_target +#else static inline void flush_icache_range(unsigned long start, unsigned long stop); static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) { @@ -223,6 +227,7 @@ static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr /* flush icache */ flush_icache_range(jmp_addr, jmp_addr + patch_size); } +#endif #elif defined(__i386__) || defined(__x86_64__) static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) { -- cgit v1.2.1