Diff for /qemu/target-lm32/helper.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 19:03:03 version 1.1.1.2, 2018/04/24 19:31:27
Line 26 Line 26
 #include "host-utils.h"  #include "host-utils.h"
   
 int cpu_lm32_handle_mmu_fault(CPUState *env, target_ulong address, int rw,  int cpu_lm32_handle_mmu_fault(CPUState *env, target_ulong address, int rw,
                                int mmu_idx, int is_softmmu)                                int mmu_idx)
 {  {
     int prot;      int prot;
   
Line 208  CPUState *cpu_lm32_init(const char *cpu_ Line 208  CPUState *cpu_lm32_init(const char *cpu_
         return NULL;          return NULL;
     }      }
   
     env = qemu_mallocz(sizeof(CPUState));      env = g_malloc0(sizeof(CPUState));
   
     env->features = def->features;      env->features = def->features;
     env->num_bps = def->num_breakpoints;      env->num_bps = def->num_breakpoints;
Line 218  CPUState *cpu_lm32_init(const char *cpu_ Line 218  CPUState *cpu_lm32_init(const char *cpu_
   
     cpu_exec_init(env);      cpu_exec_init(env);
     cpu_reset(env);      cpu_reset(env);
       qemu_init_vcpu(env);
   
     if (!tcg_initialized) {      if (!tcg_initialized) {
         tcg_initialized = 1;          tcg_initialized = 1;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com