Revision c227f099 hw/eccmemctl.c

b/hw/eccmemctl.c
133 133
    uint32_t version;
134 134
} ECCState;
135 135

  
136
static void ecc_mem_writel(void *opaque, a_target_phys_addr addr, uint32_t val)
136
static void ecc_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val)
137 137
{
138 138
    ECCState *s = opaque;
139 139

  
......
175 175
    }
176 176
}
177 177

  
178
static uint32_t ecc_mem_readl(void *opaque, a_target_phys_addr addr)
178
static uint32_t ecc_mem_readl(void *opaque, target_phys_addr_t addr)
179 179
{
180 180
    ECCState *s = opaque;
181 181
    uint32_t ret = 0;
......
233 233
    ecc_mem_writel,
234 234
};
235 235

  
236
static void ecc_diag_mem_writeb(void *opaque, a_target_phys_addr addr,
236
static void ecc_diag_mem_writeb(void *opaque, target_phys_addr_t addr,
237 237
                                uint32_t val)
238 238
{
239 239
    ECCState *s = opaque;
......
242 242
    s->diag[addr & ECC_DIAG_MASK] = val;
243 243
}
244 244

  
245
static uint32_t ecc_diag_mem_readb(void *opaque, a_target_phys_addr addr)
245
static uint32_t ecc_diag_mem_readb(void *opaque, target_phys_addr_t addr)
246 246
{
247 247
    ECCState *s = opaque;
248 248
    uint32_t ret = s->diag[(int)addr];

Also available in: Unified diff