Revision a8170e5e hw/soc_dma.c

b/hw/soc_dma.c
64 64

  
65 65
    struct memmap_entry_s {
66 66
        enum soc_dma_port_type type;
67
        target_phys_addr_t addr;
67
        hwaddr addr;
68 68
        union {
69 69
           struct {
70 70
               void *opaque;
......
105 105
}
106 106

  
107 107
static inline struct memmap_entry_s *soc_dma_lookup(struct dma_s *dma,
108
                target_phys_addr_t addr)
108
                hwaddr addr)
109 109
{
110 110
    struct memmap_entry_s *lo;
111 111
    int hi;
......
255 255
    return &s->soc;
256 256
}
257 257

  
258
void soc_dma_port_add_fifo(struct soc_dma_s *soc, target_phys_addr_t virt_base,
258
void soc_dma_port_add_fifo(struct soc_dma_s *soc, hwaddr virt_base,
259 259
                soc_dma_io_t fn, void *opaque, int out)
260 260
{
261 261
    struct memmap_entry_s *entry;
......
308 308
}
309 309

  
310 310
void soc_dma_port_add_mem(struct soc_dma_s *soc, uint8_t *phys_base,
311
                target_phys_addr_t virt_base, size_t size)
311
                hwaddr virt_base, size_t size)
312 312
{
313 313
    struct memmap_entry_s *entry;
314 314
    struct dma_s *dma = (struct dma_s *) soc;

Also available in: Unified diff