Revision 99a0949b hw/pxa2xx_pic.c
b/hw/pxa2xx_pic.c | ||
---|---|---|
113 | 113 |
return ichp; |
114 | 114 |
} |
115 | 115 |
|
116 |
static uint32_t pxa2xx_pic_mem_read(void *opaque, target_phys_addr_t offset)
|
|
116 |
static uint32_t pxa2xx_pic_mem_read(void *opaque, a_target_phys_addr offset)
|
|
117 | 117 |
{ |
118 | 118 |
PXA2xxPICState *s = (PXA2xxPICState *) opaque; |
119 | 119 |
|
... | ... | |
152 | 152 |
} |
153 | 153 |
} |
154 | 154 |
|
155 |
static void pxa2xx_pic_mem_write(void *opaque, target_phys_addr_t offset,
|
|
155 |
static void pxa2xx_pic_mem_write(void *opaque, a_target_phys_addr offset,
|
|
156 | 156 |
uint32_t value) |
157 | 157 |
{ |
158 | 158 |
PXA2xxPICState *s = (PXA2xxPICState *) opaque; |
... | ... | |
204 | 204 |
|
205 | 205 |
static uint32_t pxa2xx_pic_cp_read(void *opaque, int op2, int reg, int crm) |
206 | 206 |
{ |
207 |
target_phys_addr_t offset;
|
|
207 |
a_target_phys_addr offset;
|
|
208 | 208 |
|
209 | 209 |
if (pxa2xx_cp_reg_map[reg] == -1) { |
210 | 210 |
printf("%s: Bad register 0x%x\n", __FUNCTION__, reg); |
... | ... | |
218 | 218 |
static void pxa2xx_pic_cp_write(void *opaque, int op2, int reg, int crm, |
219 | 219 |
uint32_t value) |
220 | 220 |
{ |
221 |
target_phys_addr_t offset;
|
|
221 |
a_target_phys_addr offset;
|
|
222 | 222 |
|
223 | 223 |
if (pxa2xx_cp_reg_map[reg] == -1) { |
224 | 224 |
printf("%s: Bad register 0x%x\n", __FUNCTION__, reg); |
... | ... | |
276 | 276 |
return 0; |
277 | 277 |
} |
278 | 278 |
|
279 |
qemu_irq *pxa2xx_pic_init(target_phys_addr_t base, CPUState *env)
|
|
279 |
qemu_irq *pxa2xx_pic_init(a_target_phys_addr base, CPUState *env)
|
|
280 | 280 |
{ |
281 | 281 |
PXA2xxPICState *s; |
282 | 282 |
int iomemtype; |
Also available in: Unified diff