Revision a8170e5e hw/spapr_pci.c

b/hw/spapr_pci.c
258 258
 * This is required for msi_notify()/msix_notify() which
259 259
 * will write at the addresses via spapr_msi_write().
260 260
 */
261
static void spapr_msi_setmsg(PCIDevice *pdev, target_phys_addr_t addr,
261
static void spapr_msi_setmsg(PCIDevice *pdev, hwaddr addr,
262 262
                             bool msix, unsigned req_num)
263 263
{
264 264
    unsigned i;
......
439 439
    qemu_set_irq(spapr_phb_lsi_qirq(phb, irq_num), level);
440 440
}
441 441

  
442
static uint64_t spapr_io_read(void *opaque, target_phys_addr_t addr,
442
static uint64_t spapr_io_read(void *opaque, hwaddr addr,
443 443
                              unsigned size)
444 444
{
445 445
    switch (size) {
......
453 453
    assert(0);
454 454
}
455 455

  
456
static void spapr_io_write(void *opaque, target_phys_addr_t addr,
456
static void spapr_io_write(void *opaque, hwaddr addr,
457 457
                           uint64_t data, unsigned size)
458 458
{
459 459
    switch (size) {
......
483 483
 * data is set to 0.
484 484
 * For MSI, the vector number is encoded in least bits in data.
485 485
 */
486
static void spapr_msi_write(void *opaque, target_phys_addr_t addr,
486
static void spapr_msi_write(void *opaque, hwaddr addr,
487 487
                            uint64_t data, unsigned size)
488 488
{
489 489
    sPAPRPHBState *phb = opaque;

Also available in: Unified diff