/[qemu]/qemu/exec.h
ViewVC logotype

Diff of /qemu/exec.h

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

revision 1.2 by bellard, Sun May 25 19:20:31 2003 UTC revision 1.3 by bellard, Tue May 27 23:29:24 2003 UTC
# Line 28  Line 28 
28  #define GEN_FLAG_IOPL_SHIFT   12 /* same position as eflags */  #define GEN_FLAG_IOPL_SHIFT   12 /* same position as eflags */
29    
30  struct TranslationBlock;  struct TranslationBlock;
31  int cpu_x86_gen_code(uint8_t *gen_code_buf, int max_code_size,  int cpu_x86_gen_code(struct TranslationBlock *tb,
32                       int *gen_code_size_ptr,                       int max_code_size, int *gen_code_size_ptr);
33                       uint8_t *pc_start,  uint8_t *cs_base, int flags,  int cpu_x86_search_pc(struct TranslationBlock *tb,
34                       int *code_size_ptr, struct TranslationBlock *tb);                        uint32_t *found_pc, unsigned long searched_pc);
35  void cpu_x86_tblocks_init(void);  void cpu_x86_tblocks_init(void);
36  void page_init(void);  void page_init(void);
37  int page_unprotect(unsigned long address);  int page_unprotect(unsigned long address);
# Line 161  static inline void tb_add_jump(Translati Line 161  static inline void tb_add_jump(Translati
161      }      }
162  }  }
163    
164    TranslationBlock *tb_find_pc(unsigned long pc_ptr);
165    
166  #ifndef offsetof  #ifndef offsetof
167  #define offsetof(type, field) ((size_t) &((type *)0)->field)  #define offsetof(type, field) ((size_t) &((type *)0)->field)
168  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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