static void uc32_cpu_initfn(Object *obj)

{

    CPUState *cs = CPU(obj);

    UniCore32CPU *cpu = UNICORE32_CPU(obj);

    CPUUniCore32State *env = &cpu->env;

    static bool inited;



    cs->env_ptr = env;

    cpu_exec_init(cs, &error_abort);



#ifdef CONFIG_USER_ONLY

    env->uncached_asr = ASR_MODE_USER;

    env->regs[31] = 0;

#else

    env->uncached_asr = ASR_MODE_PRIV;

    env->regs[31] = 0x03000000;

#endif



    tlb_flush(cs, 1);



    if (tcg_enabled() && !inited) {

        inited = true;

        uc32_translate_init();

    }

}

static void uc32_cpu_initfn(Object *obj)

{

    CPUState *cs = CPU(obj);

    UniCore32CPU *cpu = UNICORE32_CPU(obj);

    CPUUniCore32State *env = &cpu->env;

    static bool inited;



    cs->env_ptr = env;

    cpu_exec_init(cs, &error_abort);



#ifdef CONFIG_USER_ONLY

    env->uncached_asr = ASR_MODE_USER;

    env->regs[31] = 0;

#else

    env->uncached_asr = ASR_MODE_PRIV;

    env->regs[31] = 0x03000000;

#endif



    tlb_flush(cs, 1);



    if (tcg_enabled() && !inited) {

        inited = true;

        uc32_translate_init();

    }

}

    cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);     cpu_exec_init(cs, &error_abort);
static void FUNC_0(Object *VAR_0)

{

    CPUState *cs = CPU(VAR_0);

    UniCore32CPU *cpu = UNICORE32_CPU(VAR_0);

    CPUUniCore32State *env = &cpu->env;

    static bool VAR_1;



    cs->env_ptr = env;

    cpu_exec_init(cs, &error_abort);



#ifdef CONFIG_USER_ONLY

    env->uncached_asr = ASR_MODE_USER;

    env->regs[31] = 0;

#else

    env->uncached_asr = ASR_MODE_PRIV;

    env->regs[31] = 0x03000000;

#endif



    tlb_flush(cs, 1);



    if (tcg_enabled() && !VAR_1) {

        VAR_1 = true;

        uc32_translate_init();

    }

}

static void FUNC_0(Object *VAR_0)
{ CPUState *cs = CPU(VAR_0); UniCore32CPU *cpu = UNICORE32_CPU(VAR_0); CPUUniCore32State *env = &cpu->env; static bool VAR_1; cs->env_ptr = env; cpu_exec_init(cs, &error_abort); #ifdef CONFIG_USER_ONLY
env->uncached_asr = ASR_MODE_USER; env->regs[31] = 0; #else
env->uncached_asr = ASR_MODE_PRIV; env->regs[31] = 0x03000000; #endif
tlb_flush(cs, 1); if (tcg_enabled() && !VAR_1) { VAR_1 = true; uc32_translate_init(); } }