Revision c227f099 hw/tusb6010.c
b/hw/tusb6010.c | ||
---|---|---|
289 | 289 |
extern CPUReadMemoryFunc * const musb_read[]; |
290 | 290 |
extern CPUWriteMemoryFunc * const musb_write[]; |
291 | 291 |
|
292 |
static uint32_t tusb_async_readb(void *opaque, a_target_phys_addr addr)
|
|
292 |
static uint32_t tusb_async_readb(void *opaque, target_phys_addr_t addr)
|
|
293 | 293 |
{ |
294 | 294 |
TUSBState *s = (TUSBState *) opaque; |
295 | 295 |
|
... | ... | |
306 | 306 |
return 0; |
307 | 307 |
} |
308 | 308 |
|
309 |
static uint32_t tusb_async_readh(void *opaque, a_target_phys_addr addr)
|
|
309 |
static uint32_t tusb_async_readh(void *opaque, target_phys_addr_t addr)
|
|
310 | 310 |
{ |
311 | 311 |
TUSBState *s = (TUSBState *) opaque; |
312 | 312 |
|
... | ... | |
323 | 323 |
return 0; |
324 | 324 |
} |
325 | 325 |
|
326 |
static uint32_t tusb_async_readw(void *opaque, a_target_phys_addr addr)
|
|
326 |
static uint32_t tusb_async_readw(void *opaque, target_phys_addr_t addr)
|
|
327 | 327 |
{ |
328 | 328 |
TUSBState *s = (TUSBState *) opaque; |
329 | 329 |
int offset = addr & 0xfff; |
... | ... | |
447 | 447 |
return 0; |
448 | 448 |
} |
449 | 449 |
|
450 |
static void tusb_async_writeb(void *opaque, a_target_phys_addr addr,
|
|
450 |
static void tusb_async_writeb(void *opaque, target_phys_addr_t addr,
|
|
451 | 451 |
uint32_t value) |
452 | 452 |
{ |
453 | 453 |
TUSBState *s = (TUSBState *) opaque; |
... | ... | |
468 | 468 |
} |
469 | 469 |
} |
470 | 470 |
|
471 |
static void tusb_async_writeh(void *opaque, a_target_phys_addr addr,
|
|
471 |
static void tusb_async_writeh(void *opaque, target_phys_addr_t addr,
|
|
472 | 472 |
uint32_t value) |
473 | 473 |
{ |
474 | 474 |
TUSBState *s = (TUSBState *) opaque; |
... | ... | |
489 | 489 |
} |
490 | 490 |
} |
491 | 491 |
|
492 |
static void tusb_async_writew(void *opaque, a_target_phys_addr addr,
|
|
492 |
static void tusb_async_writew(void *opaque, target_phys_addr_t addr,
|
|
493 | 493 |
uint32_t value) |
494 | 494 |
{ |
495 | 495 |
TUSBState *s = (TUSBState *) opaque; |
Also available in: Unified diff