Revision b8b6a50b target-i386/helper.h

b/target-i386/helper.h
1 1
#define TCG_HELPER_PROTO
2 2

  
3
void helper_lock(void);
4
void helper_unlock(void);
3 5
void helper_divb_AL(target_ulong t0);
4 6
void helper_idivb_AL(target_ulong t0);
5 7
void helper_divw_AX(target_ulong t0);
......
7 9
void helper_divl_EAX(target_ulong t0);
8 10
void helper_idivl_EAX(target_ulong t0);
9 11
#ifdef TARGET_X86_64
12
void helper_mulq_EAX_T0(target_ulong t0);
13
void helper_imulq_EAX_T0(target_ulong t0);
14
target_ulong helper_imulq_T0_T1(target_ulong t0, target_ulong t1);
10 15
void helper_divq_EAX(target_ulong t0);
11 16
void helper_idivq_EAX(target_ulong t0);
12 17
#endif
......
18 23
void helper_daa(void);
19 24
void helper_das(void);
20 25

  
21
void helper_lsl(uint32_t selector);
22
void helper_lar(uint32_t selector);
26
uint32_t helper_lsl(uint32_t selector);
27
uint32_t helper_lar(uint32_t selector);
23 28
void helper_verr(uint32_t selector);
24 29
void helper_verw(uint32_t selector);
25 30
void helper_lldt(int selector);
26 31
void helper_ltr(int selector);
27 32
void helper_load_seg(int seg_reg, int selector);
28
void helper_ljmp_protected_T0_T1(int next_eip);
29
void helper_lcall_real_T0_T1(int shift, int next_eip);
30
void helper_lcall_protected_T0_T1(int shift, int next_eip);
33
void helper_ljmp_protected(int new_cs, target_ulong new_eip,
34
                           int next_eip_addend);
35
void helper_lcall_real(int new_cs, target_ulong new_eip1,
36
                       int shift, int next_eip);
37
void helper_lcall_protected(int new_cs, target_ulong new_eip, 
38
                            int shift, int next_eip_addend);
31 39
void helper_iret_real(int shift);
32 40
void helper_iret_protected(int shift, int next_eip);
33 41
void helper_lret_protected(int shift, int addend);
34
void helper_movl_crN_T0(int reg);
35
void helper_movl_drN_T0(int reg);
42
void helper_movl_crN_T0(int reg, target_ulong t0);
43
void helper_lmsw(target_ulong t0);
44
void helper_clts(void);
45
#if !defined(CONFIG_USER_ONLY)
46
target_ulong helper_movtl_T0_cr8(void);
47
#endif
48
void helper_movl_drN_T0(int reg, target_ulong t0);
36 49
void helper_invlpg(target_ulong addr);
37 50

  
38
void helper_enter_level(int level, int data32);
51
void helper_enter_level(int level, int data32, target_ulong t1);
39 52
#ifdef TARGET_X86_64
40
void helper_enter64_level(int level, int data64);
53
void helper_enter64_level(int level, int data64, target_ulong t1);
41 54
#endif
42 55
void helper_sysenter(void);
43 56
void helper_sysexit(void);
......
55 68
void helper_sti(void);
56 69
void helper_set_inhibit_irq(void);
57 70
void helper_reset_inhibit_irq(void);
58
void helper_boundw(void);
59
void helper_boundl(void);
71
void helper_boundw(target_ulong a0, int v);
72
void helper_boundl(target_ulong a0, int v);
60 73
void helper_rsm(void);
74
void helper_cmpxchg8b(target_ulong a0);
61 75
void helper_single_step(void);
62 76
void helper_cpuid(void);
63 77
void helper_rdtsc(void);
......
65 79
void helper_rdmsr(void);
66 80
void helper_wrmsr(void);
67 81

  
82
void helper_check_iob(uint32_t t0);
83
void helper_check_iow(uint32_t t0);
84
void helper_check_iol(uint32_t t0);
85
void helper_outb(uint32_t port, uint32_t data);
86
target_ulong helper_inb(uint32_t port);
87
void helper_outw(uint32_t port, uint32_t data);
88
target_ulong helper_inw(uint32_t port);
89
void helper_outl(uint32_t port, uint32_t data);
90
target_ulong helper_inl(uint32_t port);
91

  
92
void helper_svm_check_intercept_param(uint32_t type, uint64_t param);
93
void helper_vmexit(uint32_t exit_code, uint64_t exit_info_1);
94
void helper_svm_check_io(uint32_t port, uint32_t param, 
95
                         uint32_t next_eip_addend);
68 96
void helper_vmrun(void);
69 97
void helper_vmmcall(void);
70 98
void helper_vmload(void);

Also available in: Unified diff