void mcf_uart_mm_init(MemoryRegion *sysmem,

                      target_phys_addr_t base,

                      qemu_irq irq,

                      CharDriverState *chr)

{

    mcf_uart_state *s;



    s = mcf_uart_init(irq, chr);

    memory_region_init_io(&s->iomem, &mcf_uart_ops, s, "uart", 0x40);

    memory_region_add_subregion(sysmem, base, &s->iomem);

}

void mcf_uart_mm_init(MemoryRegion *sysmem,

                      target_phys_addr_t base,

                      qemu_irq irq,

                      CharDriverState *chr)

{

    mcf_uart_state *s;



    s = mcf_uart_init(irq, chr);

    memory_region_init_io(&s->iomem, &mcf_uart_ops, s, "uart", 0x40);

    memory_region_add_subregion(sysmem, base, &s->iomem);

}

void FUNC_0(MemoryRegion *VAR_0,

                      target_phys_addr_t VAR_1,

                      qemu_irq VAR_2,

                      CharDriverState *VAR_3)

{

    mcf_uart_state *s;



    s = mcf_uart_init(VAR_2, VAR_3);

    memory_region_init_io(&s->iomem, &mcf_uart_ops, s, "uart", 0x40);

    memory_region_add_subregion(VAR_0, VAR_1, &s->iomem);

}

void FUNC_0(MemoryRegion *VAR_0,
target_phys_addr_t VAR_1,
qemu_irq VAR_2,
CharDriverState *VAR_3)
{ mcf_uart_state *s; s = mcf_uart_init(VAR_2, VAR_3); memory_region_init_io(&s->iomem, &mcf_uart_ops, s, "uart", 0x40); memory_region_add_subregion(VAR_0, VAR_1, &s->iomem); }