Revision 58fe2f10 exec-all.h

b/exec-all.h
79 79
int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,
80 80
                 int max_code_size, int *gen_code_size_ptr);
81 81
int cpu_restore_state(struct TranslationBlock *tb, 
82
                      CPUState *env, unsigned long searched_pc);
82
                      CPUState *env, unsigned long searched_pc,
83
                      void *puc);
84
int cpu_gen_code_copy(CPUState *env, struct TranslationBlock *tb,
85
                      int max_code_size, int *gen_code_size_ptr);
86
int cpu_restore_state_copy(struct TranslationBlock *tb, 
87
                           CPUState *env, unsigned long searched_pc,
88
                           void *puc);
83 89
void cpu_exec_init(void);
84 90
int page_unprotect(unsigned long address);
85 91
void tb_invalidate_page_range(target_ulong start, target_ulong end);
......
145 151
    unsigned int flags; /* flags defining in which context the code was generated */
146 152
    uint16_t size;      /* size of target code for this block (1 <=
147 153
                           size <= TARGET_PAGE_SIZE) */
154
    uint16_t cflags;    /* compile flags */
155
#define CF_CODE_COPY  0x0001 /* block was generated in code copy mode */
156

  
148 157
    uint8_t *tc_ptr;    /* pointer to the translated code */
149 158
    struct TranslationBlock *hash_next; /* next matching tb for virtual address */
150 159
    /* next matching tb for physical address. */
......
552 561
    return addr + env->tlb_read[is_user][index].addend - (unsigned long)phys_ram_base;
553 562
}
554 563
#endif
555

  

Also available in: Unified diff