struct omap_sdrc_s *omap_sdrc_init(MemoryRegion *sysmem,

                                   hwaddr base)

{

    struct omap_sdrc_s *s = (struct omap_sdrc_s *)

            g_malloc0(sizeof(struct omap_sdrc_s));



    omap_sdrc_reset(s);



    memory_region_init_io(&s->iomem, NULL, &omap_sdrc_ops, s, "omap.sdrc", 0x1000);

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



    return s;

}

struct omap_sdrc_s *omap_sdrc_init(MemoryRegion *sysmem,

                                   hwaddr base)

{

    struct omap_sdrc_s *s = (struct omap_sdrc_s *)

            g_malloc0(sizeof(struct omap_sdrc_s));



    omap_sdrc_reset(s);



    memory_region_init_io(&s->iomem, NULL, &omap_sdrc_ops, s, "omap.sdrc", 0x1000);

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



    return s;

}

    struct omap_sdrc_s *s = (struct omap_sdrc_s *)             g_malloc0(sizeof(struct omap_sdrc_s));
struct omap_sdrc_s *FUNC_0(MemoryRegion *VAR_0,

                                   hwaddr VAR_1)

{

    struct omap_sdrc_s *VAR_2 = (struct omap_sdrc_s *)

            g_malloc0(sizeof(struct omap_sdrc_s));



    omap_sdrc_reset(VAR_2);



    memory_region_init_io(&VAR_2->iomem, NULL, &omap_sdrc_ops, VAR_2, "omap.sdrc", 0x1000);

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



    return VAR_2;

}

struct omap_sdrc_s *FUNC_0(MemoryRegion *VAR_0,
hwaddr VAR_1)
{ struct omap_sdrc_s *VAR_2 = (struct omap_sdrc_s *)
g_malloc0(sizeof(struct omap_sdrc_s)); omap_sdrc_reset(VAR_2); memory_region_init_io(&VAR_2->iomem, NULL, &omap_sdrc_ops, VAR_2, "omap.sdrc", 0x1000); memory_region_add_subregion(VAR_0, VAR_1, &VAR_2->iomem); return VAR_2; }