Revision 99a0949b hw/stellaris.c

b/hw/stellaris.c
140 140
    gptm_update_irq(s);
141 141
}
142 142

  
143
static uint32_t gptm_read(void *opaque, target_phys_addr_t offset)
143
static uint32_t gptm_read(void *opaque, a_target_phys_addr offset)
144 144
{
145 145
    gptm_state *s = (gptm_state *)opaque;
146 146

  
......
188 188
    }
189 189
}
190 190

  
191
static void gptm_write(void *opaque, target_phys_addr_t offset, uint32_t value)
191
static void gptm_write(void *opaque, a_target_phys_addr offset, uint32_t value)
192 192
{
193 193
    gptm_state *s = (gptm_state *)opaque;
194 194
    uint32_t oldval;
......
422 422
    0xb11c /* 8.192 Mhz */
423 423
};
424 424

  
425
static uint32_t ssys_read(void *opaque, target_phys_addr_t offset)
425
static uint32_t ssys_read(void *opaque, a_target_phys_addr offset)
426 426
{
427 427
    ssys_state *s = (ssys_state *)opaque;
428 428

  
......
508 508
    system_clock_scale = 5 * (((s->rcc >> 23) & 0xf) + 1);
509 509
}
510 510

  
511
static void ssys_write(void *opaque, target_phys_addr_t offset, uint32_t value)
511
static void ssys_write(void *opaque, a_target_phys_addr offset, uint32_t value)
512 512
{
513 513
    ssys_state *s = (ssys_state *)opaque;
514 514

  
......
701 701
#define STELLARIS_I2C_MCS_IDLE    0x20
702 702
#define STELLARIS_I2C_MCS_BUSBSY  0x40
703 703

  
704
static uint32_t stellaris_i2c_read(void *opaque, target_phys_addr_t offset)
704
static uint32_t stellaris_i2c_read(void *opaque, a_target_phys_addr offset)
705 705
{
706 706
    stellaris_i2c_state *s = (stellaris_i2c_state *)opaque;
707 707

  
......
737 737
    qemu_set_irq(s->irq, level);
738 738
}
739 739

  
740
static void stellaris_i2c_write(void *opaque, target_phys_addr_t offset,
740
static void stellaris_i2c_write(void *opaque, a_target_phys_addr offset,
741 741
                                uint32_t value)
742 742
{
743 743
    stellaris_i2c_state *s = (stellaris_i2c_state *)opaque;
......
1009 1009
    }
1010 1010
}
1011 1011

  
1012
static uint32_t stellaris_adc_read(void *opaque, target_phys_addr_t offset)
1012
static uint32_t stellaris_adc_read(void *opaque, a_target_phys_addr offset)
1013 1013
{
1014 1014
    stellaris_adc_state *s = (stellaris_adc_state *)opaque;
1015 1015

  
......
1056 1056
    }
1057 1057
}
1058 1058

  
1059
static void stellaris_adc_write(void *opaque, target_phys_addr_t offset,
1059
static void stellaris_adc_write(void *opaque, a_target_phys_addr offset,
1060 1060
                                uint32_t value)
1061 1061
{
1062 1062
    stellaris_adc_state *s = (stellaris_adc_state *)opaque;
......
1412 1412
}
1413 1413

  
1414 1414
/* FIXME: Figure out how to generate these from stellaris_boards.  */
1415
static void lm3s811evb_init(ram_addr_t ram_size,
1415
static void lm3s811evb_init(a_ram_addr ram_size,
1416 1416
                     const char *boot_device,
1417 1417
                     const char *kernel_filename, const char *kernel_cmdline,
1418 1418
                     const char *initrd_filename, const char *cpu_model)
......
1420 1420
    stellaris_init(kernel_filename, cpu_model, &stellaris_boards[0]);
1421 1421
}
1422 1422

  
1423
static void lm3s6965evb_init(ram_addr_t ram_size,
1423
static void lm3s6965evb_init(a_ram_addr ram_size,
1424 1424
                     const char *boot_device,
1425 1425
                     const char *kernel_filename, const char *kernel_cmdline,
1426 1426
                     const char *initrd_filename, const char *cpu_model)

Also available in: Unified diff