static void ich9_cc_write(void *opaque, hwaddr addr,

                          uint64_t val, unsigned len)

{

    ICH9LPCState *lpc = (ICH9LPCState *)opaque;



    ich9_cc_addr_len(&addr, &len);

    memcpy(lpc->chip_config + addr, &val, len);

    pci_bus_fire_intx_routing_notifier(lpc->d.bus);

    ich9_cc_update(lpc);

}

static void ich9_cc_write(void *opaque, hwaddr addr,

                          uint64_t val, unsigned len)

{

    ICH9LPCState *lpc = (ICH9LPCState *)opaque;



    ich9_cc_addr_len(&addr, &len);

    memcpy(lpc->chip_config + addr, &val, len);

    pci_bus_fire_intx_routing_notifier(lpc->d.bus);

    ich9_cc_update(lpc);

}

static void FUNC_0(void *VAR_0, hwaddr VAR_1,

                          uint64_t VAR_2, unsigned VAR_3)

{

    ICH9LPCState *lpc = (ICH9LPCState *)VAR_0;



    ich9_cc_addr_len(&VAR_1, &VAR_3);

    memcpy(lpc->chip_config + VAR_1, &VAR_2, VAR_3);

    pci_bus_fire_intx_routing_notifier(lpc->d.bus);

    ich9_cc_update(lpc);

}

static void FUNC_0(void *VAR_0, hwaddr VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ ICH9LPCState *lpc = (ICH9LPCState *)VAR_0; ich9_cc_addr_len(&VAR_1, &VAR_3); memcpy(lpc->chip_config + VAR_1, &VAR_2, VAR_3); pci_bus_fire_intx_routing_notifier(lpc->d.bus); ich9_cc_update(lpc); }