Revision c227f099 hw/axis_dev88.c

b/hw/axis_dev88.c
44 44
};
45 45

  
46 46
static struct nand_state_t nand_state;
47
static uint32_t nand_readl (void *opaque, a_target_phys_addr addr)
47
static uint32_t nand_readl (void *opaque, target_phys_addr_t addr)
48 48
{
49 49
    struct nand_state_t *s = opaque;
50 50
    uint32_t r;
......
59 59
}
60 60

  
61 61
static void
62
nand_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
62
nand_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
63 63
{
64 64
    struct nand_state_t *s = opaque;
65 65
    int rdy;
......
168 168
    uint32_t regs[0x5c / 4];
169 169
} gpio_state;
170 170

  
171
static uint32_t gpio_readl (void *opaque, a_target_phys_addr addr)
171
static uint32_t gpio_readl (void *opaque, target_phys_addr_t addr)
172 172
{
173 173
    struct gpio_state_t *s = opaque;
174 174
    uint32_t r = 0;
......
197 197
    D(printf("%s %x=%x\n", __func__, addr, r));
198 198
}
199 199

  
200
static void gpio_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
200
static void gpio_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
201 201
{
202 202
    struct gpio_state_t *s = opaque;
203 203
    D(printf("%s %x=%x\n", __func__, addr, value));
......
250 250
}
251 251

  
252 252
static
253
void axisdev88_init (a_ram_addr ram_size,
253
void axisdev88_init (ram_addr_t ram_size,
254 254
                     const char *boot_device,
255 255
                     const char *kernel_filename, const char *kernel_cmdline,
256 256
                     const char *initrd_filename, const char *cpu_model)
......
265 265
    int i;
266 266
    int nand_regs;
267 267
    int gpio_regs;
268
    a_ram_addr phys_ram;
269
    a_ram_addr phys_intmem;
268
    ram_addr_t phys_ram;
269
    ram_addr_t phys_intmem;
270 270

  
271 271
    /* init CPUs */
272 272
    if (cpu_model == NULL) {

Also available in: Unified diff