diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-12 22:05:13 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-12 22:05:13 +0000 |
commit | b5b38f61b8d5f4fb900472bade38e7ff610223aa (patch) | |
tree | 4be7549d8eb4cefe86c83db5995fbf220f9cedb1 /target-i386/helper.h | |
parent | dbd02bdf797ea006d0c509439fc550939112e635 (diff) | |
download | hqemu-b5b38f61b8d5f4fb900472bade38e7ff610223aa.zip hqemu-b5b38f61b8d5f4fb900472bade38e7ff610223aa.tar.gz |
converted more helpers to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4447 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper.h')
-rw-r--r-- | target-i386/helper.h | 75 |
1 files changed, 73 insertions, 2 deletions
diff --git a/target-i386/helper.h b/target-i386/helper.h index 4371c83..3bce500 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -1,7 +1,78 @@ #define TCG_HELPER_PROTO -void TCG_HELPER_PROTO helper_divl_EAX_T0(target_ulong t0); -void TCG_HELPER_PROTO helper_idivl_EAX_T0(target_ulong t0); +void helper_divb_AL(target_ulong t0); +void helper_idivb_AL(target_ulong t0); +void helper_divw_AX(target_ulong t0); +void helper_idivw_AX(target_ulong t0); +void helper_divl_EAX(target_ulong t0); +void helper_idivl_EAX(target_ulong t0); +#ifdef TARGET_X86_64 +void helper_divq_EAX(target_ulong t0); +void helper_idivq_EAX(target_ulong t0); +#endif + +void helper_aam(int base); +void helper_aad(int base); +void helper_aaa(void); +void helper_aas(void); +void helper_daa(void); +void helper_das(void); + +void helper_lsl(uint32_t selector); +void helper_lar(uint32_t selector); +void helper_verr(uint32_t selector); +void helper_verw(uint32_t selector); +void helper_lldt(int selector); +void helper_ltr(int selector); +void helper_load_seg(int seg_reg, int selector); +void helper_ljmp_protected_T0_T1(int next_eip); +void helper_lcall_real_T0_T1(int shift, int next_eip); +void helper_lcall_protected_T0_T1(int shift, int next_eip); +void helper_iret_real(int shift); +void helper_iret_protected(int shift, int next_eip); +void helper_lret_protected(int shift, int addend); +void helper_movl_crN_T0(int reg); +void helper_movl_drN_T0(int reg); +void helper_invlpg(target_ulong addr); + +void helper_enter_level(int level, int data32); +#ifdef TARGET_X86_64 +void helper_enter64_level(int level, int data64); +#endif +void helper_sysenter(void); +void helper_sysexit(void); +#ifdef TARGET_X86_64 +void helper_syscall(int next_eip_addend); +void helper_sysret(int dflag); +#endif +void helper_hlt(void); +void helper_monitor(target_ulong ptr); +void helper_mwait(void); +void helper_debug(void); +void helper_raise_interrupt(int intno, int next_eip_addend); +void helper_raise_exception(int exception_index); +void helper_cli(void); +void helper_sti(void); +void helper_set_inhibit_irq(void); +void helper_reset_inhibit_irq(void); +void helper_boundw(void); +void helper_boundl(void); +void helper_rsm(void); +void helper_single_step(void); +void helper_cpuid(void); +void helper_rdtsc(void); +void helper_rdpmc(void); +void helper_rdmsr(void); +void helper_wrmsr(void); + +void helper_vmrun(void); +void helper_vmmcall(void); +void helper_vmload(void); +void helper_vmsave(void); +void helper_stgi(void); +void helper_clgi(void); +void helper_skinit(void); +void helper_invlpga(void); /* x86 FPU */ |