diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:53:54 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:53:54 +0000 |
commit | 9886cc165ac2c594f62a597de2c7b4df9922e2e6 (patch) | |
tree | f05ebca86547d773b3954817e3e9bd7f28c44dc7 /exec-all.h | |
parent | ce09776be290b06562d3a6a7c262e880cbac666a (diff) | |
download | qemu-9886cc165ac2c594f62a597de2c7b4df9922e2e6.zip qemu-9886cc165ac2c594f62a597de2c7b4df9922e2e6.tar.gz qemu-9886cc165ac2c594f62a597de2c7b4df9922e2e6.tar.bz2 |
factorized GenOpFunc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@535 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -64,6 +64,11 @@ extern uint32_t gen_opc_pc[OPC_BUF_SIZE]; extern uint8_t gen_opc_cc_op[OPC_BUF_SIZE]; extern uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; +typedef void (GenOpFunc)(void); +typedef void (GenOpFunc1)(long); +typedef void (GenOpFunc2)(long, long); +typedef void (GenOpFunc3)(long, long, long); + #if defined(TARGET_I386) void optimize_flags_init(void); @@ -498,7 +503,8 @@ extern spinlock_t tb_lock; extern int tb_invalidated_flag; -#if defined(TARGET_I386) && !defined(CONFIG_USER_ONLY) +#if (defined(TARGET_I386) || defined(TARGET_PPC)) && \ + !defined(CONFIG_USER_ONLY) void tlb_fill(unsigned long addr, int is_write, int is_user, void *retaddr); |