static void pci_mmio_map(PCIDevice * pci_dev, int region_num,

                         uint32_t addr, uint32_t size, int type)

{

    PCIEEPRO100State *d = DO_UPCAST(PCIEEPRO100State, dev, pci_dev);



    logout("region %d, addr=0x%08x, size=0x%08x, type=%d\n",

           region_num, addr, size, type);



    if (region_num == 0) {

        /* Map control / status registers. */

        cpu_register_physical_memory(addr, size, d->eepro100.mmio_index);

        d->eepro100.region[region_num] = addr;

    }

}

static void pci_mmio_map(PCIDevice * pci_dev, int region_num,

                         uint32_t addr, uint32_t size, int type)

{

    PCIEEPRO100State *d = DO_UPCAST(PCIEEPRO100State, dev, pci_dev);



    logout("region %d, addr=0x%08x, size=0x%08x, type=%d\n",

           region_num, addr, size, type);



    if (region_num == 0) {

        

        cpu_register_physical_memory(addr, size, d->eepro100.mmio_index);

        d->eepro100.region[region_num] = addr;

    }

}

static void FUNC_0(PCIDevice * VAR_0, int VAR_1,

                         uint32_t VAR_2, uint32_t VAR_3, int VAR_4)

{

    PCIEEPRO100State *d = DO_UPCAST(PCIEEPRO100State, dev, VAR_0);



    logout("region %d, VAR_2=0x%08x, VAR_3=0x%08x, VAR_4=%d\n",

           VAR_1, VAR_2, VAR_3, VAR_4);



    if (VAR_1 == 0) {

        

        cpu_register_physical_memory(VAR_2, VAR_3, d->eepro100.mmio_index);

        d->eepro100.region[VAR_1] = VAR_2;

    }

}

static void FUNC_0(PCIDevice * VAR_0, int VAR_1,
uint32_t VAR_2, uint32_t VAR_3, int VAR_4)
{ PCIEEPRO100State *d = DO_UPCAST(PCIEEPRO100State, dev, VAR_0); logout("region %d, VAR_2=0x%08x, VAR_3=0x%08x, VAR_4=%d\n",
VAR_1, VAR_2, VAR_3, VAR_4); if (VAR_1 == 0) { cpu_register_physical_memory(VAR_2, VAR_3, d->eepro100.mmio_index); d->eepro100.region[VAR_1] = VAR_2; } }