]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/main.c
accel/tcg: Replace CPUState.env_ptr with cpu_env()
[mirror_qemu.git] / bsd-user / main.c
index 381bb18df80cb0b97bc020ede2fb3e0f9e2324da..6c9addb75aee0a1dcc889401296ac515f712f8f6 100644 (file)
@@ -462,7 +462,7 @@ int main(int argc, char **argv)
         ac->init_machine(NULL);
     }
     cpu = cpu_create(cpu_type);
-    env = cpu->env_ptr;
+    env = cpu_env(cpu);
     cpu_reset(cpu);
     thread_cpu = cpu;
 
@@ -553,8 +553,6 @@ int main(int argc, char **argv)
             fprintf(f, "page layout changed following binary load\n");
             page_dump(f);
 
-            fprintf(f, "start_brk   0x" TARGET_ABI_FMT_lx "\n",
-                    info->start_brk);
             fprintf(f, "end_code    0x" TARGET_ABI_FMT_lx "\n",
                     info->end_code);
             fprintf(f, "start_code  0x" TARGET_ABI_FMT_lx "\n",