Revision c227f099 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
        a_target_phys_addr addr;
67
        target_phys_addr_t 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
                a_target_phys_addr addr)
108
                target_phys_addr_t addr)
109 109
{
110 110
    struct memmap_entry_s *lo;
111 111
    int hi;
......
254 254
    return &s->soc;
255 255
}
256 256

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

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

Also available in: Unified diff