static void option_rom_setup_reset(target_phys_addr_t addr, unsigned size)

{

    RomResetData *rrd = qemu_malloc(sizeof *rrd);



    rrd->data = qemu_malloc(size);

    cpu_physical_memory_read(addr, rrd->data, size);

    rrd->addr = addr;

    rrd->size = size;

    qemu_register_reset(option_rom_reset, rrd);

}

static void option_rom_setup_reset(target_phys_addr_t addr, unsigned size)

{

    RomResetData *rrd = qemu_malloc(sizeof *rrd);



    rrd->data = qemu_malloc(size);

    cpu_physical_memory_read(addr, rrd->data, size);

    rrd->addr = addr;

    rrd->size = size;

    qemu_register_reset(option_rom_reset, rrd);

}

static void FUNC_0(target_phys_addr_t VAR_0, unsigned VAR_1)

{

    RomResetData *rrd = qemu_malloc(sizeof *rrd);



    rrd->data = qemu_malloc(VAR_1);

    cpu_physical_memory_read(VAR_0, rrd->data, VAR_1);

    rrd->VAR_0 = VAR_0;

    rrd->VAR_1 = VAR_1;

    qemu_register_reset(option_rom_reset, rrd);

}

static void FUNC_0(target_phys_addr_t VAR_0, unsigned VAR_1)
{ RomResetData *rrd = qemu_malloc(sizeof *rrd); rrd->data = qemu_malloc(VAR_1); cpu_physical_memory_read(VAR_0, rrd->data, VAR_1); rrd->VAR_0 = VAR_0; rrd->VAR_1 = VAR_1; qemu_register_reset(option_rom_reset, rrd); }