void pxa27x_timer_init(target_phys_addr_t base,

                qemu_irq *irqs, qemu_irq irq4)

{

    pxa2xx_timer_info *s = pxa2xx_timer_init(base, irqs);

    int i;

    s->freq = PXA27X_FREQ;

    s->tm4 = (PXA2xxTimer4 *) qemu_mallocz(8 *

                    sizeof(PXA2xxTimer4));

    for (i = 0; i < 8; i ++) {

        s->tm4[i].tm.value = 0;

        s->tm4[i].tm.irq = irq4;

        s->tm4[i].tm.info = s;

        s->tm4[i].tm.num = i + 4;

        s->tm4[i].tm.level = 0;

        s->tm4[i].freq = 0;

        s->tm4[i].control = 0x0;

        s->tm4[i].tm.qtimer = qemu_new_timer(vm_clock,

                        pxa2xx_timer_tick4, &s->tm4[i]);

    }

}

void pxa27x_timer_init(target_phys_addr_t base,

                qemu_irq *irqs, qemu_irq irq4)

{

    pxa2xx_timer_info *s = pxa2xx_timer_init(base, irqs);

    int i;

    s->freq = PXA27X_FREQ;

    s->tm4 = (PXA2xxTimer4 *) qemu_mallocz(8 *

                    sizeof(PXA2xxTimer4));

    for (i = 0; i < 8; i ++) {

        s->tm4[i].tm.value = 0;

        s->tm4[i].tm.irq = irq4;

        s->tm4[i].tm.info = s;

        s->tm4[i].tm.num = i + 4;

        s->tm4[i].tm.level = 0;

        s->tm4[i].freq = 0;

        s->tm4[i].control = 0x0;

        s->tm4[i].tm.qtimer = qemu_new_timer(vm_clock,

                        pxa2xx_timer_tick4, &s->tm4[i]);

    }

}

void FUNC_0(target_phys_addr_t VAR_0,

                qemu_irq *VAR_1, qemu_irq VAR_2)

{

    pxa2xx_timer_info *s = pxa2xx_timer_init(VAR_0, VAR_1);

    int VAR_3;

    s->freq = PXA27X_FREQ;

    s->tm4 = (PXA2xxTimer4 *) qemu_mallocz(8 *

                    sizeof(PXA2xxTimer4));

    for (VAR_3 = 0; VAR_3 < 8; VAR_3 ++) {

        s->tm4[VAR_3].tm.value = 0;

        s->tm4[VAR_3].tm.irq = VAR_2;

        s->tm4[VAR_3].tm.info = s;

        s->tm4[VAR_3].tm.num = VAR_3 + 4;

        s->tm4[VAR_3].tm.level = 0;

        s->tm4[VAR_3].freq = 0;

        s->tm4[VAR_3].control = 0x0;

        s->tm4[VAR_3].tm.qtimer = qemu_new_timer(vm_clock,

                        pxa2xx_timer_tick4, &s->tm4[VAR_3]);

    }

}

void FUNC_0(target_phys_addr_t VAR_0,
qemu_irq *VAR_1, qemu_irq VAR_2)
{ pxa2xx_timer_info *s = pxa2xx_timer_init(VAR_0, VAR_1); int VAR_3; s->freq = PXA27X_FREQ; s->tm4 = (PXA2xxTimer4 *) qemu_mallocz(8 *
sizeof(PXA2xxTimer4)); for (VAR_3 = 0; VAR_3 < 8; VAR_3 ++) { s->tm4[VAR_3].tm.value = 0; s->tm4[VAR_3].tm.irq = VAR_2; s->tm4[VAR_3].tm.info = s; s->tm4[VAR_3].tm.num = VAR_3 + 4; s->tm4[VAR_3].tm.level = 0; s->tm4[VAR_3].freq = 0; s->tm4[VAR_3].control = 0x0; s->tm4[VAR_3].tm.qtimer = qemu_new_timer(vm_clock,
pxa2xx_timer_tick4, &s->tm4[VAR_3]); } }