static void omap_pwt_init(target_phys_addr_t base, struct omap_mpu_state_s *s,

                omap_clk clk)

{

    int iomemtype;



    s->pwt.base = base;

    s->pwt.clk = clk;

    omap_pwt_reset(s);



    iomemtype = cpu_register_io_memory(0, omap_pwt_readfn,

                    omap_pwt_writefn, s);

    cpu_register_physical_memory(s->pwt.base, 0x800, iomemtype);

}

static void omap_pwt_init(target_phys_addr_t base, struct omap_mpu_state_s *s,

                omap_clk clk)

{

    int iomemtype;



    s->pwt.base = base;

    s->pwt.clk = clk;

    omap_pwt_reset(s);



    iomemtype = cpu_register_io_memory(0, omap_pwt_readfn,

                    omap_pwt_writefn, s);

    cpu_register_physical_memory(s->pwt.base, 0x800, iomemtype);

}

static void FUNC_0(target_phys_addr_t VAR_0, struct omap_mpu_state_s *VAR_1,

                omap_clk VAR_2)

{

    int VAR_3;



    VAR_1->pwt.VAR_0 = VAR_0;

    VAR_1->pwt.VAR_2 = VAR_2;

    omap_pwt_reset(VAR_1);



    VAR_3 = cpu_register_io_memory(0, omap_pwt_readfn,

                    omap_pwt_writefn, VAR_1);

    cpu_register_physical_memory(VAR_1->pwt.VAR_0, 0x800, VAR_3);

}

static void FUNC_0(target_phys_addr_t VAR_0, struct omap_mpu_state_s *VAR_1,
omap_clk VAR_2)
{ int VAR_3; VAR_1->pwt.VAR_0 = VAR_0; VAR_1->pwt.VAR_2 = VAR_2; omap_pwt_reset(VAR_1); VAR_3 = cpu_register_io_memory(0, omap_pwt_readfn,
omap_pwt_writefn, VAR_1); cpu_register_physical_memory(VAR_1->pwt.VAR_0, 0x800, VAR_3); }