diff options
author | Bharata B Rao | 2016-06-10 02:59:01 +0200 |
---|---|---|
committer | David Gibson | 2016-06-17 08:33:48 +0200 |
commit | 3b542549661eb216580e8b7683e13caa3950da45 (patch) | |
tree | 2f4b49c558b2f3073ca49107e20d2edeb03ec308 /include/hw/ppc/spapr.h | |
parent | qom: API to get instance_size of a type (diff) | |
download | qemu-3b542549661eb216580e8b7683e13caa3950da45.tar.gz qemu-3b542549661eb216580e8b7683e13caa3950da45.tar.xz qemu-3b542549661eb216580e8b7683e13caa3950da45.zip |
spapr: Abstract CPU core device and type specific core devices
Add sPAPR specific abastract CPU core device that is based on generic
CPU core device. Use this as base type to create sPAPR CPU specific core
devices.
TODO:
- Add core types for other remaining CPU types
- Handle CPU model alias correctly
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index 3ac85c07d7..f597cc2251 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -582,6 +582,7 @@ void spapr_hotplug_req_add_by_count(sPAPRDRConnectorType drc_type, uint32_t count); void spapr_hotplug_req_remove_by_count(sPAPRDRConnectorType drc_type, uint32_t count); +void spapr_cpu_init(sPAPRMachineState *spapr, PowerPCCPU *cpu, Error **errp); /* rtas-configure-connector state */ struct sPAPRConfigureConnectorState { |