void usb_ohci_init_pxa(target_phys_addr_t base, int num_ports, int devfn,

                       qemu_irq irq)

{

    OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));



    usb_ohci_init(ohci, num_ports, devfn, irq,

                  OHCI_TYPE_PXA, "OHCI USB");

    ohci->mem_base = base;



    cpu_register_physical_memory(ohci->mem_base, 0xfff, ohci->mem);

}

void usb_ohci_init_pxa(target_phys_addr_t base, int num_ports, int devfn,

                       qemu_irq irq)

{

    OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));



    usb_ohci_init(ohci, num_ports, devfn, irq,

                  OHCI_TYPE_PXA, "OHCI USB");

    ohci->mem_base = base;



    cpu_register_physical_memory(ohci->mem_base, 0xfff, ohci->mem);

}

    cpu_register_physical_memory(ohci->mem_base, 0xfff, ohci->mem);
void FUNC_0(target_phys_addr_t VAR_0, int VAR_1, int VAR_2,

                       qemu_irq VAR_3)

{

    OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));



    usb_ohci_init(ohci, VAR_1, VAR_2, VAR_3,

                  OHCI_TYPE_PXA, "OHCI USB");

    ohci->mem_base = VAR_0;



    cpu_register_physical_memory(ohci->mem_base, 0xfff, ohci->mem);

}

void FUNC_0(target_phys_addr_t VAR_0, int VAR_1, int VAR_2,
qemu_irq VAR_3)
{ OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState)); usb_ohci_init(ohci, VAR_1, VAR_2, VAR_3,
OHCI_TYPE_PXA, "OHCI USB"); ohci->mem_base = VAR_0; cpu_register_physical_memory(ohci->mem_base, 0xfff, ohci->mem); }