/[qemu]/qemu/linux-user/main.c
ViewVC logotype

Diff of /qemu/linux-user/main.c

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

revision 1.73 by bellard, Sat Nov 26 10:38:38 2005 UTC revision 1.74 by bellard, Sat Nov 26 11:41:16 2005 UTC
# Line 1098  int main(int argc, char **argv) Line 1098  int main(int argc, char **argv)
1098      /* NOTE: we need to init the CPU at this stage to get      /* NOTE: we need to init the CPU at this stage to get
1099         qemu_host_page_size */         qemu_host_page_size */
1100      env = cpu_init();      env = cpu_init();
1101        global_env = env;
1102            
1103      if (elf_exec(filename, argv+optind, environ, regs, info) != 0) {      if (elf_exec(filename, argv+optind, environ, regs, info) != 0) {
1104          printf("Error loading %s\n", filename);          printf("Error loading %s\n", filename);
# Line 1120  int main(int argc, char **argv) Line 1121  int main(int argc, char **argv)
1121      syscall_init();      syscall_init();
1122      signal_init();      signal_init();
1123    
     global_env = env;  
   
1124      /* build Task State */      /* build Task State */
1125      memset(ts, 0, sizeof(TaskState));      memset(ts, 0, sizeof(TaskState));
1126      env->opaque = ts;      env->opaque = ts;

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

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