static int ppce500_prep_device_tree(MachineState *machine,

                                    PPCE500Params *params,

                                    hwaddr addr,

                                    hwaddr initrd_base,

                                    hwaddr initrd_size)

{

    DeviceTreeParams *p = g_new(DeviceTreeParams, 1);

    p->machine = machine;

    p->params = *params;

    p->addr = addr;

    p->initrd_base = initrd_base;

    p->initrd_size = initrd_size;



    qemu_register_reset(ppce500_reset_device_tree, p);



    /* Issue the device tree loader once, so that we get the size of the blob */

    return ppce500_load_device_tree(machine, params, addr, initrd_base,

                                    initrd_size, true);

}

static int ppce500_prep_device_tree(MachineState *machine,

                                    PPCE500Params *params,

                                    hwaddr addr,

                                    hwaddr initrd_base,

                                    hwaddr initrd_size)

{

    DeviceTreeParams *p = g_new(DeviceTreeParams, 1);

    p->machine = machine;

    p->params = *params;

    p->addr = addr;

    p->initrd_base = initrd_base;

    p->initrd_size = initrd_size;



    qemu_register_reset(ppce500_reset_device_tree, p);



    

    return ppce500_load_device_tree(machine, params, addr, initrd_base,

                                    initrd_size, true);

}

static int FUNC_0(MachineState *VAR_0,

                                    PPCE500Params *VAR_1,

                                    hwaddr VAR_2,

                                    hwaddr VAR_3,

                                    hwaddr VAR_4)

{

    DeviceTreeParams *p = g_new(DeviceTreeParams, 1);

    p->VAR_0 = VAR_0;

    p->VAR_1 = *VAR_1;

    p->VAR_2 = VAR_2;

    p->VAR_3 = VAR_3;

    p->VAR_4 = VAR_4;



    qemu_register_reset(ppce500_reset_device_tree, p);



    

    return ppce500_load_device_tree(VAR_0, VAR_1, VAR_2, VAR_3,

                                    VAR_4, true);

}

static int FUNC_0(MachineState *VAR_0,
PPCE500Params *VAR_1,
hwaddr VAR_2,
hwaddr VAR_3,
hwaddr VAR_4)
{ DeviceTreeParams *p = g_new(DeviceTreeParams, 1); p->VAR_0 = VAR_0; p->VAR_1 = *VAR_1; p->VAR_2 = VAR_2; p->VAR_3 = VAR_3; p->VAR_4 = VAR_4; qemu_register_reset(ppce500_reset_device_tree, p); return ppce500_load_device_tree(VAR_0, VAR_1, VAR_2, VAR_3,
VAR_4, true); }