mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
support of long calls for PPC (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4629 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
da260249a4
commit
932a690969
3 changed files with 82 additions and 34 deletions
|
@ -410,4 +410,9 @@ uint64_t tcg_helper_divu_i64(uint64_t arg1, uint64_t arg2);
|
|||
uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2);
|
||||
|
||||
extern uint8_t code_gen_prologue[];
|
||||
#ifdef __powerpc__
|
||||
#define tcg_qemu_tb_exec(tb_ptr) \
|
||||
((long REGPARM __attribute__ ((longcall)) (*)(void *))code_gen_prologue)(tb_ptr)
|
||||
#else
|
||||
#define tcg_qemu_tb_exec(tb_ptr) ((long REGPARM (*)(void *))code_gen_prologue)(tb_ptr)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue