static void *iommu_init(target_phys_addr_t addr, uint32_t version, qemu_irq irq)

{

    DeviceState *dev;

    SysBusDevice *s;



    dev = qdev_create(NULL, "iommu");

    qdev_prop_set_uint32(dev, "version", version);

    qdev_init(dev);

    s = sysbus_from_qdev(dev);

    sysbus_connect_irq(s, 0, irq);

    sysbus_mmio_map(s, 0, addr);



    return s;

}

static void *iommu_init(target_phys_addr_t addr, uint32_t version, qemu_irq irq)

{

    DeviceState *dev;

    SysBusDevice *s;



    dev = qdev_create(NULL, "iommu");

    qdev_prop_set_uint32(dev, "version", version);

    qdev_init(dev);

    s = sysbus_from_qdev(dev);

    sysbus_connect_irq(s, 0, irq);

    sysbus_mmio_map(s, 0, addr);



    return s;

}

    qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);     qdev_init(dev);
static void *FUNC_0(target_phys_addr_t VAR_0, uint32_t VAR_1, qemu_irq VAR_2)

{

    DeviceState *dev;

    SysBusDevice *s;



    dev = qdev_create(NULL, "iommu");

    qdev_prop_set_uint32(dev, "VAR_1", VAR_1);

    qdev_init(dev);

    s = sysbus_from_qdev(dev);

    sysbus_connect_irq(s, 0, VAR_2);

    sysbus_mmio_map(s, 0, VAR_0);



    return s;

}

static void *FUNC_0(target_phys_addr_t VAR_0, uint32_t VAR_1, qemu_irq VAR_2)
{ DeviceState *dev; SysBusDevice *s; dev = qdev_create(NULL, "iommu"); qdev_prop_set_uint32(dev, "VAR_1", VAR_1); qdev_init(dev); s = sysbus_from_qdev(dev); sysbus_connect_irq(s, 0, VAR_2); sysbus_mmio_map(s, 0, VAR_0); return s; }