]> git.proxmox.com Git - qemu.git/blobdiff - exec.c
ARM emulation support
[qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index 2e84f557b4fa0dd98ea5e4ff0b7abee2b0bfd479..16213dcf8a9414b9fff742266fe7e085d4cf572c 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -70,7 +70,7 @@ unsigned long host_page_mask;
 
 static PageDesc *l1_map[L1_SIZE];
 
-void page_init(void)
+static void page_init(void)
 {
     /* NOTE: we can always suppose that host_page_size >=
        TARGET_PAGE_SIZE */
@@ -190,10 +190,11 @@ void page_set_flags(unsigned long start, unsigned long end, int flags)
     spin_unlock(&tb_lock);
 }
 
-void cpu_x86_tblocks_init(void)
+void cpu_exec_init(void)
 {
     if (!code_gen_ptr) {
         code_gen_ptr = code_gen_buffer;
+        page_init();
     }
 }