/[qemu]/qemu/cpu-i386.h
ViewVC logotype

Diff of /qemu/cpu-i386.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by bellard, Tue Apr 29 21:26:53 2003 UTC revision 1.21 by bellard, Thu May 8 15:35:34 2003 UTC
# Line 197  typedef struct CPUX86State { Line 197  typedef struct CPUX86State {
197      /* exception/interrupt handling */      /* exception/interrupt handling */
198      jmp_buf jmp_env;      jmp_buf jmp_env;
199      int exception_index;      int exception_index;
200        int error_code;
201        uint32_t cr2;
202      int interrupt_request;      int interrupt_request;
203    
204      /* user data */      /* user data */
# Line 401  static inline void stfq(void *ptr, doubl Line 403  static inline void stfq(void *ptr, doubl
403  #endif  #endif
404    
405  #ifndef IN_OP_I386  #ifndef IN_OP_I386
406  void cpu_x86_outb(int addr, int val);  void cpu_x86_outb(CPUX86State *env, int addr, int val);
407  void cpu_x86_outw(int addr, int val);  void cpu_x86_outw(CPUX86State *env, int addr, int val);
408  void cpu_x86_outl(int addr, int val);  void cpu_x86_outl(CPUX86State *env, int addr, int val);
409  int cpu_x86_inb(int addr);  int cpu_x86_inb(CPUX86State *env, int addr);
410  int cpu_x86_inw(int addr);  int cpu_x86_inw(CPUX86State *env, int addr);
411  int cpu_x86_inl(int addr);  int cpu_x86_inl(CPUX86State *env, int addr);
412  #endif  #endif
413    
414  CPUX86State *cpu_x86_init(void);  CPUX86State *cpu_x86_init(void);
# Line 431  int cpu_x86_signal_handler(int host_sign Line 433  int cpu_x86_signal_handler(int host_sign
433  #define GEN_FLAG_SS32_SHIFT   2  #define GEN_FLAG_SS32_SHIFT   2
434  #define GEN_FLAG_VM_SHIFT     3  #define GEN_FLAG_VM_SHIFT     3
435  #define GEN_FLAG_ST_SHIFT     4  #define GEN_FLAG_ST_SHIFT     4
436    #define GEN_FLAG_CPL_SHIFT    7
437    #define GEN_FLAG_IOPL_SHIFT   9
438    
439  int cpu_x86_gen_code(uint8_t *gen_code_buf, int max_code_size,  int cpu_x86_gen_code(uint8_t *gen_code_buf, int max_code_size,
440                       int *gen_code_size_ptr,                       int *gen_code_size_ptr,

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26