static void do_cpu_reset(void *opaque)

{

    ARMCPU *cpu = opaque;

    CPUARMState *env = &cpu->env;

    const struct arm_boot_info *info = env->boot_info;



    cpu_reset(CPU(cpu));

    if (info) {

        if (!info->is_linux) {

            /* Jump to the entry point.  */

            env->regs[15] = info->entry & 0xfffffffe;

            env->thumb = info->entry & 1;

        } else {

            if (CPU(cpu) == first_cpu) {

                env->regs[15] = info->loader_start;

                if (!info->dtb_filename) {

                    if (old_param) {

                        set_kernel_args_old(info);

                    } else {

                        set_kernel_args(info);

                    }

                }

            } else {

                info->secondary_cpu_reset_hook(cpu, info);

            }

        }

    }

}

static void do_cpu_reset(void *opaque)

{

    ARMCPU *cpu = opaque;

    CPUARMState *env = &cpu->env;

    const struct arm_boot_info *info = env->boot_info;



    cpu_reset(CPU(cpu));

    if (info) {

        if (!info->is_linux) {

            

            env->regs[15] = info->entry & 0xfffffffe;

            env->thumb = info->entry & 1;

        } else {

            if (CPU(cpu) == first_cpu) {

                env->regs[15] = info->loader_start;

                if (!info->dtb_filename) {

                    if (old_param) {

                        set_kernel_args_old(info);

                    } else {

                        set_kernel_args(info);

                    }

                }

            } else {

                info->secondary_cpu_reset_hook(cpu, info);

            }

        }

    }

}

static void FUNC_0(void *VAR_0)

{

    ARMCPU *cpu = VAR_0;

    CPUARMState *env = &cpu->env;

    const struct arm_boot_info *VAR_1 = env->boot_info;



    cpu_reset(CPU(cpu));

    if (VAR_1) {

        if (!VAR_1->is_linux) {

            

            env->regs[15] = VAR_1->entry & 0xfffffffe;

            env->thumb = VAR_1->entry & 1;

        } else {

            if (CPU(cpu) == first_cpu) {

                env->regs[15] = VAR_1->loader_start;

                if (!VAR_1->dtb_filename) {

                    if (old_param) {

                        set_kernel_args_old(VAR_1);

                    } else {

                        set_kernel_args(VAR_1);

                    }

                }

            } else {

                VAR_1->secondary_cpu_reset_hook(cpu, VAR_1);

            }

        }

    }

}

static void FUNC_0(void *VAR_0)
{ ARMCPU *cpu = VAR_0; CPUARMState *env = &cpu->env; const struct arm_boot_info *VAR_1 = env->boot_info; cpu_reset(CPU(cpu)); if (VAR_1) { if (!VAR_1->is_linux) { env->regs[15] = VAR_1->entry & 0xfffffffe; env->thumb = VAR_1->entry & 1; } else { if (CPU(cpu) == first_cpu) { env->regs[15] = VAR_1->loader_start; if (!VAR_1->dtb_filename) { if (old_param) { set_kernel_args_old(VAR_1); } else { set_kernel_args(VAR_1); } } } else { VAR_1->secondary_cpu_reset_hook(cpu, VAR_1); } } } }