diff options
Diffstat (limited to 'hw/tosa.c')
-rw-r--r-- | hw/tosa.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -45,9 +45,9 @@ #define DAC_CH1 0 #define DAC_CH2 1 -static void tosa_microdrive_attach(struct pxa2xx_state_s *cpu) +static void tosa_microdrive_attach(PXA2xxState *cpu) { - struct pcmcia_card_s *md; + PCMCIACardState *md; int index; BlockDriverState *bs; @@ -83,10 +83,10 @@ static void tosa_out_switch(void *opaque, int line, int level) } -static void tosa_gpio_setup(struct pxa2xx_state_s *cpu, - struct scoop_info_s *scp0, - struct scoop_info_s *scp1, - struct tc6393xb_s *tmio) +static void tosa_gpio_setup(PXA2xxState *cpu, + ScoopInfo *scp0, + ScoopInfo *scp1, + TC6393xbState *tmio) { qemu_irq *outsignals = qemu_allocate_irqs(tosa_out_switch, cpu, 4); /* MMC/SD host */ @@ -178,7 +178,7 @@ static int tosa_dac_recv(i2c_slave *s) return -1; } -static void tosa_tg_init(struct pxa2xx_state_s *cpu) +static void tosa_tg_init(PXA2xxState *cpu) { struct i2c_bus *bus = pxa2xx_i2c_bus(cpu->i2c[0]); struct i2c_slave *dac = i2c_slave_init(bus, 0, sizeof(struct tosa_dac_i2c)); @@ -201,9 +201,9 @@ static void tosa_init(ram_addr_t ram_size, int vga_ram_size, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model) { - struct pxa2xx_state_s *cpu; - struct tc6393xb_s *tmio; - struct scoop_info_s *scp0, *scp1; + PXA2xxState *cpu; + TC6393xbState *tmio; + ScoopInfo *scp0, *scp1; if (!cpu_model) cpu_model = "pxa255"; |