static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val)

{

    struct pci_status *g = opaque;

    switch (addr) {

        case PCI_BASE:

            g->up = val;

            break;

        case PCI_BASE + 4:

            g->down = val;

            break;

   }



    PIIX4_DPRINTF("pcihotplug write %x <== %d\n", addr, val);

}

static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val)

{

    struct pci_status *g = opaque;

    switch (addr) {

        case PCI_BASE:

            g->up = val;

            break;

        case PCI_BASE + 4:

            g->down = val;

            break;

   }



    PIIX4_DPRINTF("pcihotplug write %x <== %d\n", addr, val);

}

    struct pci_status *g = opaque;     switch (addr) {         case PCI_BASE:             break;         case PCI_BASE + 4:             break;             break; static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val)     struct pci_status *g = opaque;     switch (addr) {         case PCI_BASE:             g->up = val;             break;         case PCI_BASE + 4:             g->down = val;             break;     PIIX4_DPRINTF("pcihotplug write %x <== %d\n", addr, val);
static void FUNC_0(void *VAR_0, uint32_t VAR_1, uint32_t VAR_2)

{

    struct pci_status *VAR_3 = VAR_0;

    switch (VAR_1) {

        case PCI_BASE:

            VAR_3->up = VAR_2;

            break;

        case PCI_BASE + 4:

            VAR_3->down = VAR_2;

            break;

   }



    PIIX4_DPRINTF("pcihotplug write %x <== %d\n", VAR_1, VAR_2);

}

static void FUNC_0(void *VAR_0, uint32_t VAR_1, uint32_t VAR_2)
{ struct pci_status *VAR_3 = VAR_0; switch (VAR_1) { case PCI_BASE:
VAR_3->up = VAR_2; break; case PCI_BASE + 4:
VAR_3->down = VAR_2; break; } PIIX4_DPRINTF("pcihotplug write %x <== %d\n", VAR_1, VAR_2); }