/[qemu]/qemu/target-arm/translate.c
ViewVC logotype

Diff of /qemu/target-arm/translate.c

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

revision 1.30 by bellard, Sun Nov 20 10:30:32 2005 UTC revision 1.31 by bellard, Mon Nov 21 23:30:54 2005 UTC
# Line 2199  CPUARMState *cpu_arm_init(void) Line 2199  CPUARMState *cpu_arm_init(void)
2199  {  {
2200      CPUARMState *env;      CPUARMState *env;
2201    
2202      cpu_exec_init();      env = qemu_mallocz(sizeof(CPUARMState));
   
     env = malloc(sizeof(CPUARMState));  
2203      if (!env)      if (!env)
2204          return NULL;          return NULL;
2205      memset(env, 0, sizeof(CPUARMState));      cpu_exec_init(env);
     cpu_single_env = env;  
2206      return env;      return env;
2207  }  }
2208    

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

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