Revision 24ab68ac

b/exec-all.h
191 191
void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr);
192 192

  
193 193
extern TranslationBlock *tb_phys_hash[CODE_GEN_PHYS_HASH_SIZE];
194
extern uint8_t *code_gen_ptr;
195
extern int code_gen_max_blocks;
196 194

  
197 195
#if defined(USE_DIRECT_JUMP)
198 196

  
b/exec.c
80 80
#define SMC_BITMAP_USE_THRESHOLD 10
81 81

  
82 82
static TranslationBlock *tbs;
83
int code_gen_max_blocks;
83
static int code_gen_max_blocks;
84 84
TranslationBlock *tb_phys_hash[CODE_GEN_PHYS_HASH_SIZE];
85 85
static int nb_tbs;
86 86
/* any access to the tbs or the page table must use this lock */
......
107 107
static unsigned long code_gen_buffer_size;
108 108
/* threshold to flush the translated code buffer */
109 109
static unsigned long code_gen_buffer_max_size;
110
uint8_t *code_gen_ptr;
110
static uint8_t *code_gen_ptr;
111 111

  
112 112
#if !defined(CONFIG_USER_ONLY)
113 113
int phys_ram_fd;

Also available in: Unified diff