summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kurz2019-02-19 18:17:48 +0100
committerDavid Gibson2019-02-25 23:21:25 +0100
commit345b12b99edefced1c103cc35bd3ae1373c9e9d6 (patch)
treeae98c0e9ab71fdcffc7f4b8fa393bab5d6922720 /include
parentspapr: Generate FDT fragment for LMBs at configure connector time (diff)
downloadqemu-345b12b99edefced1c103cc35bd3ae1373c9e9d6.tar.gz
qemu-345b12b99edefced1c103cc35bd3ae1373c9e9d6.tar.xz
qemu-345b12b99edefced1c103cc35bd3ae1373c9e9d6.zip
spapr: Generate FDT fragment for CPUs at configure connector time
Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <155059666839.1466090.3833376527523126752.stgit@bahia.lab.toulouse-stg.fr.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 0ec309da49..5e3c760725 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -766,6 +766,8 @@ int spapr_max_server_number(sPAPRMachineState *spapr);
/* DRC callbacks. */
void spapr_core_release(DeviceState *dev);
+int spapr_core_dt_populate(sPAPRDRConnector *drc, sPAPRMachineState *spapr,
+ void *fdt, int *fdt_start_offset, Error **errp);
void spapr_lmb_release(DeviceState *dev);
int spapr_lmb_dt_populate(sPAPRDRConnector *drc, sPAPRMachineState *spapr,
void *fdt, int *fdt_start_offset, Error **errp);