Revision ba1c6e37 cpu-i386.h

b/cpu-i386.h
85 85
typedef double CPU86_LDouble;
86 86
#endif
87 87

  
88
typedef struct CPU86State {
88
typedef struct CPUX86State {
89 89
    /* standard registers */
90 90
    uint32_t regs[8];
91 91
    uint32_t pc; /* cs_case + eip value */
......
109 109
    unsigned int fpuc;
110 110

  
111 111
    /* emulator internal variables */
112
    uint32_t t0; /* temporary t0 storage */
113
    uint32_t t1; /* temporary t1 storage */
114
    uint32_t a0; /* temporary a0 storage (address) */
115 112
    CPU86_LDouble ft0;
116
} CPU86State;
113
} CPUX86State;
117 114

  
118 115
static inline int ldub(void *ptr)
119 116
{
......
188 185
}
189 186

  
190 187
#ifndef IN_OP_I386
191
void port_outb(int addr, int val);
192
void port_outw(int addr, int val);
193
void port_outl(int addr, int val);
194
int port_inb(int addr);
195
int port_inw(int addr);
196
int port_inl(int addr);
188
void cpu_x86_outb(int addr, int val);
189
void cpu_x86_outw(int addr, int val);
190
void cpu_x86_outl(int addr, int val);
191
int cpu_x86_inb(int addr);
192
int cpu_x86_inw(int addr);
193
int cpu_x86_inl(int addr);
197 194
#endif
198 195

  
196
CPUX86State *cpu_x86_init(void);
197
int cpu_x86_exec(CPUX86State *s);
198
void cpu_x86_close(CPUX86State *s);
199

  
200
/* internal functions */
201
int cpu_x86_gen_code(uint8_t *gen_code_buf, int *gen_code_size_ptr,
202
                     uint8_t *pc_start);
203

  
199 204
#endif /* CPU_I386_H */

Also available in: Unified diff