~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to include/hw/pci-host/spapr.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
    uint32_t numa_node;
82
82
 
 
83
    bool pcie_ecs; /* Allow access to PCIe extended config space? */
 
84
 
83
85
    /* Fields for migration compatibility hacks */
84
86
    bool pre_2_8_migration;
85
87
    uint32_t mig_liobn;
106
108
{
107
109
    sPAPRMachineState *spapr = SPAPR_MACHINE(qdev_get_machine());
108
110
 
109
 
    return xics_get_qirq(spapr->xics, phb->lsi_table[pin].irq);
 
111
    return xics_get_qirq(XICS_FABRIC(spapr), phb->lsi_table[pin].irq);
110
112
}
111
113
 
112
114
PCIHostState *spapr_create_phb(sPAPRMachineState *spapr, int index);