Revision a8170e5e hw/pcnet-pci.c

b/hw/pcnet-pci.c
71 71
    return val;
72 72
}
73 73

  
74
static uint64_t pcnet_ioport_read(void *opaque, target_phys_addr_t addr,
74
static uint64_t pcnet_ioport_read(void *opaque, hwaddr addr,
75 75
                                  unsigned size)
76 76
{
77 77
    PCNetState *d = opaque;
......
98 98
    return ((uint64_t)1 << (size * 8)) - 1;
99 99
}
100 100

  
101
static void pcnet_ioport_write(void *opaque, target_phys_addr_t addr,
101
static void pcnet_ioport_write(void *opaque, hwaddr addr,
102 102
                               uint64_t data, unsigned size)
103 103
{
104 104
    PCNetState *d = opaque;
......
130 130
    .endianness = DEVICE_NATIVE_ENDIAN,
131 131
};
132 132

  
133
static void pcnet_mmio_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
133
static void pcnet_mmio_writeb(void *opaque, hwaddr addr, uint32_t val)
134 134
{
135 135
    PCNetState *d = opaque;
136 136
#ifdef PCNET_DEBUG_IO
......
141 141
        pcnet_aprom_writeb(d, addr & 0x0f, val);
142 142
}
143 143

  
144
static uint32_t pcnet_mmio_readb(void *opaque, target_phys_addr_t addr)
144
static uint32_t pcnet_mmio_readb(void *opaque, hwaddr addr)
145 145
{
146 146
    PCNetState *d = opaque;
147 147
    uint32_t val = -1;
......
154 154
    return val;
155 155
}
156 156

  
157
static void pcnet_mmio_writew(void *opaque, target_phys_addr_t addr, uint32_t val)
157
static void pcnet_mmio_writew(void *opaque, hwaddr addr, uint32_t val)
158 158
{
159 159
    PCNetState *d = opaque;
160 160
#ifdef PCNET_DEBUG_IO
......
170 170
    }
171 171
}
172 172

  
173
static uint32_t pcnet_mmio_readw(void *opaque, target_phys_addr_t addr)
173
static uint32_t pcnet_mmio_readw(void *opaque, hwaddr addr)
174 174
{
175 175
    PCNetState *d = opaque;
176 176
    uint32_t val = -1;
......
189 189
    return val;
190 190
}
191 191

  
192
static void pcnet_mmio_writel(void *opaque, target_phys_addr_t addr, uint32_t val)
192
static void pcnet_mmio_writel(void *opaque, hwaddr addr, uint32_t val)
193 193
{
194 194
    PCNetState *d = opaque;
195 195
#ifdef PCNET_DEBUG_IO
......
207 207
    }
208 208
}
209 209

  
210
static uint32_t pcnet_mmio_readl(void *opaque, target_phys_addr_t addr)
210
static uint32_t pcnet_mmio_readl(void *opaque, hwaddr addr)
211 211
{
212 212
    PCNetState *d = opaque;
213 213
    uint32_t val;
......
252 252
    .endianness = DEVICE_NATIVE_ENDIAN,
253 253
};
254 254

  
255
static void pci_physical_memory_write(void *dma_opaque, target_phys_addr_t addr,
255
static void pci_physical_memory_write(void *dma_opaque, hwaddr addr,
256 256
                                      uint8_t *buf, int len, int do_bswap)
257 257
{
258 258
    pci_dma_write(dma_opaque, addr, buf, len);
259 259
}
260 260

  
261
static void pci_physical_memory_read(void *dma_opaque, target_phys_addr_t addr,
261
static void pci_physical_memory_read(void *dma_opaque, hwaddr addr,
262 262
                                     uint8_t *buf, int len, int do_bswap)
263 263
{
264 264
    pci_dma_read(dma_opaque, addr, buf, len);

Also available in: Unified diff