Revision a8170e5e hw/xilinx_axidma.c

b/hw/xilinx_axidma.c
140 140
}
141 141

  
142 142
/* Map an offset addr into a channel index.  */
143
static inline int streamid_from_addr(target_phys_addr_t addr)
143
static inline int streamid_from_addr(hwaddr addr)
144 144
{
145 145
    int sid;
146 146

  
......
159 159
}
160 160
#endif
161 161

  
162
static void stream_desc_load(struct Stream *s, target_phys_addr_t addr)
162
static void stream_desc_load(struct Stream *s, hwaddr addr)
163 163
{
164 164
    struct SDesc *d = &s->desc;
165 165
    int i;
......
176 176
    }
177 177
}
178 178

  
179
static void stream_desc_store(struct Stream *s, target_phys_addr_t addr)
179
static void stream_desc_store(struct Stream *s, hwaddr addr)
180 180
{
181 181
    struct SDesc *d = &s->desc;
182 182
    int i;
......
364 364
    stream_update_irq(s);
365 365
}
366 366

  
367
static uint64_t axidma_read(void *opaque, target_phys_addr_t addr,
367
static uint64_t axidma_read(void *opaque, hwaddr addr,
368 368
                            unsigned size)
369 369
{
370 370
    struct XilinxAXIDMA *d = opaque;
......
399 399

  
400 400
}
401 401

  
402
static void axidma_write(void *opaque, target_phys_addr_t addr,
402
static void axidma_write(void *opaque, hwaddr addr,
403 403
                         uint64_t value, unsigned size)
404 404
{
405 405
    struct XilinxAXIDMA *d = opaque;

Also available in: Unified diff