static void gt64120_write_config(PCIDevice *d, uint32_t address, uint32_t val,

                                 int len)

{

#ifdef TARGET_WORDS_BIGENDIAN

    val = bswap32(val);

#endif

    pci_default_write_config(d, address, val, len);

}

static void gt64120_write_config(PCIDevice *d, uint32_t address, uint32_t val,

                                 int len)

{

#ifdef TARGET_WORDS_BIGENDIAN

    val = bswap32(val);

#endif

    pci_default_write_config(d, address, val, len);

}

static void FUNC_0(PCIDevice *VAR_0, uint32_t VAR_1, uint32_t VAR_2,

                                 int VAR_3)

{

#ifdef TARGET_WORDS_BIGENDIAN

    VAR_2 = bswap32(VAR_2);

#endif

    pci_default_write_config(VAR_0, VAR_1, VAR_2, VAR_3);

}

static void FUNC_0(PCIDevice *VAR_0, uint32_t VAR_1, uint32_t VAR_2,
int VAR_3)
{ #ifdef TARGET_WORDS_BIGENDIAN
VAR_2 = bswap32(VAR_2); #endif
pci_default_write_config(VAR_0, VAR_1, VAR_2, VAR_3); }